Author Topic: Nand2Tetris - build your own CPU - available on Coursera starting 4/11  (Read 4500 times)

0 Members and 1 Guest are viewing this topic.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
I am about to start self-study of the Nand2Tetris course. It's a course that starts with the teaching of NAND gates and culminates in building a full, software-simulated CPU. Students create everything along the way, e.g., memory chips, ALU, compiler, etc etc. All the way to a working machine that can run Tetris.

It seems like a really great thing. I wish it had been offered at my university.

Short video:
Long video (worth it if you want to know more):
Homepage: http://www.nand2tetris.org/
Textbook: http://www.amazon.com/dp/0262640686/

Have any of you guys done this course? How did you like it?
« Last Edit: Tue, 07 April 2015, 17:13:09 by intelli78 »
Please consider carefully before you decide to comment, for Jesus.

Offline riotonthebay

  • Cherry Peasant
  • * Destiny Supporter
  • Posts: 2048
  • Location: Raleigh, NC
  • keycult.com
Re: Nand2Tetris - epic CS 101 course
« Reply #1 on: Wed, 27 August 2014, 21:50:03 »
I know of a number of people who have done it, and they've all given positive reviews. If your goal is to understand how computers work, it's a very neat way to do so.

Offline Smasher816

  • HHKB Master
  • Posts: 538
  • Location: return STATE_MISSOURI;
Re: Nand2Tetris - epic CS 101 course
« Reply #2 on: Wed, 27 August 2014, 23:27:13 »
That seems.... AWESOME!

Edit: Do you need to buy the book or can you just look here? http://www.nand2tetris.org/course.php. It seems like the programs used and source code is also available.
« Last Edit: Wed, 27 August 2014, 23:47:25 by Smasher816 »

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Re: Nand2Tetris - epic CS 101 course
« Reply #3 on: Thu, 28 August 2014, 02:28:35 »
That seems.... AWESOME!

Edit: Do you need to buy the book or can you just look here? http://www.nand2tetris.org/course.php. It seems like the programs used and source code is also available.

You have to buy the book if you want the readings for Ch. 7-13.
Please consider carefully before you decide to comment, for Jesus.

Offline Smasher816

  • HHKB Master
  • Posts: 538
  • Location: return STATE_MISSOURI;
Re: Nand2Tetris - epic CS 101 course
« Reply #4 on: Thu, 28 August 2014, 04:15:03 »
That seems.... AWESOME!

Edit: Do you need to buy the book or can you just look here? http://www.nand2tetris.org/course.php. It seems like the programs used and source code is also available.

You have to buy the book if you want the readings for Ch. 7-13.

Ahhh. So there is a catch.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Re: Nand2Tetris - epic CS 101 course
« Reply #5 on: Thu, 28 August 2014, 04:58:00 »
The book is like $29, I think it's pretty fair :p
Please consider carefully before you decide to comment, for Jesus.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Re: Nand2Tetris - epic CS 101 course
« Reply #6 on: Mon, 08 September 2014, 13:14:35 »
So I'm on ch.4 now. So far, I've already built all the basic logic gates out of Nand, plus multiplexers and demultiplexers, an ALU, RAM chips of all sizes, etc. It's really a lovely book and software package.

Also, I would strongly recommend Code by Charles Petzold as a prereq to starting this course.
Please consider carefully before you decide to comment, for Jesus.

Offline demik

  • Pronounced "demique"
  • Posts: 11159
Re: Nand2Tetris - epic CS 101 course
« Reply #7 on: Mon, 08 September 2014, 13:49:31 »
Thought this was a counterstrike tutorial
No, he’s not around. How that sound to ya? Jot it down.

Offline exitfire401

  • * Global Moderator
  • Posts: 2969
  • Location: United States
  • The Force is Re/\l
Re: Nand2Tetris - epic CS 101 course
« Reply #8 on: Mon, 08 September 2014, 13:51:39 »
The book is like $29, I think it's pretty fair :p

I torrented the book when I took it and purchased it about halfway through. Ended up liking it as a resource quite a bit.
Boards: Kingsaver Complicated Blue Alps |Sprit 60% Transparent MX Clears in Gateron housings with 62g gold Sprit springs lubed and RGB color shifting LEDs | Ducky Shine Zone MX Black with Blue LEDs | Realforce 10AE Variable Silenced

B/S/T thread: https://geekhack.org/index.php?topic=55351.0

Past projects: KBT Race 2 L.E.
Past Boards: Ducky Shine 2 | KBT Pure | LZ Aluminum Skin| HHKB | Realforce 23u |

Offline Smasher816

  • HHKB Master
  • Posts: 538
  • Location: return STATE_MISSOURI;
Re: Nand2Tetris - epic CS 101 course
« Reply #9 on: Mon, 08 September 2014, 14:24:36 »
The book is like $29, I think it's pretty fair :p

No, I agree. I was just curious how the payment model worked.

So I'm on ch.4 now. So far, I've already built all the basic logic gates out of Nand, plus multiplexers and demultiplexers, an ALU, RAM chips of all sizes, etc.

For added fun make a nand gate in minecraft and chain them together. Build it up to an ALU + some RAM, and you got yourself an in game calculator. Might be an interesting way to help visualize everything and understand what is going on inside today's processors. Sadly I don't think you could extend it to the second half of the book because there is no GUI way to fill out a program (maybe with some mods).

« Last Edit: Mon, 08 September 2014, 14:29:00 by Smasher816 »

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Re: Nand2Tetris - epic CS 101 course
« Reply #10 on: Fri, 03 April 2015, 05:00:54 »
Bumping this because the first half is running on Coursera this month: https://www.coursera.org/course/nand2tetris1

