Modern C++ Software Design (Advanced)

This advanced C++ course provides both advanced C++ programming techniques and software design insight to help developers to create professional, high-quality code. The course provides deeper insight into C++ templates (type traits, SFINAE, C++20 concepts and forwarding references) and advice on how to create safer and cleaner function and class interfaces. Additionally, it provides an introduction to software design. For that purpose, it demonstrates the gravity of bad dependency management and shows how to properly reduce dependencies by means of design patterns.

Since 2020 we provide two types of C++ courses, each offered two times per year, once in English, once in German:

  • intermediate: March 11-14, 2025 (English) and July 1-4, 2025 (German)
  • advanced: May 13-16, 2025 (English) and November 25-28, 2025 (German)

with two different levels of prerequisites.

Veranstaltungsort

This hybrid event will take place online and at
HLRS, University of Stuttgart
Nobelstraße 19
70569 Stuttgart, Germany
Room 0.439 / Rühle Saal
Location and nearby accommodations

Veranstaltungsbeginn

13. Mai 2025
08:30

Verstaltungsende

16. Mai 2025
16:30

Sprache

Englisch

Einstiegslevel

Fortgeschritten

Themenbereiche

Programmiersprachen für wissenschaftliches Rechnen

Themen

C/C++

Zurück zur Liste

Prerequisites and content levels

Prerequisites and Language Hints Advanced C++

Course participants should have at least two to three years of experience with the language. This includes a solid knowledge of the syntax of C++, experience with the standard library (std::vector, std::list, std::unique_ptr, …), hands-on experience with both template-based and inheritance-based designs and some experience with design patterns.

Participants can bring their own laptops, but HLRS will also provide machines with an up-to-date C++ environment. The programming tasks, including both Makefiles and CMake files, will be distributed before the course.

If you will participate remotely, you should have access to an C++20 programming environment.

For similar courses, please have a look at the 3- or 4-day advanced C++ courses at LRZ , the 4 day course at VSC in Vienna or directly on Klaus Iglberger's course page.

Content levels
  • Basic: 3 hours
  • Intermediate: 9:30 hours
  • Advanced: 13 hours

Learn more about course curricula and content levels.

Instructors

Klaus Iglberger (External trainer)

Learning outcomes

After this course, participants will:

  • have a solid understanding of API design
  • be able to create their own strong types to improve type safety
  • understand advanced template techniques, such as type traits, SFINAE and C++20 concepts
  • have a detailed understanding of the SOLID principles
  • have a deeper understanding of several design patterns (both in their classic and modern forms)
  • know when to apply object-oriented programming, generic programming and functional programming
  • understand the virtue of clean code

Agenda

All times are local times in the central European time zone (Berlin).

Local registration/drop in to zoom (8:30 - 9:00)

1st day course schedule (9:00 - 17:30)

  • API Design Guidelines
    • Function Parameters and Return Types
    • Constructor Design
    • constexpr
  • Strong Types for type safety

2nd day schedule (9:00 - 17:30)

  • Advanced Templates
    • Type Traits
    • SFINAE
    • C++20 concepts
    • Forwarding References

3rd day schedule (9:00 - 17:30)

  • The Basic Design Principles
    • Defining a Goal
    • The SOLID Principles
  • C++ Software Design
    • Software Design and Design Patterns
    • The Visitor Design Pattern (classic and modern)
    • The Strategy Design Pattern (classic and modern)

4th day schedule (9:00 - 16:30)

  • C++ Software Design
    • The External Polymorphism Design Pattern
    • Type Erasure
    • The Bridge Design Pattern
  • Value Semantics vs. Reference Semantics

Lunch break will usually be between 12.30-13.45.

Handouts

Each participant will get a copy of all slides (PDF).

HLRS concept for on-site courses

Besides the content of the training itself, an important aspect of this event is the scientific exchange among the participants. We try to facilitate such communication by

  • a social event on the evening of the first course day,
  • offering common coffee and lunch breaks and
  • working together in groups of two during the exercises.

Registration-information

Register via the button at the top of this page.
We encourage you to register to the waiting list if the course is full. Places might become available.

This course will be hybrid, i.e. it will take place at HLRS on-site but it will also be possible to attend online. Participants, online as well as on-site, have to be aware and agree that they might appear in the live video stream taken by a camera in the back of the lecture room or by a webcam on laptops. The live stream will not be saved. We strongly recommend to attend this course on-site since on-site attendance is much more effective and efficient in our experience. Therefore we might give priority to on-site over online participants during registration.

Registration closes on April 27, 2025.

Fees

  • Students without master’s degree or equivalent: 40 Euro
  • PhD students or employees at a German university: 115 Euro
  • PhD students or employees at a university in an EU, EU-associated or PRACE country other than Germany: 180 Euro
  • PhD students or employees at a university outside of EU, EU-associated or PRACE countries: 360 Euro
  • Participants from public research institutes, public service providers or government: 600 Euro
  • Other participants, e.g., from industry: 960 Euro

 

Link to the EU and EU-associated (Horizon Europe), and PRACE countries.

Our course fees include coffee breaks (in classroom courses only).

 

Contact

Tobias Haas phone 0711 685 87223, tobias.haas(at)hlrs.de

HLRS Training Collaborations in HPC

HLRS is part of the Gauss Centre for Supercomputing (GCS), together with JSC in Jülich and LRZ in Garching near Munich. EuroCC@GCS is the German National Competence Centre (NCC) for High-Performance Computing. HLRS is also a member of the Baden-Württemberg initiative bwHPC.

This course is provided within the framework of the bwHPC training program.

Further courses

See the training overview and the Supercomputing Academy pages.

Ähnliche Trainingskurse

Alle Trainingskurse

März 11 - 14, 2025

Hybrid Event - Stuttgart, Germany


Juli 01 - 04, 2025

Hybrid Event - Stuttgart, Germany


November 25 - 28, 2025

Hybrid Event - Stuttgart, Germany