Live data from Hacker News

The Joy of Nand2Tetris

tristanrhodes.com

41–43 of 43 posts

Re: The Joy of Nand2Tetris

#42
post #13

Earlier quoted context omitted.

Structure and interpretation of computer programs is a better nand2tertis. The issue is that it contains about 10x the information, assumes what an undergrad science student in 1980 would have known, has problems that are entire chapters of nand2tertis and uses scheme. And it's not until the end of the last chapter that you build a stack machine in about 40 pages from memory.

I can't see how SICP is better than Nand2Tetris. To be clear: none of them are better than the other simply because these are two completely different books, both in their approach style how explain things and their contents. You are basically comparing apples to oranges. If you know nothing about computers Nand2Tetris and Code by Charles Petzold are two books that will make you clearly understand how a computer work…

Read chapter 5 of SICP.

Whenever I talk to people who rave about SICP I get the feeling they never made it to chapter 4 and beyond.

> In this chapter we will describe processes in terms of the step-by-step operation of a traditional computer. Such a computer, or register machine, sequentially executes instructions that manipulate the contents of a fixed set of storage elements called registers. A typical register-machine instruction applies a primitive operation to the contents of some registers and assigns the result to another register. Our descriptions of processes executed by register machines will look very much like ``machine-language'' programs for traditional computers.

https://mitp-content-server.mit.edu/books/content/sectbyfn/b...

The transistor level simulation happens in 3.3.4 "A Simulator for Digital Circuits".

Re: The Joy of Nand2Tetris

#43
post #35

I’ve just started the course and am considering paying for the Coursera certification to help keep me on track. Does anybody have insights into using Coursera as opposed to using the freely available resources?

Author here. I just used a free pdf version of the book and the legacy software package which they link to on the website. Great experience. The authors have since created a self-contained web IDE version of the book/course, but if you know the basics of working with a terminal, you'd probably prefer the software package.
Post reply on HN