27–31 Aug 2024
FAIR - Facility for Antiproton and Ion Research in Europe GmbH
Europe/Berlin timezone

DevTutorial 2: Modern C++ and Advanced Techniques

27 Aug 2024, 16:15
45m
Main Lecturing Hall (FAIR - Facility for Antiproton and Ion Research in Europe GmbH)

Main Lecturing Hall

FAIR - Facility for Antiproton and Ion Research in Europe GmbH

GSI Helmholtzzentrum für Schwerionenforschung GmbH FAIR - Facility for Antiproton and Ion Research in Europe GmbH Planckstraße 1 64291 Darmstadt
Dev Tutorials Developers

Speaker

Alexander Krimm (GSI Helmholtz Centre for Heavy Ion Research)

Description

In this tutorial, we will explore modern C++ features that can be utilized to develop your own blocks and contribute to the GNU Radio 4 project. Specifically, we will focus on std::ranges and std::algorithm, demonstrating their practical applications in everyday tasks. We will highlight the benefits of these modern techniques compared to traditional C++ styles.

A key aspect of the tutorial will be benchmarking. We will also emphasize the importance of avoiding premature optimization.

We will develop several blocks using modern C++ techniques, showcasing the advantages such as cleaner code and improved performance. Additionally, we will compare processOne and processBulk, discussing when to use each approach.

At the end of the tutorial, we will guide you through the process of contributing to the project, covering our workflow, code review procedures, and Continuous Integration (CI) pipeline.

Primary author

Alexander Krimm (GSI Helmholtz Centre for Heavy Ion Research)

Presentation materials