Re:Build a Modern Computer from First Principles: From Nand ...
by rkachowski on Monday December 19, 2016 @05:38AM
(#13210622)
Sadly it looks like the course stops at week 6 after the assembler has been implemented. The next steps in the book are to implement the VM, compiler and develop programs in the high level language you've implemented.
I started the book back in August and got as far as implementing the lexical analysis in the compiler, I was kinda hoping this course would give the the push to finish everything.
Re:Build a Modern Computer from First Principles: From Nand ...
by jwhitlark on Monday December 19, 2016 @02:13AM
(#13209964)
If you are self taught, you owe it to yourself to take this course. It's the best tie together class I've ever seen, and made a world of difference to me.
Note that this is one the first half of the coursework, I'm still waiting for the second part.
Seriously, if you're self taught, and have been writing code for a while, this and a great compiler course will take you to a new level.
Re:Build a Modern Computer from First Principles: From Nand ...
by ellius on Monday December 19, 2016 @10:26AM
(#13211945)
I'm self-taught. This was the first book that actually answered my question "but how does it work?". I'd been getting incomplete and misguided answers for years when I finally stumbled across this book in an HN thread, and I was finally able to put the full picture together.
Re:Build a Modern Computer from First Principles: From Nand ...
by throwaway2016a on Monday December 19, 2016 @10:07AM
(#13211801)
I had avery similar course to this in college. We build a 4-bit machine (with a very limited instruction set) from scratch (well from basic logic gates and RAM). For the final project grade the professor ran a test program through it and saw if the output matched what was expected.
We actually physically built it on a breadboard.
It was fun and I learned a lot. Hopefully this is a similar experience for those who take it.
Re:Build a Modern Computer from First Principles: From Nand ...
by guiambros on Monday December 19, 2016 @01:07AM
(#13209759)
I finished it a couple of months ago. It uses the exact same structure and software as described in the book (HACK language, etc).
The included hands-on projects made it more fun and interesting. Basically you'll build a simple computer from the ground up, starting with flip-flops and going all the up up to ALU, memory and CPU.
The grader works well, so you can submit your code and it'll grade you in realtime. You can finish it in less than a month, if you have experience with electronics and Boolean logic.
Re:Build a Modern Computer from First Principles: From Nand ...
by Patrick_Devine on Monday December 19, 2016 @03:31AM
(#13210240)
I've gone through the book and got as far as building the computer, writing the assembler and running some programs on it. Does the course go beyond this? I haven't built the virtual machine or written the compiler, but it looked like from the description of the course, they didn't do that either.
Re:Build a Modern Computer from First Principles: From Nand ...
by dan1234 on Monday December 19, 2016 @07:36AM
(#13211004)
According to the Nand2Tetris site[0], this is just part 1 and only covers chapters 1-6. Part 2 will cover chapters 7-12 but looks to be still in development.
I started the book back in August and got as far as implementing the lexical analysis in the compiler, I was kinda hoping this course would give the the push to finish everything.
Note that this is one the first half of the coursework, I'm still waiting for the second part.
Seriously, if you're self taught, and have been writing code for a while, this and a great compiler course will take you to a new level.
I think I probably did it here. Or at least used this page as reference.
http://www.nand2tetris.org/course.php
We actually physically built it on a breadboard.
It was fun and I learned a lot. Hopefully this is a similar experience for those who take it.
Recommend!
[0] http://nand2tetris.org/
[1] https://www.amazon.com/Elements-Computing-Systems-Building-P...
The included hands-on projects made it more fun and interesting. Basically you'll build a simple computer from the ground up, starting with flip-flops and going all the up up to ALU, memory and CPU.
The grader works well, so you can submit your code and it'll grade you in realtime. You can finish it in less than a month, if you have experience with electronics and Boolean logic.
[0]http://nand2tetris.org/
> Project 1 due December 25th