Using C++ Modules with confidence



Kursarrangør: Programutvikling AS
Sted: Magazinet Kongsberg
          Buskerud, Kongsberg
Kursadresse: Chr. Augusts gate 1, 3611 Kongsberg (kart)
Type:Åpent kurs / gruppeundervisning
Studie / yrkesutdanning
Undervisningstid: kl 09:00 - 17:00
Varighet: 2 days
Pris: 13.490

We provide course about Using C++ Modules with confidence. In traditional C++, the highest-level means of program composition are functions, either as free functions or class members, and aggregates like classes, structs, or unions.

Content:
There exists no higher-order grouping of those into e.g. libraries or program components at the C++ language level. This deficiency is made up by solutions outside of the language such as splitting out sections of code into separate files and designating them the library interface. This may lead to underspecified, context-dependent, or accidental interfaces because there is no concept of protection of non-interface entities that should not be available to other parts of a program.

In addition to that, the so-called source inclusion model and independent compilation of separate pieces of code are potentially inefficient, brittle, and error-prone. Sometimes, people aren't aware of these problems and compilers can't help to avoid them because of the fundamental limitations of the way we are used to build programs.

With the advent of modules in C++20, there is now an answer to all those problems within the language itself. Despite modules reusing existing concepts that have existed since the inception of C++, their application at this level is new and probably unfamiliar. This might hinder programmers from taking advantage of the benefits that C++ modules bring. The goal of the course is to instill confidence in the adoption of modules.

The course will:
• Introduce you to the motivation for the addition of modules to the language
• Explore the shortcomings of libraries and library interface design in the traditional world, and how to overcome them and improve.
• Teach the foundational concepts of modules
• Give the full picture of all the options available to you to compose modular libraries
• Teach how to write modules from scratch
• Give guidelines on how to use existing libraries as modules
• Explore the potential pitfalls and how to avoid them
• Show the performance benefits of modules
• Look at the current state of the development ecosystem with regard to modules
• And give you the opportunity to ask me anything about C++

About a 3rd of the time is spent on interactive material presentations, the bigger part is individual hands-on coding on your computer where you:
• Create clean sheet modules
• Do library to module conversions
• Analyze a concrete code example

In the end, you:
• Can create simple and composed modules
• Can use modules in applications
• Identify and handle problems related to modules

Speaker: Daniela Engert, Senior Software Engineer

Daniela has a degree in electrical engineering and has been working for more than 30 years in small innovative companies in the field of software and hardware development. She has spent her youth with exploring the very first microprocessors since the late 70's, and has been creating software professionally for 40 years now. After a long time using many different programming languages, C++ has now been the exclusive workhorse throughout the last two decades.

With great pleasure Daniela is now also a member of the ISO C++ committee. For the better part of her career, the domain was applied digital signal processing (medicine, metrology, reconnaissance), but during the last decade the focus shifted onto special engineering in the field of industrial non-destructive testing of semi-finished and finished steel products using ultrasound. Besides that, she loves to relax with hard metal and soft cheese, hot curries and cool jazz.

Target audience:
Anyone who wants course about Using C++ Modules with confidence

Vis flere tilsvarende kurs: