Search  for anything...

The Elements of Computing Systems, second edition: Building a Modern Computer from First Principles

  • Based on 235 reviews
Condition: New
Checking for the best price...
$41.75 Why this price?
New Year Deal · 30% off was $60.00

Buy Now, Pay Later


As low as $10 / mo
  • – 4-month term
  • – No impact on credit
  • – Instant approval decision
  • – Secure and straightforward checkout

Ready to go? Add this product to your cart and select a plan during checkout.

Payment plans are offered through our trusted finance partners Klarna, Affirm, Afterpay, Apple Pay, and PayTomorrow. No-credit-needed leasing options through Acima may also be available at checkout.

Learn more about financing & leasing here.

Free shipping on this product

This item is eligible for return within 30 days of receipt

To qualify for a full refund, items must be returned in their original, unused condition. If an item is returned in a used, damaged, or materially different state, you may be granted a partial refund.

To initiate a return, please visit our Returns Center.

View our full returns policy here.


Availability: Only 4 left in stock, order soon!
Fulfilled by Amazon

Arrives Wednesday, Feb 11
Order within 7 hours and 58 minutes
Available payment plans shown during checkout

Protection Plan Protect Your Purchase
Checking for protection plans...

Description

A new and extensively revised edition of a popular textbook used in universities, coding boot camps, hacker clubs, and online courses. The best way to understand how computers work is to build one from scratch, and this textbook leads learners through twelve chapters and projects that gradually build the hardware platform and software hierarchy for a simple but powerful computer system. In the process, learners gain hands-on knowledge of hardware, architecture, operating systems, programming languages, compilers, data structures and algorithms, and software engineering. Using this constructive approach, the book introduces readers to a significant body of computer science knowledge and synthesizes key theoretical and applied techniques into one constructive framework.The outcome is known known as Nand to Tetris: a journey that starts with the most elementary logic gate, called Nand, and ends, twelve projects later, with a general-purpose computer system capable of running Tetris and any other program that comes to your mind. The first edition of this popular textbook inspired Nand to Tetris classes in many universities, coding boot camps, hacker clubs, and online course platforms. This second edition has been extensively revised. It has been restructured into two distinct parts—Part I, hardware, and Part II, software—with six projects in each part. All chapters and projects have been rewritten, with an emphasis on separating abstraction from implementation, and many new sections, figures, and examples have been added. Substantial new appendixes offer focused presentation on technical and theoretical topics. Read more

Publisher ‏ : ‎ The MIT Press


Publication date ‏ : ‎ June 15, 2021


Edition ‏ : ‎ 2nd


Language ‏ : ‎ English


Print length ‏ : ‎ 344 pages


ISBN-10 ‏ : ‎ 0262539802


ISBN-13 ‏ : ‎ 07


Item Weight ‏ : ‎ 1.81 pounds


Dimensions ‏ : ‎ 7.95 x 0.88 x 9 inches


Best Sellers Rank: #74,801 in Books (See Top 100 in Books) #8 in Software Design & Engineering #13 in Personal Computer Books #41 in Software Development (Books)


Frequently asked questions

If you place your order now, the estimated arrival date for this product is: Wednesday, Feb 11

Yes, absolutely! You may return this product for a full refund within 30 days of receiving it.

To initiate a return, please visit our Returns Center.

View our full returns policy here.

  • Klarna Financing
  • Affirm Pay in 4
  • Affirm Financing
  • Afterpay Financing
  • PayTomorrow Financing
  • Financing through Apple Pay
Leasing options through Acima may also be available during checkout.

Learn more about financing & leasing here.

Top Amazon Reviews


  • Excellent for both the newbie and the seasoned practitioner
This is a marvelous book for anyone starting a study of computers. Or just starting a job in computers. Or even well down the path if you feel you don't have a full grasp of the underpinnings of your profession. Yeah, I'm looking at you, Software Developer, who only knows software. I've worked with many a folk with excellent software engineering skills who never even thought about what's under the hood. This book is for you too! And what an ambitious book it is! Starting with Boolean logic it builds a hardware platform that mirrors what you'll see in real life. You could probably cast that design in silicon and add a few peripherals and have a real live computer. Then it moves onto an introduction to programming and what goes into building assemblers and compilers. Kudos to the author for building a virtual machine to run that stuff on! Then it moves into building a basic operating system, with just the kinds of things you'd expect in a real, albeit simple, OS. When I say "it builds" I should say "you build". The whole point of the book (and the course available both free online and in many universities) is to have you get your hands dirty. *You* will create the logic circuits. You will test them. You will write the assembler and compiler. You will write the OS. Man, I would have loved this course way back when I was in school. Also kudos to the authors for skipping over all the bugs and problems. They assume, for example, no syntax errors in your code. Realistic? No way! But seeing that they provide you with error free tests that's a plus and not a negative. Why mess up clear and concise descriptions with the Real World, eh? There's plenty of that down the road! There are of course some nits to pick. Some axes to grind. But, to paraphrase Dr. Frank-N-Furter from the Rocky Horror Picture Show, they didn't build this book for me. I've been noodling around with real computers since 1970 or so. I've studied this stuff for both fun and practicality. For me this was a great nostalgic trip down memory lane. It brought to mind all the classes I took, all the books I read, all the computers I've built, all the operating systems I've hacked, all the programming languages and techniques I've acquired over the years. And even so I found it a great read. (caveat: I did not do any of the coursework. For me it was not necessary and I have plenty of other projects to work on) So, yeah, get the book. Find the course. Do all the work. Unless you're an old hand like me (and I don't know many old hands quite like me) this book will enrich your journey thru all things computing. ... show more
Reviewed in the United States on May 13, 2025 by Tim O'Connor

  • Fundamentals Of Computing Systems
