How does a compiler work?

Veröffentlicht am: 25 März 2023
auf dem Kanal: Nathan Baggs
25,560
1k

In this video we'll take a look at how compilers work and the process they take to turn code into something a computer can execute

0:00 Intro
1:04 Stage 1
1:42 Stage 2
2:22 Stage 3
2:40 Stage 4

Links
========================================================
Lexer output:
clang++ -fsyntax-only -Xclang -dump-tokens code.cpp
https://godbolt.org/z/zTTrYs189

Parser output:
clang++ -fsyntax-only -Xclang -ast-dump code.cpp
https://godbolt.org/z/Td71dcKzP

Code gen output:
clang++- -S -masm=intel code.cpp && cat code.s
https://godbolt.org/z/acrsGqxKM

💭 All views are my own 💭

Kit
========================================================
🎥- DJI Pocket 2 Creator Combo - https://amzn.to/3kxQeZh
🎙️- Blue Yeti - https://amzn.to/3EE1Wsm
💡- Govee Floor Lamp - https://amzn.to/3ZisN4Y
⌨️- Corsair K70 RGB MK.2 - https://amzn.to/3EDIonM

Books
========================================================
📖 - Effective Modern C++ - https://amzn.to/3EDIonM
📖 - A Tour of C++ - https://amzn.to/41pI1qH
📖 - C++ Templates: The Complete Guide - https://amzn.to/3Zmi0ql

Music
========================================================
Get Summer's Shadow by Max Brodie and over 1M + mainstream tracks here https://go.lickd.co/Music

License ID: ab7ZXzLZ4lX


Auf dieser Seite können Sie das Online-Video How does a compiler work? mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Nathan Baggs 25 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 25,560 Mal angesehen und es wurde von 1 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!