Writing a C Compiler (No Starch Press)
Monday, 16 September 2024

This book takes the reader step-by-step through the process of building a compiler for a significant subset of C, no prior experience with compiler construction or assembly code needed. Nora Sandler starts by building a working compiler for the simplest C program, then adds new features chapter by chapter. The algorithms in the book are all in pseudocode, so you can implement your compiler in whatever language you like.

<ASIN:1718500424>

Author: Nora Sandler
Publisher: No Starch
Date: August 2024
Pages: 792
ISBN: 978-1718500426
Print: 1718500424
Kindle: B09WJY1MH7
Audience: Systems programmers
Level: Intermediate/Advanced
Category: Software Architecture

Topics include:

  • Lexing and parsing: Learn how to write a lexer and recursive descent parser that transform C code into an abstract syntax tree.
  • Program analysis: Discover how to analyze a program to understand its behavior and detect errors.
  • Code generation: Learn how to translate C language constructs like arithmetic operations, function calls, and control-flow statements into x64 assembly code.
  • Optimization techniques: Improve performance with methods like constant folding, dead store elimination, and register allocation.

 

For more Book Watch just click.

Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

 

 

Banner


Functional Programming in C#, 2nd Ed (Manning)

Author: Enrico Buonanno
Publisher: Manning
Date: February 2022
Pages: 448
ISBN: 978-1617299827
Print: 1617299820
Kindle: B09P1Z2PPB
Audience: C# developers
Rating: 5
Reviewer: Mike James
Is C# a good language for functional programming?



Computer Architecture (No Starch Press)

Author: Charles Fox
Publisher: No Starch Press
Date: May 2024
Pages: 560
ISBN: 978-1718502864
Print: 1718502869
Kindle: B0BZH1LB1F
Audience: General
Rating: 4
Reviewer: Harry Fairhead
No, not architecture via a computer - the architecture OF computers.


More Reviews