from Hacker News

Building a Modern Computer from First Principles

by josh-wrale on 8/22/16, 1:00 AM with 26 comments

  • by seibelj on 8/22/16, 2:52 AM

    I recommend the associated book[0] to everyone who asks me about programming book recommendations. The book arrives, and you are shocked at how small it is, just a few hundred pages. If you follow all of the exercises, you get an understanding of how logic works inside of processors (logic gates, adders, etc.), how machine code drives them, how assembly maps to machine code, how a basic virtual machine language (like the JVM) can compile to assembly, then how a higher level language is designed and compiled to the VM.

    After doing all of this, you make Tetris in the high level language. It's a badass book, super well-written, and what I consider an essential text.

    [0] https://www.amazon.com/Elements-Computing-Systems-Building-P...

  • by jpochtar on 8/22/16, 5:55 AM

    I can't recommend this book enough. I read it around 9th grade and I've never looked at computers the same. It gives the reader confidence in understanding how these magical machines work from top to bottom. I am seriously emphatic about this book whenever friends ask about how computers work in the slightest. I'm so glad to see it frontpaging HN because of what this book taught me; I hope others will see it here and find it as great as I did
  • by Osiris30 on 8/22/16, 8:59 AM

    Previous discussion from a few years back: https://news.ycombinator.com/item?id=5888705
  • by amelius on 8/22/16, 7:16 AM

    Does this course include semiconductor physics?
  • by josh-wrale on 8/22/16, 3:35 AM

    BTW: Just saw this was a duplicate by clicking 'past'. I had searched by URL and turned up 0 results. Next time, I'll try to remember to search by page name.
  • by secoif on 8/22/16, 11:29 AM

    Did this as a course on Coursera with a group of friends. Highly recommended.
  • by brainary on 8/22/16, 8:36 AM

    It's a nice book, and you learn alot. Quite fun too.

    Just ignore the religious stuff.

  • by smnplk on 8/22/16, 9:21 AM

    thank you, thank you , thank youuuuuuuuu!!!!!