2024 Update: C++ Modules - C++ Developers Get Started Today! - Andreas Weis - ACCU 2024

preview_player
Показать описание
---

2024 Update: C++ Modules - C++ Developers Get Started Today! - Andreas Weis - ACCU 2024
---

Modules have been one of the most highly anticipated features of C++20. Unfortunately, it was also the language feature that took the longest to become widely available for developers to use. This year for the first time we see broad support for the feature in all major compilers and mainstream build system support through CMake. The goal of this talk is to provide you with all the basic knowledge to allow you getting started with C++20 modules today.

We will take a look at how modules change the build process and why it took so long to implement them. We will take a tour of the essentials of the named modules mechanism and explore the new best practices for physical code structure in a modules-based code base, including how to set up a build with CMake. And last but not least, we will discuss different options for interacting with existing header-based code.

The talk will focus above all else on practicality: We will only be covering features that are widely available for use today with the latest compilers and build tools. We will give special attention to the areas where the design practices for modules differ from the familiar header-based approach and address common misconceptions and pitfalls that are typical among developers first encountering the feature. No prior knowledge of modules is required.

Sponsored By think-cell
---

Andreas Weis

Andreas Weis has been writing C++ code in many different domains, from real-time graphics, to distributed applications, to embedded systems. His current focus is on writing software for safety-critical systems, in particular in the context of automotive software. He is an active member of the ISO C++ committee and the MISRA C++ working group. Andreas is also one of the co-organizers of the Munich C++ User Group.

He currently works for Woven Planet as a software architect for embedded automotive software.
---

The ACCU Conference is the annual conference of the ACCU membership, but is open to any and all who wish to attend. The tagline for the ACCU is 'Professionalism in Programming', which captures the whole spectrum of programming languages, tools, techniques and processes involved in advancing our craft. While there remains a core of C and C++ - with many members participating in respective ISO standards bodies - the conference, like the organisation, embraces other language ecosystems and you should expect to see sessions on C#, D, F#, Go, Javascript, Haskell, Java, Kotlin, Lisp, Python, Ruby, Rust, Swift and more.The ACCU Conference is a conference by programmers for programmers about programming.
Discounted rates for members.
---

#accuconf #cppprogramming #cplusplus #cpp #programming
Рекомендации по теме
Комментарии
Автор

Great talk. I should visit your group in munich :)

jotrockenmitlocken
Автор

They work well in MSVC... if you disable intellisense. Seperate library projects connect together as easily as C#/.NET assemblies as well, a huge benefit.

michelians
Автор

Why don't they make header units isolated? Would make things simpler and more performant

lxx