There's something interesting material in this. Very theoretical and mathy since it re-presents his dissertation. Uses OBJ3.
Name:
!Nj3j3Tf6Ms2015-06-16 19:20
### COMPILING WITH CONTINUATIONS ANDREW W. APPEL 1992
lang: ML like chapters: overview, continuation passing style, semantics of cps, ml optimizations, cps conversion, cps optimization, beta exp, hoisting, cse, closure conversion, register spilling, space complexity, abstract machine, machine codegen, performance evaluation, runtime system, parallel programming, future directions
rating: 9/10 This book covers CPS, it's tradeoffs - how to apply it as an IL and every single part of a CPS based compiler from that point on. Really important stuff for higher order languages. It talks about more advanced optimizations relating to fixed points, closures. Every though it's about high level languages it's not afraid to get very low level when it matters.
Name:
!Nj3j3Tf6Ms2015-06-16 19:25
### Modern Compiler Implementation in ML ANDREW W. APPEL 1998
Very much an undergraduate text, focused on more common things than compiling with continuations does. It does also cover advanced topics in the second half. Great for beginners, get really a solid foundation from this book. Each chapter is part of a walk through implementing a compiler for Tiger.
rating: 8/10
Name:
!Nj3j3Tf6Ms2015-06-16 19:28
### COMPILER TECHNIQUES edited by BARY W. POLLACK 1972
This book is a collection of papers from computing scientists roughly organized into how a regular compilers textbook is written. Unlikely to be of much use except to read for pleasure - picking the papers from it that sound interesting.
Name:
!Nj3j3Tf6Ms2015-06-16 19:35
### Building an Optimizing Compiler Bob Morgan
chapters: overview, compiler structure, graphs, flow graphs, local optimization, alias analysis, SSA, dominator based optimization, advanced analysis, global optimization, limiting resources, sheduling, register allocation, object model
rating: 6/10
very technical and classical. Stuff that you'd expect a compiler expert to talk about.
Name:
!Nj3j3Tf6Ms2015-06-16 19:41
### Crafting a Compiler Charles Fischer, Ron Cytron, Richar LeBlanc 2010
chapters: intro, a simple complier, scanning, grammars and parsing, top down, bottom up, syntax directed translation, symbol tables and decl processing, semantic analysis, IRs, codgen for a vm, runtimes, target codegen, optimization
rating 4/10
They seem to think AGs are not practical: "Coverage of topics that have faded from practical use (e.g., attribute grammars) has been minimized or removed altogether." which is worrying. Looks like a decent undergrad text for starting out though.
Name:
!Nj3j3Tf6Ms2015-06-16 19:48
### A Retargetable C Compiler: Design and Implementation Christopher W. Fraser and David R. Hanson 1995
lang: C, written in C
rating 8/10
This book is a LITERATE PROGRAM. It's the lcc compiler (which was used in things like quake3 modding) an interesting extremely retargetable compiler.
Name:
!Nj3j3Tf6Ms2015-06-16 19:53
### The Anatomy of a Compiler John A. N. Lee 1974
rating: 4/10
Very old-school, dense and meandering. Looks a bit dated (talks about fortran) and hard to get much out of.
Name:
!Nj3j3Tf6Ms2015-06-16 19:58
ASSEMBLERS, COMPILERS, AND PROGRAM TRANSLATION PETER CALINGAERT 1979
rating: 3/10
Starts out talking about two and then one pass assemblers. Lots of really old school stuff that isn't worth thinking about today.
### Modern Compiler Design Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J.H. Jacobs, Koen Langendoen 2012
langs: imperative, functional, logic chapters:
rating: 7/10
This is more modern than most. Covers various interesting things you don't find in 70s texts.
Name:
Anonymous2015-06-16 20:16
Arghh I don't have time to read all of this. My curiosity is painfully piked!
Name:
!Nj3j3Tf6Ms2015-06-16 20:19
### Compiler Design: Analysis and Transformation Helmut Seidl, Reinhard Wilhelm, Sebastian Hack 2012
focus: optimization optimization optimization chapters: Foundations and Intraprocedural Optimization, Interprocedural Optimization, Optimization of Functional Programs
6/10
The book isn't about every aspect of what you need to know to write compilers - it's entirely focused on optimizations and starts to get into static analysis a bit. Advanced text with narrower scope than most.
Name:
!Nj3j3Tf6Ms2015-06-16 20:23
### High-Level Languages and Their Compilers Des Watson 1989
1/10
typical intro compilers textbook book. full of stuff like minor details about the LL approach parsing and lexing, stuff that just doesn't matter. Very little to gain from reading this book.
### AN IMPLEMENTATION GUIDE TO COMPILER WRITING Jean-Paul Tremblay, Paul G. Sorenson 1982
lang: gauss chapters: THE DESIGN AND IMPLEMENTATION OF THE PROGRAMMING LANGUAGE GAUSS, THE IMPLEMENTATION OF A COMPILER FOR GAUSS, THE RUN-TIME ENVIRONMENT
4/10
This is a writeup of a compiler for a toy language. Walks through everything. All the code is in there too. Not very readable but a refreshing idea for a compiler text.
Name:
!Nj3j3Tf6Ms2015-06-16 20:42
### COMPILER CONSTRUCTION William M. Waite, Gerhard Goos
chapters: Properties of Programming Languages, Properties of Real and Abstract Machines, Abstract Program Representation, Elements of Formal Systems, Lexical Analysis, Parsing, Attribute Grammars, Semantic Analysis, Code Generation, Assembly, Error Handling, Optimization, Implementation
6/10
Demonstrates how a compiler is built and talks about the tools involved. Starts with solid theory, lots of algebra and set stuff through out for those who like that. Recasts the boring semantic analysis stuff in terms of attribute grammars to make it a lot more interesting and well structured.
Name:
!Nj3j3Tf6Ms2015-06-16 20:45
### Implementation of Functional Languages, Implementing Functional Languages Simon Peyton Jones
8/10
These books are the stuff behind (old) GHC, compiling Haskell. How to compile pattern matching, lazyness with the STG machine.
Name:
!Nj3j3Tf6Ms2015-06-16 20:48
### Advanced Compiler Design and Implementation Steven Muchnick
7/10
This is an advanced text to turn your undergrad compiler into something that generates much much more efficient realistic code.
Where is `Compilers: Principles, Techniques, and Tools'? You say it's every compiler book in existence, but you didn't review the most popular one of all time?
Name:
Anonymous2015-06-18 16:49
You are missing:
### Compiler Design in C Allen I. Holub
8/10 Practical text that implements a compiler for a subset of the C programming language. An old text (1990) but a good hands-on introduction the topic.
Name:
!Nj3j3Tf6Ms2015-06-18 21:44
### Introduction to Compiler Construction Thomas W. Parsons 1992
5/10
This is a comprehensive undergrad text that gives a solid theoretical background for each of the practical topics it discusses.
Name:
!Nj3j3Tf6Ms2015-06-18 21:48
### Basics of Compiler Design Torben Mogensen 2010
6/10
Another well written, solid undergrad text, the author draws on his experience teaching courses in writing this. Free: http://www.diku.dk/~torbenm/Basics/
Name:
!Nj3j3Tf6Ms2015-06-18 21:55
### The Compiler Design Handbook: Optimizations and Machine Code Generation Y.N. Srikant, Priti Shankar
1/10
A very strange collection of papers with no clear common theme. can not recommend this.
Name:
!Nj3j3Tf6Ms2015-06-18 22:04
### Principles of Compilers: A New Approach to Compilers Including the Algebraic Method Yunlin Su, Song Y. Yan 2011
8/10
This is a thorough textbook that includes modern insights. Nicely mathematical content. Lots of thought provoking sections and discussions.
Name:
!Nj3j3Tf6Ms2015-06-18 22:11
>>23 looks nice and it's by a hacker who knows what he's talking about, maybe you could write a short review.
>>25 you have to be kidding, that book is a joke. people who rec it are either trolling or haven't read it.
Name:
Anonymous2015-06-18 22:46
OP made this thread so he can seem edgy for intentinoally not reviewing the most famous compiler book.
>>41 but you're still a little boy stuck in a world of symbolism
Name:
Anonymous2015-06-21 14:36
>>41 let's face it though, those 'two' philosophers were just little bitches like yourself
Name:
Anonymous2015-06-21 14:36
no offence lol
Name:
Anonymous2015-06-21 14:36
I'm sure you'll grow out of it
Name:
Anonymous2015-06-21 14:39
we all play stupid games. some become possessed by the games, some don't.
Name:
Anonymous2015-06-21 14:43
I would've loved to have seen your face when you first realised you had a penis you could play with, do you remember it, >>41 ?
it's when we draw lines and start conforming to shitty rules and rituals, that we become possessed. but I don't need to play with myself, don't need to make posts on here that fit a certain criteria, and I can do things you consider impossible just through my imagination
Name:
Anonymous2015-06-21 14:46
the funny thing is, for me this board goes when I do, and something new replaces it. how many of you will grab that power for yourself?
Name:
Anonymous2015-06-21 14:46
grip-grab that shit
Name:
Anonymous2015-06-21 14:49
my posts attack threads like fungi attacks wood. varying degrees of saturation. not 'single-post I'm-so-insignificant droplets'
Name:
Anonymous2015-06-21 14:54
now, on the topic of programming. think of an anti-fungal feature, to deliver threads without my posts. how would you do it? I can think of a few ways but they involve killing posts that you might consider 'good' (all posts are like fungi though, just some people don't think that way)
try relating that to anti-fungal creams and shit, how many do the task perfectly without doing damage to things that are not targetted by the mind of the user?
Name:
Anonymous2015-06-21 15:53
*curls tail* *turns sideways* *stands up hair* rrraaaaowwwwww raaaaaaoowwwwww!!! RRRAAAAAAOOOOOOOOWWWW!
Name:
Anonymous2015-06-21 16:27
>>33-40,42-54 Is that you, Luke? Lay down that joint.
Name:
Anonymous2015-06-27 1:47
could anyone recommend specific compiler books?
ones about a very special topic, not general course textbooks. I think these would be more valuable