Code

In 'Code', Charles Petzold takes readers on a captivating journey through the world of programming and computer science. He unravels the complex tapestry of how computers work, starting from simple concepts and building up to intricate systems. Through engaging anecdotes and metaphors, Petzold demystifies the inner workings of machines, making them accessible to everyone. This exploration not only reveals the beauty of code but also challenges us to think critically about the impact of technology in our lives. Prepare to see the digital world around you in a whole new light!

By Charles Petzold

Published: 2022

"The beauty of computation lies not just in its elegance, but in its ability to transform the abstract into the tangible."

CodeBook binding

Start Listening

0:000:00

What Readers Say About This Book

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 fl ashlights, 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, 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. Along with new chapters, Petzold has created a new website, CodeHiddenLanguage.com, that uses animated interactive graphics to make computers even easier to comprehend. From the simple ticking of clocks to the worldwide hum of the internet, Code reveals the essence of the digital revolution.

Mike & Casey Show Logo

The Mike & Casey Show

Dive into captivating book discussions with our expert hosts

Key Points from Code

About the Author

C

Charles Petzold

Charles Petzold is a renowned author and computer scientist best known for his influential books on programming and computer science, including 'Code: The Hidden Language of Computer Hardware and Software' and 'Programming Windows'. With a background in mathematics and a passion for teaching, Petzold's writing style is characterized by clarity and accessibility, making complex technical subjects comprehensible even to beginners. His works often bridge the gap between theoretical concepts and practical applications in technology.

Book Details

Key information about the book.

Authors
Charles Petzold
Published
August 2022
Publisher
Microsoft Press
ISBN
0137909101
Language
English
Pages
N/A
Genres
Digital CommunicationSoftware DevelopmentTechnologyEmerging Technologies

Purchase Options

Amazon logoBuy on Amazon
BookShop logoBuy via BookShop

Support local bookstores: BookShop gives a portion of each sale to independent bookshops!

Similar books you might like →

Digital MinimalismBook binding

Digital Minimalism

Cal Newport

Clean CodeBook binding

Clean Code

Robert C. Martin

The Pragmatic ProgrammerBook binding

The Pragmatic Programmer

Andrew Hunt, David Thomas

On the RoadBook binding

On the Road

Jack Kerouac

In the PlexBook binding

In the Plex

Steven Levy

Dawn of the New EverythingBook binding

Dawn of the New Everything

Jaron Lanier

Margin of SafetyBook binding

Margin of Safety

Seth A. Klarman

WhoBook binding

Who

Geoff Smart, Randy Street

What Technology WantsBook binding

What Technology Wants

Kevin Kelly

EngageBook binding

Engage

Brian Solis

The Game ChangersBook binding

The Game Changers

Samantha Brett

Normal PeopleBook binding

Normal People

Sally Rooney

The Government of the Tongue (Classic Reprint)Book binding

The Government of the Tongue (Classic Reprint)

The Complete Novels of Jane AustenBook binding

The Complete Novels of Jane Austen

Jane Austen

Earning ItBook binding

Earning It

Joann S. Lublin

Triumphs of ExperienceBook binding

Triumphs of Experience

George E. Vaillant

Domain-driven DesignBook binding

Domain-driven Design

Eric Evans

Raising GirlsBook binding

Raising Girls

Steve Biddulph

CryptonomiconBook binding

Cryptonomicon

Neal Stephenson

In the Beginning...was the Command LineBook binding

In the Beginning...was the Command Line

Neal Stephenson

JackBook binding

Jack

Jack Welch, John A. Byrne

A Great Leap ForwardBook binding

A Great Leap Forward

Alexander J. Field

The Line Becomes a RiverBook binding

The Line Becomes a River

Francisco Cantú

Foucault's PendulumBook binding

Foucault's Pendulum

Umberto Eco

The Theory of Investment ValueBook binding

The Theory of Investment Value

John Burr Williams

Before the Coffee Gets ColdBook binding

Before the Coffee Gets Cold

Toshikazu Kawaguchi

The Hare with Amber EyesBook binding

The Hare with Amber Eyes

Edmund de Waal

One Thousand and One NightsBook binding

One Thousand and One Nights

Hanan al-Shaykh

Take your reading experience to the next level

Download our mobile app to enjoy your favorite books on the go. Get access to exclusive features, offline listening, and personalized recommendations.

Download on the App Store

Book Collections you might like →

Alex Lieberman's Book Recommendations

Alex Lieberman's Book Recommendations

Alex Lieberman is the co-founder and executive chairman of Morning Brew, a media company that delivers engaging business news. Under his leadership, Morning Brew has grown to reach millions of subscribers, becoming a significant player in modern business journalism. Lieberman is also known for his insightful commentary on entrepreneurship and media trends. His work has significantly influenced the way business news is consumed by younger audiences. Beyond Morning Brew, Lieberman frequently writes and speaks about the intersection of media and technology, further cementing his role as a thought leader in the industry.

View Collection
Ryan Holiday's Book Recommendations

