
artsMay 24, 202521:38pending
Writing a C Compiler: Build a Real Programming Language from Scratch
About this episode
It walk the reader through the stages of compilation, beginning with basic steps like lexical analysis and parsing using techniques like recursive descent and precedence climbing. The sources introduce key concepts like Abstract Syntax Trees (ASTs) and intermediate representations such as Three-Address Code (TACKY), explaining how they facilitate the conversion of C code to assembly. Subsequent chapters discuss implementing various C language features like unary and binary operators, including arithmetic, logical, and relational operations, detailing how these are translated into x64 assembly instructions, the use of registers, and the management of the stack with concepts like stack frames. The explanations also cover relevant assembly instructions, flag registers like RFLAGS, conditional operations, and the handling of potential issues like integer overflow.
You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary
Get the Book now from Amazon:
https://www.amazon.com/Writing-Compiler-Programming-Language-Scratch/dp/1718500424?&linkCode=ll1&tag=cvthunderx-20&linkId=5274b0b811e5d58a844bf8ac6c5a7436&language=en_US&ref_=as_li_ss_tl
Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy
You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary
Get the Book now from Amazon:
https://www.amazon.com/Writing-Compiler-Programming-Language-Scratch/dp/1718500424?&linkCode=ll1&tag=cvthunderx-20&linkId=5274b0b811e5d58a844bf8ac6c5a7436&language=en_US&ref_=as_li_ss_tl
Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy
Get every episode summarized
Each time CyberSecurity Summary publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from CyberSecurity Summary

Building Telegram Bots: Develop Bots in 12 Programming Languages using the Teleg...
CyberSecurity Summary
Apr 14, 202619:01failed

What You Need to Know about Docker: The absolute essentials you need to get Dock...
CyberSecurity Summary
Apr 13, 202624:01failed

Build Your Own Website: A Comic Guide to HTML, CSS, and WordPress
CyberSecurity Summary
Apr 12, 202620:02failed

Azure DevOps Explained: Get started with Azure DevOps and develop your DevOps pr...
CyberSecurity Summary
Apr 11, 202620:53failed