# How a real-world C++ compiler works

- Institution: CERN
- Department: Inverted CSC
- Speaker: Martin Cejp
- Year: 2023
- Language: English
- Subjects: Computer science
- Source: [CERN](https://videos.cern.ch/record/3000335)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Tweens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

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

0:17:19 Slide 11

0:19:56 Slide 12

0:21:52 Slide 13

0:24:05 Slide 14

0:26:14 Slide 15

0:27:14 Slide 16

0:30:31 Slide 17

0:32:15 Slide 18

0:33:53 Slide 19

0:35:41 Slide 20

0:40:20 Slide 21

0:43:11 Slide 22

0:45:43 Slide 23

0:49:27 Slide 24

## Lectures

1. [How a real-world C++ compiler works](https://invisiblenetwork.ai/learn/cern/3000335/2cc6eb00a718), 58 min (CERN's player)
