#17 of 644 all-time
Code
Charles Petzold
27 people recommended it in 15 threads, 2011–2024.
1 commenter pushed back on it — worth reading the threads.
What people on Hacker News said
After reading Code my hacking skills increased considerably. I am never comfortable relying on abstractions so understanding more of the programming stacks I use increased my willingness to experiment with then. It also helped me to better understand pointers and memory management as memory became a real thing to me.
Seeing every step from the ground-up really helps demystify the machines you see around yourself every day.
If you didn't take, or have forgotten, classes like Computer Architecture or Digital Logic, this is a great book for getting your head around the low level details of what's happening in side a digital computer. Petzold starts from VERY basic examples (using a flaslight to morse code messages to your friend across the street) and slowly builds up to a full-fledged (if somewhat minimalistic) CPU.
So, by the end of the night, with proper questioning we'd gotten him to come up with MMIO, with virtual memory, with paging, and eventually gotten him to consider how to implement concurrency via scheduling and his newly discovered virtual memory mechanism.
It starts at simple circuits and builds up a picture of how computers work. It has really helped me get my mental models of what's going on inside a computer straightened out!
Where it comes up
- The Book That Every Programmer Should Read 2011 · 9 recommendations
- Ask HN: Which books do you consider real gems in your field of work/study? 2022 · 2 recommendations
- Ask HN: Which book are you reading, since when? 2022 · 2 recommendations
- Ask HN: What are some books where the reader learns by building one project? 2017 · 2 recommendations
- Ask HN: Book Recommendations? 2016 · 2 recommendations
- Ask HN: What's the "best" book you've ever read? 2024 · 1 recommendation
- Ask HN: Top 10 Timeless Software Books That ChangedLife as Software Engineer? 2023 · 1 recommendation
- Books for Software Engineers in 2023 2023 · 1 recommendation
- Ask HN: Do you recall any book or course that made a topic finally click? 2022 · 1 recommendation
- Ask HN: Which book can attract anyone towards your field of study? 2022 · 1 recommendation
- Ask HN: What's the best book you read in 2021? 2021 · 1 recommendation
- Classic Mathematics Books for Lifelong Learners 2019 · 1 recommendation
- Ask HN: What are the best books you've read that few others have? 2017 · 1 recommendation
- Ask HN: What was the best book you read in 2016? 2017 · 1 recommendation
- What is the single most influential book every programmer should read? 2011 · 1 recommendation