
A retargetable C compiler
Christopher W. Fraser · 1995
Programming and computer science › Compilers and interpreters
#2,470 most recommended
Hacker News
23
mentions by 16 people · top 14% of 15,732 books
Open Library
3.00★★★★★★★★★★
1 rating · 3 want to read
Wikipedia
—
No article yet
About the book
The design and implementation of lcc, a production-quality ANSI C compiler built at AT&T Bell Laboratories and Princeton and written by Christopher Fraser and David Hanson. It is presented as a literate program, with the text interleaved with the complete source code for the compiler, its back ends for the MIPS R3000, SPARC and Intel 386, and the code-generator generator. Compiler theory appears only where the implementation needs it. Building a real compiler forces practical tradeoffs, such as how to separate the front end from the target machine, how to design compact interfaces between phases, and how to balance compilation speed against code quality, and these are more instructive than the simplified designs of toy compilers. Retargetability comes from a small set of well-defined machine-description and code-generation interfaces rather than special cases for each target. The authors also hold that seeing how C's declarations, types and expressions are handled inside a compiler gives programmers a deeper understanding of the language.
Written by Claude from what it knows of this book.
What Hacker News says 56% recommend · 6% critical
In the commenters’ own words
Here are my recommendations. Each is a placeholder for a complete discussion :) Psychology of Programming ========================= 1. "Psychology of Computer…
* David Hanson: C Interfaces and Implementations * David Hanson: A Retargetable C Compiler * John Lakos: Large-Scale C++ Software Design * VA: Beautiful…
What Open Library readers say 3.00 from 1 rating
- 50
- 40
- 31
- 20
- 10
- 3 want to read
- 0 reading
- 1 have read
Only 1 rating: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 1995
- ISBN
- 9780805316704
- Editions known
- 2 at Open Library
- Open Library
- OL3492370W
C (Computer program language)Compilers (Computer programs)
Read next: its neighbours on the mosaic
Compiler design in CAllen I. Holub · 1990 · recommended by 11 people · named together in 3 comments
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · 3 people recommended both
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · named together in 3 comments
Modern Compiler DesignDavid Galles · 2004 · recommended by 1 person · similar by subject and what people say about it
The annotated C++ reference manualMargaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
Language Implementation PatternsTerence Parr · 2009 · recommended by 18 people · similar by subject and what people say about it
Large-scale C++ software designJohn Lakos · 1996 · recommended by 24 people · 2 people recommended both
Modern compiler designDick Grune · 2000 · recommended by 12 people · similar by subject and what people say about it
Large-Scale C++ Volume IIJohn Lakos · 2019 · recommended by 1 person · similar by subject and what people say about it
Lisp in Small PiecesChristian Queinnec · 1996 · recommended by 101 people · 3 people recommended both
Advanced compiler design and implementationSteven S. Muchnick · 1997 · recommended by 13 people · similar by subject and what people say about it
Design concepts in programming languagesFranklyn A. Turbak · 2008 · recommended by 7 people · similar by subject and what people say about it
Modern compiler implementation in CAndrew W. Appel · 2004 · recommended by 8 people · similar by subject and what people say about it
Building parallel, embedded, and real-time applications with AdaJohn W. McCormick · 2011 · recommended by 3 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 3 people recommended both
Beautiful C++John Davidson · 2021 · recommended by 1 person · loosely similar by subject
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · similar by subject and what people say about it
The art of PrologLeon Sterling · 1986 · recommended by 36 people · 3 people recommended both
Writing Interpreters and Compilers for the Raspberry Pi Using PythonAnthony Dos Reis · 2018 · recommended by 3 people · similar by subject and what people say about it
OpenGL shading languageRandi J. Rost · 2006 · recommended by 1 person · loosely similar by subject
Compiling with ContinuationsAndrew W. Appel · 1992 · recommended by 19 people · similar by subject and what people say about it
Engineering a compilerKeith D. Cooper · 2004 · recommended by 39 people · similar by subject and what people say about it
The Standard C LibraryP. J. Plauger · 1991 · recommended by 17 people · similar by subject and what people say about it
Compiler constructionNiklaus Wirth · 1996 · recommended by 30 people · similar by subject and what people say about it