Modern Compiler Implementation in ML by Andrew Appel
Ask HN: What are some books where the reader learns by building one project?
21–30 of 232 posts
I second this. Build a compiler from scratch. Main annoyance is that it uses SML - most readers are likely to want to use OCaml, and it's a bit fiddly translating between the two.
Re: Ask HN: What are some books where the reader learns by building one project?
#22Code by Charles Petzold takes this approach to explaining how a computer works. By the end he has a working system with CPU, RAM, inputs, and outputs.
Re: Ask HN: What are some books where the reader learns by building one project?
#23A Retargetable C Compiler: Design and Implementation
https://www.amazon.com/Retargetable-Compiler-Design-Implemen...
A most excellent grimoire.
Re: Ask HN: What are some books where the reader learns by building one project?
#24https://github.com/thewhitetulip/web-dev-golang-anti-textboo... You can learn how to build a todo list manager in Go. This book is about building a webapp from scratch without using a framework.
Using a UI or ncurses?
The book is about building web apps with just Go and no frameworks on top of it.
Re: Ask HN: What are some books where the reader learns by building one project?
#25Eloquent Javascript - http://eloquentjavascript.net/
You build 5 projects through the book - a programming language, paint program, a dom game and a skill sharing website using node js.
Re: Ask HN: What are some books where the reader learns by building one project?
#26Automate the boring stuff - Al Sweigart.
This book teaches you python through a series of example projects. You can get it online or order a physical copy and help support the author here:
Re: Ask HN: What are some books where the reader learns by building one project?
#27http://www.nand2tetris.org/
This looks awesome. Might be a fun way to help my kids learn CS once they're old enough.
Re: Ask HN: What are some books where the reader learns by building one project?
#28Discover Meteor is like this, involves building a reddit clone type thing called Microscope(a reduced version of an actual product Telescope).
Re: Ask HN: What are some books where the reader learns by building one project?
#29Anything by Manning that ends with "In Action". I volunteer to be a technical reviewer if there is a new technology I want to learn (and get a free physical book!)
Re: Ask HN: What are some books where the reader learns by building one project?
#30I dunno why, but I was kind of hoping there would be non-CS answers for this too, like how to woodwork, or like tying flies.