Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Pricing
Podcast Image

CyberSecurity Summary

Writing a C Compiler: Build a Real Programming Language from Scratch

24 May 2025

Description

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_summaryGet 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_tlDiscover our free courses in tech and cybersecurity, Start learning today:https://linktr.ee/cybercode_academy

Audio
Featured in this Episode

No persons identified in this episode.

Transcription

This episode hasn't been transcribed yet

Help us prioritize this episode for transcription by upvoting it.

0 upvotes
🗳️ Sign in to Upvote

Popular episodes get transcribed faster

Comments

There are no comments yet.

Please log in to write the first comment.