Ryan Holiday's Book Recommendations

Ryan Holiday is a bestselling author and media strategist known for his books on stoicism, including The Obstacle Is the Way and Ego Is the Enemy. He is a leading voice in modern stoic philosophy, teaching readers how to apply ancient wisdom to achieve personal and professional success. Holiday’s work emphasizes resilience, discipline, and humility as keys to navigating life’s challenges. He has consulted with major companies and individuals on marketing and strategy, blending stoic principles with contemporary business practices. His books have been translated into over 30 languages.

View Collection
Bret Victor's Book Recommendations

Bret Victor's Book Recommendations

Bret Victor is a renowned American interface designer and computer scientist celebrated for his innovative contributions to interactive design and human-computer interaction. He is best known for creating dynamic, explorable explanations, which have significantly influenced the way educational content is presented and understood. Victor's seminal work, "Inventing on Principle," advocates for the integration of immediate feedback in creative processes, inspiring a new wave of interactive programming environments. As a former member of the Apple Human Interface team, he played a pivotal role in shaping modern user interfaces. Through his organization, Dynamicland, Victor continues to explore and expand the boundaries of immersive, collaborative computing environments.

View Collection
Biz Stone's Book Recommendations

Biz Stone's Book Recommendations

Biz Stone is an American entrepreneur, co-founder of Twitter, and a key figure in the development of social media. Stone helped launch Twitter in 2006, transforming the way people communicate and share information globally. He has also co-founded other companies, including Xanga, Blogger, and Medium, and is involved in various philanthropic efforts through The Biz and Livia Stone Foundation. Stone is known for his creative thinking and his belief in the power of technology to create positive change in the world. His work has left a lasting impact on digital communication and media innovation.

View Collection
Charlie Munger's Book Recommendations

Charlie Munger's Book Recommendations

Charlie Munger is an American investor, businessman, and philanthropist, best known as the vice chairman of Berkshire Hathaway, where he partners with Warren Buffett. Renowned for his insights on investment strategies and mental models, Munger has significantly influenced the world of finance. His notable literary contributions include "Poor Charlie's Almanack," a compilation of his speeches and writings that distill his wisdom on decision-making and business principles. Munger's work emphasizes the importance of multidisciplinary thinking and continuous learning. Beyond his financial acumen, he is celebrated for his charitable efforts, particularly in education and healthcare.

View Collection
Patrick Collison's Book Recommendations

Patrick Collison's Book Recommendations

Patrick Collison is an Irish entrepreneur and co-founder of Stripe, a global technology company that enables businesses to accept online payments. Along with his brother John, Patrick has transformed Stripe into one of the most valuable private tech companies in the world. Stripe’s innovative approach to online payments has made it a key player in the financial technology space. Collison is known for his deep interest in science, technology, and policy, often engaging in conversations about innovation, progress, and how to improve societal outcomes. He is an advocate for scientific advancement and the intersection of technology and public policy.

View Collection
Drew Houston's Book Recommendations

Drew Houston's Book Recommendations

Drew Houston is an accomplished American entrepreneur best known for co-founding Dropbox, a widely-used cloud storage service, in 2007. As the CEO, he has led the company to serve millions of users worldwide and become a key player in the tech industry. Although not primarily known for literature, Houston has shared his entrepreneurial insights and experiences through various interviews and public speaking engagements, offering valuable lessons to aspiring business leaders. His work has significantly influenced the way people and organizations manage and share digital content. Houston's innovative vision continues to shape the future of cloud computing and digital collaboration.

View Collection
Aaron Levie's Book Recommendations

Aaron Levie's Book Recommendations

Aaron Levie is the co-founder and CEO of Box, a cloud content management platform that revolutionized how businesses manage and collaborate on content. He launched Box in 2005 while still a college student, and the company rapidly grew into a leader in the cloud storage industry. Levie is known for his innovative, forward-thinking approach to enterprise software and for pushing the boundaries of digital transformation. Under his leadership, Box went public in 2015 and continues to evolve with new technologies and partnerships. He is a strong advocate for cloud-first business strategies and frequently shares his insights on the future of work and the digital workplace. Levie is also a prolific speaker and writer, often discussing technology's role in the modern economy. His energetic and witty personality has made him a popular figure in Silicon Valley and beyond.

View Collection
Nassim Nicholas Taleb's Book Recommendations

Nassim Nicholas Taleb's Book Recommendations

Nassim Nicholas Taleb is a Lebanese-American author, scholar, and risk analyst, best known for his work on uncertainty, probability, and risk. His books, including The Black Swan and Antifragile, explore how rare and unpredictable events shape the world and how individuals and systems can become more resilient to shocks. Taleb’s insights on risk management have influenced fields ranging from finance to medicine, and he is known for his outspoken criticism of conventional wisdom. His ideas about randomness, decision-making, and the limitations of human knowledge have made him a leading thinker in modern economics and philosophy.

View Collection
Brad Feld's Book Recommendations

Brad Feld's Book Recommendations