This is a brilliant book. This clears a lot of the mysteries of computing systems in a very approachable way. In many ways this is a pedagogical gem and there aren't that many of them out there, believe me. What it purports to do and it does very well: - It traverses the entire stack (HW --> SW) of a minimal and yet completely functioning modern computing system and clarifies the role of each and every component of such a system. These are the same components that you'll see in the kind of industrial-strength computers that we use on a daily basis. The difference is, of course, in the level of complexity of these components. For instance, in this book you will write a minimal operating system, however, this operating system is not going to be even remotely comparable to let's say an operating system like Linux. Be that as it may, the principles that you'll learn while creating this simple operating system are the same as those upon which Linux or for that matter any operating system has been built. - There is a nice balance between theory and practice. You will not find any fluff in this book. The language is very terse, sentences are well-chosen and yet everything has been explained very clearly. The amount of theory is nicely proportional to how difficult the projects are. You will not see too much theory and then some toy projects or conversely, not enough explanation followed by impossible tasks. You are given sufficient theoretical background to carry out sufficiently ambitious projects. What this book does not claim to do and, well, it doesn't: - You will NOT create an actual physical computer by reading this book. I should clarify that, this does not mean that you can't, it simply means that this is not the principal intention of the authors. After finishing this book, you have all the knowledge you need to implement your minimal computer in actual hardware. There is no guide in the book to teach you that, but after finishing this book such a task should be relatively trivial. If that's your intention, then I'll recommend supplementing this book with another book that teaches you how to do digital design using FPGAs and one of the two major HDLs (Hardware Description Language); VHDL or Verilog. Here are some options: https://www.amazon.com/Digital-Design-Using-Digilent-Boards/dp/0982497091/ https://www.amazon.com/Digital-Electronics-Practical-Approach-VHDL/dp/0132543036 And this is a very decent FPGA board you can purchase for your project: https://www.amazon.com/Digilent-Basys-Artix-7-Trainer-Board/dp/B00NUE1WOG/ And if all you care about is actually building a very simple physical computer using breadboards instead of FPGAs then you can read this classic: https://www.amazon.com/Digital-Computer-Electronics-Jerald-Malvino/dp/0074622358/ - You will NOT be able to understand all the internals of a complex piece of hardware, like an Intel CPU, simply by reading this or any book, regardless of how complete and complex the book is. One thing you have to bear in mind that there is a lot of optimization that goes into for example an Intel or AMD CPU. The major source of complexity and monetary value of such CPUs is mostly these optimization technologies. The basic principles are the virtually the same, what makes an Intel CPU unquestionably superior to the CPU that you'll create in this book is the mind-boggling amount of optimization technologies that goes into an Intel CPU. You will not see any mention of deep pipelines, branch prediction, superscalar processors, out-of-order processors, register renaming, multi-threading, instruction-level parallelism or anything advanced here, so you should not expect to understand them after reading this book. Things to look forward to: There are certain decisions that have been made by the authors that as the reader I believe you should be aware of beforehand, since all of us come to this book with different expectations and you might be discouraged if you become aware of these decisions half-way through the book. The book is heavily influenced by Java and its specific implementation. What does that even mean you might say? Well Java is an (almost) purely object-oriented language that famously has a two-tier compilation process. Let's explain these two things: - Java is an (almost) purely object-oriented language: If you have done any programming with any of the so-called object oriented programming languages then you should know that object-oriented programming (OOP) is a major programming paradigm based on the concepts of "objects" and "classes", these "objects" can contain data and code: data in the form of fields, and code, in the form of procedures/functions/sub-routines. Certain languages have support for OOP, but also for other programming paradigms as well (like functional programming) and there are also those languages that are said to be "purely" OOP and that means you can't escape OOP even if you'd try. And Java is such a language. The language created and used in the second part of the book is called "Jack" which is in fact based on Java. - Java has a a two-tier compilation process: All programming languages need to be translated to machine code otherwise computers can't understand them. This process of translation is called compilation or interpretation depending on the type of programming language (compiled vs. interpreted). Among compiled programming languages we also have those languages that are directly translated/compiled to the machine code (like the C programming language) and those (like Java) that are indirectly translated to the machine language, by first being translated to an intermediary language that is supposed be understood by a so-called virtual machine (not the actual physical machine) and then that intermediary code (called bytecode) becomes translated to the actual machine language of the system. Why bother doing it that way? Many good reasons, believe me. The good thing about this is that the implementation of the virtual machine in this book is the so-called "Stack Machine" implementation, so by reading this book you will get to understand the infamous "Stack" and that will come in handy later on when you want to learn other programming languages. The last thing to know about this book is that the concept of an "operating system" occasionally bleeds into other similar concepts like the concept of a "standard library", so in a way the operating system in this book is a very minimal operating system, a very very minimal one. You should never forget that this is 200+ page book and also it's a book that is supposed to teach about the fundamentals (AKA basics) of computing systems, so you should not expect to walk out of this with your own gaming machine or something. The computer you'll built in this course is basically a proof of concept that the principles taught in the book do indeed culminate in a working computing system, as has been promised. Prerequisites: Technically there are no prerequisites for this book, however, quite a few of the projects described in the book "recommend" (read require) the student to know some higher-order programing language with support for object-oriented programming like Java, Python and so on. Although, you will still be able to complete these projects by writing some sort of pseudo-code on a piece of paper or some other alternative ways, in reality you will not get the same level of satisfaction and I would argue the same level of understanding from those projects unless you know how to implement them in an actual programming language, so I would say that for at least a few of the chapters a working programming knowledge is a prerequisite. ... show more
Reviewed in the United States on July 16, 2021 by Utnapishtim

Can't find a product?

Find it on Amazon first, then paste the link below.
Checking for best price...