I can't recommend this highly enough for anyone who wants to understand how computers work. Amazing course.
Please consider carefully before you decide to comment, for Jesus.

Offline nathanrosspowell

  • * Destiny Supporter
  • Posts: 1559
  • Location: Montreal, QC
    • nathanrosspowell.com
Re: Nand2Tetris - epic CS 101 course
« Reply #11 on: Fri, 03 April 2015, 05:49:12 »
Thanks for the bump, never seen this before. I'm a programmer by trade so I have a good understanding of computers already but the building aspect seems very appealing!

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Re: Nand2Tetris - epic CS 101 course
« Reply #12 on: Fri, 03 April 2015, 06:22:07 »
Thanks for the bump, never seen this before. I'm a programmer by trade so I have a good understanding of computers already but the building aspect seems very appealing!

That's good, not sure that most programmers do  :p
Please consider carefully before you decide to comment, for Jesus.

Offline nathanrosspowell

  • * Destiny Supporter
  • Posts: 1559
  • Location: Montreal, QC
    • nathanrosspowell.com
Re: Nand2Tetris - epic CS 101 course
« Reply #13 on: Fri, 03 April 2015, 07:32:52 »
Thanks for the bump, never seen this before. I'm a programmer by trade so I have a good understanding of computers already but the building aspect seems very appealing!

That's good, not sure that most programmers do  :p

Most programmers don't even understand programming  ;)


Offline tbc

  • Posts: 2365
Re: Nand2Tetris - epic CS 101 course
« Reply #14 on: Fri, 03 April 2015, 17:43:04 »
Thanks for the bump, never seen this before. I'm a programmer by trade so I have a good understanding of computers already but the building aspect seems very appealing!

That's good, not sure that most programmers do  :p

Most programmers don't even understand programming  ;)

weird isn't it?

most programmers can't even use windows properly.

EDIT:

I already studied this stuff pretty thoroughly before.  if you're into how CPUs work, Anandtech is the best online resource bar none

« Last Edit: Fri, 03 April 2015, 17:56:45 by tbc »
ALL zombros wanted:  dead or undead or dead-dead.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Bumping this because it's that great.
Please consider carefully before you decide to comment, for Jesus.

Offline noisyturtle

  • * Exalted Elder
  • Posts: 6497
  • comfortably numb
This is like one of those technical conversations at work when a programmer is talking to me about implementing/fixing something and I just keep nodding my head in agreement saying things like "Yeah, that should work." and "Sounds like a plan, let me know if you need anything." and then I walk away not having a goddamn clue what they were talking about.

Offline belac

  • Posts: 62
Bumping this because it's that great.
thanks for the bump. i signed up for it and very interested to see how it goes.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Nice!

I'll repeat another earlier recommendation: if you're really new to all this stuff, read Charles Petzold's Code prior/during. It covers most of the same concepts but with a much gentler learning curve. Still, you can do Nand2Tetris from scratch without it, just a lot faster paced if you're starting from 0.
Please consider carefully before you decide to comment, for Jesus.

Offline belac

  • Posts: 62
The first time you made that recommendation is what originally piqued my interest in the course. I've read Petzold's Code a couple of times and love the style and the book.

Offline noisyturtle

  • * Exalted Elder
  • Posts: 6497
  • comfortably numb
I'll repeat another earlier recommendation: if you're really new to all this stuff, read Charles Petzold's Code prior/during. It covers most of the same concepts but with a much gentler learning curve. Still, you can do Nand2Tetris from scratch without it, just a lot faster paced if you're starting from 0.

The sad part is that CODE was required reading for my CS 121 class and we actually went over everything that that guy talked about, but like most things in college I retained about 10% of what I learned in that class. The only thing I really remember is how to make a PCB with an ink jet printer.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
The first time you made that recommendation is what originally piqued my interest in the course. I've read Petzold's Code a couple of times and love the style and the book.

In that case, you'll do fine w/ Nand2Tetris & will love it. It's so awesome to be able to read the simulator output and actually understand how what all the 1s and 0s are doing, and know you made it happen.

I'll repeat another earlier recommendation: if you're really new to all this stuff, read Charles Petzold's Code prior/during. It covers most of the same concepts but with a much gentler learning curve. Still, you can do Nand2Tetris from scratch without it, just a lot faster paced if you're starting from 0.

The sad part is that CODE was required reading for my CS 121 class and we actually went over everything that that guy talked about, but like most things in college I retained about 10% of what I learned in that class. The only thing I really remember is how to make a PCB with an ink jet printer.

Lolz!
Please consider carefully before you decide to comment, for Jesus.

Offline intelli78

  • Thread Starter
  • Posts: 1503
  • Location: Seattle
Re: Nand2Tetris - epic CS 101 course - available on Coursera starting 4/11
« Reply #22 on: Tue, 07 April 2015, 17:12:38 »
Anybody else signed up?
Please consider carefully before you decide to comment, for Jesus.

Offline trizkut

  • * Global Moderator
  • Posts: 1207
  • Location: MA
Re: Nand2Tetris - build your own CPU - available on Coursera starting 4/11
« Reply #23 on: Tue, 07 April 2015, 18:09:11 »
I signed up.  I should have enough free time to do this  ;D


Offline byker

  • Literally Canada
  • ** Moderator Emeritus
  • Posts: 3136
  • Location: Gone fishin
Re: Nand2Tetris - build your own CPU - available on Coursera starting 4/11
« Reply #24 on: Tue, 07 April 2015, 18:40:44 »
In the middle of exams right now, but might look at this during the summer if I have more time! :)