Brad Feld is a prominent American entrepreneur, venture capitalist, and author known for his influential work in the startup ecosystem. Co-founder of the Foundry Group, he has played a pivotal role in funding and mentoring early-stage technology companies. Feld is also a key figure behind the Techstars accelerator program, which has helped launch numerous successful startups. As an author, he has penned several essential books on entrepreneurship and venture capital, including "Venture Deals" and "Startup Communities," which provide invaluable insights for aspiring entrepreneurs and investors. His writings and active blogging have cemented his reputation as a thought leader in the tech and startup communities.

View Collection
Elon Musk's Book Recommendations

Elon Musk's Book Recommendations

Elon Musk is an influential entrepreneur and innovator known for founding and leading several groundbreaking companies, including Tesla, SpaceX, Neuralink, and The Boring Company. He has played a pivotal role in advancing electric vehicles, space exploration, and renewable energy. Musk's vision extends to colonizing Mars and reducing the risk of human extinction through space travel. In addition to his technological contributions, he has co-authored the book "Spacex: Making Commercial Spaceflight a Reality," providing insights into his ambitious projects and vision for the future. Musk's relentless pursuit of innovation continues to shape the trajectory of multiple industries.

View Collection
Martin Shkreli's Book Recommendations

Martin Shkreli's Book Recommendations

Martin Shkreli is an American businessman and former hedge fund manager best known for his role in the pharmaceutical industry. He gained notoriety as the CEO of Turing Pharmaceuticals, where he infamously raised the price of the life-saving drug Daraprim by over 5,000%. Despite his controversial business practices, Shkreli has contributed thought-provoking writings on the ethics of pharmaceutical pricing and the healthcare industry. His articles and essays have sparked widespread debate and discussion in both academic and public spheres. Shkreli's complex legacy continues to influence conversations about drug pricing and corporate responsibility.

View Collection
Nir Eyal's Book Recommendations

Nir Eyal's Book Recommendations

Nir Eyal is an accomplished author and behavioral design expert, best known for his two best-selling books, "Hooked: How to Build Habit-Forming Products" and "Indistractable: How to Control Your Attention and Choose Your Life." With a background in psychology and business, he has significantly influenced the fields of product design and personal productivity. Eyal's work has been featured in major publications such as The Harvard Business Review and The New York Times. He frequently speaks at industry conferences and workshops, sharing insights on how technology can be ethically designed to benefit users. Eyal also teaches at the Stanford Graduate School of Business and the Hasso Plattner Institute of Design.

View Collection
Peter Thiel's Book Recommendations

Peter Thiel's Book Recommendations

Peter Thiel is a renowned entrepreneur, venture capitalist, and author best known for co-founding PayPal and Palantir Technologies. He played a pivotal role in the early growth of Facebook as its first outside investor. Thiel's literary contributions include his influential book "Zero to One: Notes on Startups, or How to Build the Future," which offers insights into innovation, entrepreneurship, and the future of technology. A prominent figure in Silicon Valley, he has significantly impacted the tech industry's landscape through his investments and thought leadership. Thiel's work continues to inspire entrepreneurs and innovators around the world.

View Collection
Alfred Lin's Book Recommendations

Alfred Lin's Book Recommendations

Alfred Lin is a venture capitalist and partner at Sequoia Capital, where he focuses on investments in consumer internet, enterprise, and mobile companies. Lin is known for his early investments in companies like Airbnb and DoorDash, helping them grow into major global brands. Before joining Sequoia, Lin was an executive at Zappos, where he worked closely with CEO Tony Hsieh to develop the company’s innovative culture and customer service model. Lin’s expertise in scaling businesses and his strategic vision have made him one of the most respected venture capitalists in Silicon Valley.

View Collection
Ev Williams's Book Recommendations

Ev Williams's Book Recommendations

Ev Williams is an American entrepreneur, best known as the co-founder of Twitter and Medium. Williams has a long history in the tech industry, having co-founded Blogger, one of the first blogging platforms, which was later acquired by Google. His work has significantly shaped online communication, giving people platforms to share their thoughts and ideas globally. Williams’ focus on simplicity and user experience has been a hallmark of his career. He continues to lead Medium, a platform that champions quality content and thoughtful discourse.

View Collection
Keith Rabois's Book Recommendations

Keith Rabois's Book Recommendations

Keith Rabois is a prominent American entrepreneur, investor, and author known for his significant contributions to the tech industry and startup ecosystem. He played crucial roles in the early success of companies like PayPal, LinkedIn, Square, and Yelp, earning a reputation as a skilled operator and strategic thinker. As a partner at Founders Fund and later at Khosla Ventures, Rabois has invested in and advised numerous successful startups. In addition to his business ventures, he has written insightful articles and essays on technology, entrepreneurship, and innovation, contributing to the broader discourse on these subjects. Rabois continues to influence the tech world with his strategic insights and thought leadership.

View Collection

The beauty of computation lies not just in its elegance, but in its ability to transform the abstract into the tangible.

Code

By Charles Petzold

Frequently Asked Questions