Write Great Code, Volume 1, 2nd Edition: Understanding the Machine

· No Starch Press
Ebook
472
Pages
Eligible

About this ebook

Understanding the Machine, the first volume in the landmark Write Great Code series by Randall Hyde, explains the underlying mechanics of how a computer works.

This, the first volume in Randall Hyde's Write Great Code series, dives into machine organization without the extra overhead of learning assembly language programming. Written for high-level language programmers, Understanding the Machine fills in the low-level details of machine organization that are often left out of computer science and engineering courses.

Learn:
  • How the machine represents numbers, strings, and high-level data structures, so you'll know the inherent cost of using them.
  • How to organize your data, so the machine can access it efficiently.
  • How the CPU operates, so you can write code that works the way the machine does.
  • How I/O devices operate, so you can maximize your application's performance when accessing those devices.
  • How to best use the memory hierarchy to produce the fastest possible programs.

  • Great code is efficient code. But before you can write truly efficient code, you must understand how computer systems execute programs and how abstractions in programming languages map to the machine's low-level hardware. After all, compilers don't write the best machine code; programmers do. This book gives you the foundation upon which all great software is built.

    NEW IN THIS EDITION, COVERAGE OF:
  • Programming languages like Swift and Java
  • Code generation on modern 64-bit CPUs
  • ARM processors on mobile phones and tablets
  • Newer peripheral devices
  • Larger memory systems and large-scale SSDs
  • About the author

    Randall Hyde is the author of The Art of Assembly Language, one of the most highly recommended resources on assembly, and the three volume Write Great Code series (all No Starch Press). He is also the co-author of The Waite Group's MASM 6.0 Bible. He has written for Dr. Dobb's Journal, Byte, as well as professional journals.

    Rate this ebook

    Tell us what you think.

    Reading information

    Smartphones and tablets
    Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
    Laptops and computers
    You can listen to audiobooks purchased on Google Play using your computer's web browser.
    eReaders and other devices
    To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.