"Programming Windows" exposed the simplicity behind the Windows architecture. If you had even a smattering of C experience, Petzold could get you writing Windows applications the same day you opened his book. He triggered an explosion of software development. There are excellent books for novice Linux programmers, but unfortunately, nothing compared to Petzold's clear and direct presentation. .
“Code” 2nd Edition
81–90 of 176 posts
Re: “Code” 2nd Edition
#82This book (1st edition, at least) is astonishing. Perhaps the best book for coders that I’ve ever read. I recommend it to all the HN crowd. Reading it, I felt like I actually understood how computers worked, right down to the “electricity going through wires” level and lower, and how that builds up to if-then statements, etc, in a high-level language.
The content is something we learn in universities, even deeper. I think it's good for self taught programmers
Re: “Code” 2nd Edition
#83Code is my favorite technical book of all time [1]. Charles does an amazing job of building a computer up from basic principles "two young boys who want to communicate after their parents tell them to go to bed at night" all the way to modern (for 1999) computers. He layers abstraction on top of abstraction all the way to a working computer. My only (slight) disappointment in the book is that he tries to cover operat…
Re: “Code” 2nd Edition
#84Earlier quoted context omitted.
Don't oversell it. Speaking as someone who has done VLSI layout of a 32-bit processor in my student days, Petzold's book is a solid popularization but it doesn't cover a tenth of what a computer engineering degree does.
Fair point. I'm speaking about a computer science degree.
Re: “Code” 2nd Edition
#85Re: “Code” 2nd Edition
#86Any suggestions on where to preorder this from Europe (Belgium)?
> If you’d like to pre-order the book from the publisher, don’t try to find the book on the Pearson website. Instead, order the book from InformIT.com or MicrosoftPressStore.com or your favorite online retailer. So I imagine any online retailers where you might be able to preorder technical books. If you are not adverse to doing so, it can probably be pre-ordered in the coming months on Amazon, as well.
[1] blackwells.co.uk
Re: “Code” 2nd Edition
#87My first semester in college, I took a class in semiconductor physics. That started with the PN junction, to diodes, to transistors, to gates, to flip-flops, to clocking, to registers, adders, etc.
Later on, this made learning microprocessors straightforward, then assembler, then C, etc.
I suppose it would have been faster to go straight to programming, but I am happier knowing how it works all the way down.
Re: “Code” 2nd Edition
#88Also: i found a book i always was too scared of starting to read (because i didn‘t want to feel like the biggest idiot trying to read it): „The Annotated Turing“. When i looked at it again after having read „Code“, i saw it was also written by Petzold. The way he wrote „code“ i know, that this will be great. I am very excited to read it when i have a few hours to fully block for it.
Re: “Code” 2nd Edition
#89Earlier quoted context omitted.
Uh, as someone with too many years of programming behind me to imagine that, can you mention some concrete things that you found arbitrary or completely mysterious, and that the booked cleared up for you? Thanks.
I often wonder: for someone with no understanding of how computers work; no idea about electricity and transistors, no idea about CPUs executing instructions, no idea about software and abstraction: what do they think about when they click a ‘play’ button in a music player, and the interface updates and music starts? Do they think about what is happening ‘inside’ the box? I think I do. I suspect I have a completely d…
I think this is unnecessarily infantilizing. There are a great many very complex things in the modern world, and people must employ abstractions for most of it.
I think with the rise of multi form factor computing, there is more basic literacy about the nature of computers these days. People don’t think that a phone god makes their phone work and a laptop god lets them work on their document.
Re: “Code” 2nd Edition
#90Code is my favorite technical book of all time [1]. Charles does an amazing job of building a computer up from basic principles "two young boys who want to communicate after their parents tell them to go to bed at night" all the way to modern (for 1999) computers. He layers abstraction on top of abstraction all the way to a working computer. My only (slight) disappointment in the book is that he tries to cover operat…
When the book “builds” a computer, I’m assuming that’s a virtual computer? If so, what language does it use?
He goes: electricity, relays, logic gates, circuits (like adders), CPU, RAM …
It’s been awhile so I might have missed a step or two. You’ll come away knowing how we used electricity to get from lightning bolts, to pocket computers. You will not come away with a programmable machine.