Code: The Hidden Language of Computer Hardware and Software 1st Edition
| Charles Petzold (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
$39.99
This title has not yet been released.
What do flashlights, the British invasion, black cats, and seesaws have to do with computers? In CODE, they show us the ingenious ways we manipulate language and invent new means of communicating with each other. And through CODE, we see how this ingenuity and our very human compulsion to communicate have driven the technological innovations of the past two centuries.
Using everyday objects and familiar language systems such as Braille and Morse code, author Charles Petzold weaves an illuminating narrative for anyone who’s ever wondered about the secret inner life of computers and other smart machines.
It’s a cleverly illustrated and eminently comprehensible story—and along the way, you’ll discover you’ve gained a real context for understanding today’s world of PCs, digital media, and the Internet. No matter what your level of technical savvy, CODE will charm you—and perhaps even awaken the technophile within.
Frequently bought together
Voltage refers to a potential for doing work. Voltage exists whether or not something is hooked up to a battery.Highlighted by 975 Kindle readers
The key word here is two. Two types of blinks, two vowel sounds, two different anything, really, can with suitable combinations convey all types of information.Highlighted by 914 Kindle readers
In the computer age, the bit has come to be regarded as the basic building block of information.Highlighted by 839 Kindle readers
Editorial Reviews
About the Author
Charles Petzold has been writing about Windows programming for 25 years. A Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, the widely acclaimed Code: The Hidden Language of Computer Hardware and Software, Programming Windows Phone 7, and more than a dozen other books.
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- ASIN : 0735611319
- Publisher : Microsoft Press; 1st edition (October 11, 2000)
- Language : English
- Paperback : 400 pages
- ISBN-10 : 9780735611313
- ISBN-13 : 978-0735611313
- Item Weight : 1.04 pounds
- Dimensions : 6 x 1 x 8.9 inches
- Best Sellers Rank: #17,406 in Books (See Top 100 in Books)
- #4 in Machine Theory (Books)
- #9 in Software Design & Engineering
- #26 in Software Development (Books)
- Customer Reviews:
About the author

Charles Petzold has been writing about Windows programming for 25 years. A Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, the widely acclaimed Code: The Hidden Language of Computer Hardware and Software, Programming Windows Phone 7, and more than a dozen other books.
Customer reviews
Reviewed in the United States on January 22, 2021
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Reviewed in the United States on January 22, 2021
I picked it up again recently, after graduating with an electromechanical technology degree. I understood it much better and made it all the way through this time without getting lost. My first attempt also made going to school much easier in many ways.
In the electromechanical program we started with electronics, ladder drawings, relay logic, etc. and then moved into PLC’s and automation without much in between to connect the dots.
The true value of this book to me was that it connected the dots between traditional relay logic and what that has evolved into.
As I read more and more, it becomes unreadable because of this. So yes, it does affect the reading. Sadly a waste of money.
Reviewed in the United States on January 4, 2021
As I read more and more, it becomes unreadable because of this. So yes, it does affect the reading. Sadly a waste of money.
Top reviews from other countries
I purchased this as I had started to do a little coding myself but wanted to know how everything worked underneath the hood. This answered those questions to enough of a depth that satisfied my needs - very happy with this book.
I am an amateur programmer and wanted to understand how it all works. I still don’t fully understand because I probably lack the intelligence but a smarter person would be able to grasp the theory using this book.
I can only recommend this book to people who are not satisfied with 20 min. youtube summaries and want to dig deeper.
I own a great many awesome CS books. But this one went to the top of my list very quickly, perhaps just barely 20 pages in. It's not a description of who did what, or how a particular piece of technology works. It's a story of how our modern world came to be. And it's a brilliant story.
Petzold challenges the reader right at the start - assume you're 10 years old and in your home, trying to talk to your friend on the other side of the street. Of course, you don't have a phone or anything like that. You need to use technology which is freely available and will not wake up your parents. Step by step, you discover Morse code (discarding several options prior to reaching this stage). Then you solve various challenges, like assuming your friend does not live in a direct line of sight.
Little by little, we learn about Braille code, simple flashlights, relays, then go on to more ambitious concepts like logic gates, flip-flops and, ultimately, a fully functional computer made of relays and other simple components (which is, I should point out, purely fictional, of course). And I enjoyed every step of this journey.
The book is written with the general reader in mind, it does not target software developers or engineers. I cannot say how someone with no prior computer knowledge would find it; it is beyond my ability to imagine myself without everything I've learned since I began my career path as a programmer. Perhaps the point where assembly is introduced would be a bit too much, or the descriptions of Intel's 8080 and Motorola's 6800. But hey, we do get from flashlights to computers within 400 pages, so it can't all be a smooth ride.
Also, I should mention, the reader is bound to notice how old the book is :) Many technologies that were all around us at the time of writing are already gone and that was barely 20 years ago...
All in all, I probably didn't learn much I didn't already know, but if I ever recommend a computer book to a non-programmer this would be it. Very enjoyable and informative. You will not regret buying this.
Beside that, this is a rare unicorn of a book. It's rigorous and written well. That's a rare combination for this genre. It's actually fun to read, and pretty much the standard in bridging computer engineering with software development, and is very accessible to anyone I'd say. If you're not a particularly technical person but always wondered about the "magic" of how computers work this is perfect.
It's pretty high-level in terms of abstraction but that's a good thing as far as I'm concerned, you can take the knowledge from this book and apply it universally.
If you're already a CompEng or EE student I'd probably look elsewhere for something a little more applied. CS students however this is perfect for you.












