Re:Bootstrap yourself to write an OS from scratch
by twtw on Wednesday February 28, 2018 @04:22AM
(#16481787)
I haven't done the course, but I'm fairly sure that XOR isn't a universal gate, so you probably don't start out with "nothing more than an xor gate." Based on the name, I would guess you start out with only NAND, which is a universal gate.
Re:Bootstrap yourself to write an OS from scratch
by indigochill on Thursday March 01, 2018 @07:04AM
(#16491330)
Sorry, obviously yes, it starts with NAND. No idea where I got XOR from.
Re:Bootstrap yourself to write an OS from scratch
by Shikadi on Thursday March 01, 2018 @11:09AM
(#16493124)
I did nand2tetris something like 7 years ago, it was a pretty fun introduction to digital logic. I remember hitting a point where I couldn't continue after designing the ALU due to either a paywall, something missing, or the Java software being broken. Not sure if it's been fixed, but I'm guessing running in an older JVM would have probably worked.
Re:Bootstrap yourself to write an OS from scratch
by indigochill on Thursday March 01, 2018 @07:21PM
(#16497689)
I did it last year through Coursera (it's what pushed me to apply for my current master's program) and got the certificate, so I was able to complete everything. I don't remember there being any special measures taken on my end to get it to work. Dunno what the issue was, if something was fixed in the intervening time, or what.
That uses a very simple educational architecture designed for ease of learning, though. If you prefer a good introductory resource for real-world operating systems, I just finished Georgia Tech's Intro to OS graduate course[1] and found it very accessible as well, and now feel reasonably comfortable with the theory when reading about OS topics elsewhere.
[0] http://www.nand2tetris.org/
[1] https://www.udacity.com/course/introduction-to-operating-sys...