Learn · CERN

Talk58 min

How a real-world C++ compiler works

Martin Cejp · CERN

Watch At CERN

About

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..

0:00:00 Slide 1

0:02:08 Slide 2

0:03:19 Slide 3

0:04:35 Slide 4

0:06:40 Slide 5

0:08:52 Slide 6

0:10:38 Slide 7

0:12:38 Slide 8

0:13:51 Slide 9

0:14:53 Slide 10

The talk

  1. How a real-world C++ compiler works 2023-03-07 · 58 min · CERN's player

Credits and licence

Institution
CERN
Department
Inverted CSC
Speaker
Martin Cejp
Year
2023
Language
English
Subjects
Computer science
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed