Code: The Hidden Language of Computer Hardware and Software

(39 customer reviews)

Original price was: $64,99.Current price is: $20,00.

  • 100% Satisfaction Guaranteed!
  • Immediate Digital Delivery
  • Download Risk-Free

✔️ File: PDF 34,52 MB • Pages: 645

The classic guide to how computers work, updated with new chapters and interactive graphics

“For me, Code was a revelation. It was the first book about programming that spoke to me. It started with a story, and it built up, layer by layer, analogy by analogy, until I understood not just the Code, but the System. Code is a book that is as much about Systems Thinking and abstractions as it is about code and programming. Code teaches us how many unseen layers there are between the computer systems that we as users look at every day and the magical silicon rocks that we infused with lightning and taught to think.”

– Scott Hanselman, Partner Program Director, Microsoft, and host of Hanselminutes

Computers are everywhere, most obviously in our laptops and smartphones, but also our cars, televisions, microwave ovens, alarm clocks, robot vacuum cleaners, and other smart appliances. Have you ever wondered what goes on inside these devices to make our lives easier but occasionally more infuriating?

For more than 20 years, readers have delighted in Charles Petzold’s illuminating story of the secret inner life of computers, and now he has revised it for this new age of computing. Cleverly illustrated and easy to understand, this is the book that cracks the mystery. You’ll discover what flashlights, black cats, seesaws, and the ride of Paul Revere can teach you about computing, and how human ingenuity and our compulsion to communicate have shaped every electronic device we use.

This new expanded edition explores more deeply the bit-by-bit and gate-by-gate construction of the heart of every smart device, the central processing unit that combines the simplest of basic operations to perform the most complex of feats. Petzold’s companion website, CodeHiddenLanguage.com, uses animated graphics of key circuits in the book to make computers even easier to comprehend.

In addition to substantially revised and updated content, new chapters include:

  • Chapter 18: Let’s Build a Clock!
  • Chapter 21: The Arithmetic Logic Unit
  • Chapter 22: Registers and Busses
  • Chapter 23: CPU Control Signals
  • Chapter 24: Jumps, Loops, and Calls
  • Chapter 28: The World Brain

From the simple ticking of clocks to the worldwide hum of the internet, Code reveals the essence of the digital revolution.

39 reviews for Code: The Hidden Language of Computer Hardware and Software

  1. PhillyMusicLover

    I originally read and fell in love with the 1st edition of this book 15 years ago… it gives you a very deep knowledge of what’s going on in your computer, but makes it understandable and accessible.

    This edition improves and adds to areas that were left out (or now need updating for the web and JavaScript).

    The really amazing surprised is the accompanying website to the book that allows you to interact with the concepts (circuits and design) in a web browser… so you can switch things on and off and see how they respond in the computer.

    Highly recommend for anyone really trying to understand at the lowest level of how a computer works.

  2. CAM

    Over the last twenty years I’ve purchased many copies of this book for family, friends, and students. It’s by far the best text to read for those who wish to understand what makes computers “tick” on a fundamental level. It’s the perfect book to read before taking any college level operating systems course, assembly, or computer organization/architecture courses.

  3. anushmr

    This book teaches things we may never paid attention to. It’s captivating and educating. You don’t need to be a programmer to read this book. It’s just explains why things can be called code and how things work.

  4. daniel armesto

    No concesions are made to make the material easier the easy way, by avoiding detail or difficulties. Still, the description of the most inner workings of a computer is presented to us step by step in a very illuminating way, which make it very clear even for the layperson and even an interesting read. The pictures, both in the book and the interactive ones in the accompanying webpage, are very clear and helpful.

    A book to read if you want to understand how a computer really works at its deepest level.

  5. Christopher Jiogno

    This is very informative. It makes understanding a computer’s communication with its self a lot easier

  6. Yura

    As an ardent reader of the past 1st edition, I was fairly excited to get the latest version. That is, until I encountered the history chapter of the new edition.

    For one thing, what I do NOT understand in this second edition is the newly added description of August Ada Byron (countless of Lovelace). The author claims it was Babbage who was the first programmer to design the engines, not Ada. I am not trying to start a futile argument here about who has more or fewer contributions, etc.

    What I am trying to assert here is that it is undisputed that Ada (unless the new evidence arises) left *the very first demonstration* of what this seemingly imaginary machine, which didn’t even physically exist, was capable of through her program. Because Babbage designed the engine itself, that doesn’t automatically put him in the position of a programmer (despite Babbage being a brilliant engineer/scientist and may have had a simple or detailed program in his mind). However, it was Ada who gave a definite touch to programming concepts that ultimately led to modern-day programming. Ada deserves more recognition than a mere “tutorial writer,” and she is certainly entitled to the title she deserves.

    Other than that, like the previous edition, this book is a must-read for people who are from related/unrelated fields. I always loved the 1st edition, and I would do too with the 2nd. Still, I think history should always be approached with more care, particularly if matters have potential controversies.

  7. J Harikumar

    I never read the first edition of Code, but this seems to be an improvement. I’m only 100 pages in, but it is quite readable and I like the author’s pace – though there’s alot of material that’s covered, the pace is relaxed and the reader usually won’t feel overwhelmed. A minor flaw that I’ve noticed is that the physics underlying some of the engineering wasn’t explained in detail, and that would’ve helped with regards to be being able to understand the circuits. On the whole, this book seems to be great, and I’d highly recommend it to programmers trying to understand the software-hardware interface.

  8. Michael Donoghue

    Disclaimer: I owned the first edition for years and read it a dozen times, mainly for pleasure since it’s not only informative but also just enjoyable to read. I’m a professional software architect and have dozens of textbooks on computer science and engineering so I’ve been around the block.

    This is the kind of book I would buy all for all my friends (if I had more than a couple) and family members (if they were even slightly into computers, which they aren’t sadly). Petzold does an exceptional job at describing digital logic and guides you through building a conceptual CPU from very first principles.

    I think his bottom up approach is the way to go and has helped me understand complex topics in an extremely simple way. When I’m not reading fiction, this is my go to bedtime reading.

    The second edition has about 100 more pages than the first and some content has been completely reworked and it’s great.

    If you ever had even a passing interest in knowing how computers work at a very fundamental level, get this book!

  9. Arismar Sousa

    Excelente livro. Indicado para programadores de computador.

  10. Susan G. Williamson

    A gift for my grandson. Thanks.

  11. Bob

    Great book for understanding the concepts of what is code and how it runs on our computers. It’s a great read, not too technical but nails home the concepts. Start to finish you will learn how to build a computer in your mind!

  12. Victor Izquierdo

    Encontré este libro como una forma de reforzar mis conocimientos básicos de la arquitectura de las computadoras pues provengo de un Bootcamp y quería algo para profundizar en estos temas. El autor usa muchas analogías para aclarar el los temas.

  13. Trina D

    This was a gift for my son and he liked it 🙂

  14. Jonathan Clark Richards

    Not sure what else to add here as the title says it all. Buy it if you have even the slightest interest in how computers work.

    Some downsides is that the copy I got has creases in the cover and bent pages. I’m also not a fan of the cover color. But none of that makes this book any less awesome. I can just buy another one and gift this one.

  15. Hayley

    A great read! Whether you are a computer scientist or just a curious person, this book does an outstanding job of building from the simplest of codes – a child using a flashlight on the window to communicate with their friend across the street – to the complexities of modern computers, this book reads like an approachable anthology of the use and development of code, and how it has impacted our life and the evolution of computing.

  16. saurabh pandey

    It is a great book to understand the computer technology. it builds the story from the basics of materials science, electronics, physics, maths and takes you on the journey of the past to present.
    It is a must read for anyone who is curious about how this machine came into existence.

  17. a

    Love this book however the reason for my rating is the build quality of the book is terrible.

    Thin translucent plastic-like pages with multiple creases and print issues throughout. As a result the print is also shiny.

    I returned the first one as these issues were so bad it was illegible, but there are still issues with the replacement.

    For a book of this price, you would expect much better build quallity overall.

  18. Steve Furches

    Excellent!

  19. jose ortiz

    Llego muy bien el libro, excelente, nuevo. Gracias!

  20. Jeff B. Erwin

    I really wish this book had existed in 1978. I was in the second graduating class in EECS, a hybrid of Electrical Engineering and Computer Science at Berkeley. We had to learn digital design AND all the programming requirements. Basically, this book covers about 75% of the curriculum we covered over 2.5 years. This book could have been the textbook for a few classes, saving me untold time and agony.

    Amazing book, makes a very complex subject clear and understandable. However, it’s not for the faint of heart. If you don’t have a deep desire to know how computers work at the most basic level, this probably isn’t for you.

  21. HA Hacky

    I understand why this book, now in its second edition, is considered a classic. I was trained as an electrical engineer but haven’t practiced as one for many decades. Wanted a refresher and this book reminded me how brilliant the pioneers of computer science were. if you are willing to put your brian own work and read carefully and follow the online “tutorials” you will come away with a deep understanding of the fundamentals of digital circuits.

  22. John

    I loved the first edition, but this is even better. I love the online examples, which make it much easier to visualize (especially flip-flops).

  23. Akshaya M

    Great book, just felt the topics were little rushed after 12th chapter… but the explanation for the topics discussed was excellent.

  24. lapis

    Code: The Hidden Language of Computer Hardware and Software ist auch in deutscher Sprache erhältlich. Ab der gymnasialen Oberstufe oder sehr interessierten Schülern (Mittelschule) ist das Buch in Englisch zu empfehlen, da die verwendete Grammatik im Vergleich zu englischer Literatur einfach zu verstehen ist.
    Die technischen Begriffe lernt man in der englischen Version gleich mit, was zu einer enormen Erleichterung beim Erlernen einer Programmiersprache führt !!!!!!!!!!
    Meine Empfehlung wäre dieses Buch in den Schulunterricht verpflichtend aufzunehmen (ein Apell an Elternbeiräte), oder als begleitende Pflichtlektüre (ein Apell an Lehrer) verpflichtend vorzugeben.

  25. Saba

    This book is excellent for anyone interested in understanding what goes on behind the scenes. The best aspect of this book is its gradual build-up of knowledge; there’s no unexplored territory left once you’ve finished it. After reading this book, nothing will seem like magic to you.

  26. Mohamed Khamis

    good book for computer science , But not good backing when charging the cover came with a little damage

  27. Davor

    Excellent information. Towards the end, does get difficult.

  28. Markus

    Rather a good night’s read than a handbook but really profound and well structured.

  29. A T

    This is a great book very well explained from basic concepts to a more advanced level.

  30. David

    Good concise write up on how hardware and software interact inside an Intel 8080 cpu.

  31. Eduardo Hiroshi Nakamura

    Excelente

  32. Dk

    Really good for beginners for simple understanding and implementations. Explains complex topics pretty well.

  33. Chancellor Woolsey

    This is a book that is invaluable for people to bring together skills they may already have or to understand how to build their skills

  34. denverteach

    I am a professor in the Information Systems department at a large state university. I consider this MUST READ for any Information Systems, Computer Science, or Computer Engineering student. I give this to my friends’ kids when they tell me they are interested in computers. Perfect gift for any high school graduate who is headed to a computer-oriented field. Informative and FUN- this book is extremely well-written.

  35. JM

    Which is just shy of half way through. Phenomenal, incredible book. Petzold, what a guy. What a service to self taught devs like me. I think an early foundational book in any self taught devs library – one that’s looking to give themselves a computer science education, anyway.

  36. Mike

    I’m a student who was struggling with computers and code. This book has allowed me to understand the topics with the author’s explanations.

  37. Sam C.

    I found this book to be both entertaining and extremely informative. The author takes you from understanding how humans have encoded information since before the age of computers, through electronic circuitry, all the way to an overview of how programming languages interact with this hardware. Definitely recommend

  38. Literal Learner

    I have the original that I studied when it was released. Thought reading this edition would be a good refresher to see changes I might not be aware of and was correct, still an excellent and highly recommended book.

  39. Dan

    Fantastic book. Learned a lot. everything is explained super well!

Add a review
X

New item(s) have been added to your cart.

Mindset Mathematic (9 books) Original price was: $275,99.Current price is: $74,99.
Quantum Computing: A Primer Course and Its Applications in Machine Learning Original price was: $1.119,99.Current price is: $74,99.
The Art of Computer Programming (6 books) Original price was: $499,99.Current price is: $54,99.
Advanced Thinking Skills (4 book series) Original price was: $165,95.Current price is: $40,00.
Math Illuminated: A Visual Guide to Calculus and Its Applications (4 book series) Original price was: $164,99.Current price is: $40,00.
The Great Mental Models (4 book series) Original price was: $135,00.Current price is: $39,95.
Learn Physics with Calculus Step-by-Step (3 book series) Original price was: $159,95.Current price is: $30,00.
The Robert C. Martin Clean Code Collection (Collection) (Robert C. Martin Series) Original price was: $66,79.Current price is: $27,95.
Master Mental Math: Unlock Your Mental Calculation Power with Vedic Techniques Original price was: $119,99.Current price is: $25,00.
Geometric Algebra: A Comprehensive and Illuminating Guide Original price was: $129,99.Current price is: $25,00.
College Algebra: A Guided Exploration Original price was: $149,99.Current price is: $25,00.
Python Animation for Engineers: A Visual Toolkit for Data and Systems Original price was: $199,95.Current price is: $25,00.
Comprehensive Discrete Mathematics for Computer Science and Mathematics Students Original price was: $174,99.Current price is: $25,00.
Python for Mathematical Foundations: Linear Algebra, Calculus, Trigonometry, and Beyond Original price was: $174,99.Current price is: $25,00.
GCSE Mathematics: Essential Foundations Original price was: $69,99.Current price is: $25,00.
Calculus of Variations: A Primer on the First Variation Original price was: $129,99.Current price is: $25,00.
Mastering Mathematical Foundations: A Comprehensive Guide with 510+ Practice Problems Original price was: $129,99.Current price is: $25,00.
Stata Tips, Fourth Edition, Volumes I and II Original price was: $79,99.Current price is: $24,95.
The Long-Form Math Textbook Series (2 books) Original price was: $92,95.Current price is: $24,91.
The Art of Game Design: A Book of Lenses, Third Edition Original price was: $112,00.Current price is: $20,00.
The Colossal Book of Mathematics: Classic Puzzles, Paradoxes, and Problems Original price was: $40,99.Current price is: $20,00.
C Programming Language Original price was: $99,00.Current price is: $20,00.
Teaching Secondary and Middle School Mathematics Original price was: $89,99.Current price is: $19,99.
Essential Math for AI: Next-Level Mathematics for Efficient and Successful AI Systems Original price was: $79,99.Current price is: $19,99.
College Physics 11E Global Edition Original price was: $112,59.Current price is: $19,99.
The Coding Manual for Qualitative Researchers Original price was: $149,99.Current price is: $19,99.
Math Games with Bad Drawings: 75 1/4 Simple, Challenging, Go-Anywhere Games―And Why They Matter Original price was: $30,00.Current price is: $19,99.
R for Data Science: Import, Tidy, Transform, Visualize, and Model Data Original price was: $79,99.Current price is: $19,99.
Problem Solving Approach to Mathematics for Elementary School Teachers, A Original price was: $199,00.Current price is: $19,99.
Linear Algebra and Learning from Data Original price was: $95,99.Current price is: $19,99.
Mathematical Methods for Physicists: A Comprehensive Guide Original price was: $124,95.Current price is: $19,99.
Mathematics and Art: A Cultural History Original price was: $63,00.Current price is: $19,99.
Machine Learning Design Patterns: Solutions to Common Challenges in Data Preparation, Model Building, and MLOps Original price was: $65,99.Current price is: $19,99.
Linear Algebra and Its Applications Original price was: $214,99.Current price is: $19,99.
Code Complete: A Practical Handbook of Software Construction, Second Edition Original price was: $54,99.Current price is: $19,99.
Introduction to Quantum Mechanics Original price was: $85,99.Current price is: $19,99.
The Mathematics of Infinity: A Guide to Great Ideas Original price was: $103,00.Current price is: $19,99.
Introduction to Electrodynamics Original price was: $69,99.Current price is: $19,99.
Multiple View Geometry in Computer Vision Original price was: $119,99.Current price is: $19,99.
Thomas' Calculus: Early Transcendentals 14th Edition Original price was: $306,99.Current price is: $19,99.
Introduction to Quantum Algorithms (Pure and Applied Undergraduate Texts) Original price was: $89,99.Current price is: $19,99.
Calculus Made Easy Original price was: $39,99.Current price is: $19,99.
Math for English Majors: A Human Take on the Universal Language Original price was: $30,00.Current price is: $19,99.
Contemporary Mathematics for Business & Consumers, 9th (MindTap Course List) Original price was: $289,99.Current price is: $19,99.
Visual Complex Analysis: 25th Anniversary Edition Original price was: $118,95.Current price is: $19,99.
Calculus: An Intuitive and Physical Approach (Second Edition) (Dover Books on Mathematics) Original price was: $49,95.Current price is: $19,99.