Mar 6 – 9, 2023
Europe/Zurich timezone

How a real-world C++ compiler works

Mar 7, 2023, 3:45 PM
31/3-004 - IT Amphitheatre (CERN)

31/3-004 - IT Amphitheatre


Show room on map
Lecture Performance tuning and accelerated computing


Martin Cejp (CERN)


The C++ language is widely used for state-of-the-art physics analysis code. Source code must be compiled before it can be executed, which involves a number of steps. Although compiler theory is taught in most undergraduate CS courses, real-world compilers carry an aura of mysterious, highly complex software products.

This lecture aims to uncover some of those secrets by feeding snippets of C++ code to a compiler, illustrating the different processing steps and dissecting the internal representations, from source to a final binary.

Primary author

Martin Cejp (CERN)

Presentation materials