Cargando…

How a real-world C++ compiler works

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

Descripción completa

Detalles Bibliográficos
Autor principal: Cejp, Martin
Lenguaje:eng
Publicado: 2023
Materias:
Acceso en línea:http://cds.cern.ch/record/2852026
Descripción
Sumario:<!--HTML-->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.