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

EPISODE · May 24, 2025 · 21 MIN

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

from CyberSecurity Summary · host CyberSecurity Summary

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

Episode metadata supplied by the publisher feed · Published May 24, 2025

Embed this episode

NOW PLAYING

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

0:00 21:38

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of CyberSecurity Summary?

This episode is 21 minutes long.

When was this CyberSecurity Summary episode published?

This episode was published on May 24, 2025.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this CyberSecurity Summary episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!