Write Great Code, Volume 1, 2nd Edition

Understanding the Machine

By Randall Hyde | Publisher: No Starch Press

About the book

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
  • Editions of Write Great Code, Volume 1, 2nd Edition

    Paperback
    ISBN 9781718500365
    EBook
    ISBN 9781718500372

    Read an Excerpt

    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
  • Frequently Asked Questions

    What is Write Great Code, Volume 1, 2nd Edition about?

    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
  • What core themes, tropes, or subjects are explored in Write Great Code, Volume 1, 2nd Edition?

    Computing and Information Technology > Computer programming / software engineering

    Where can I read a sample of Write Great Code, Volume 1, 2nd Edition?

    You can read an official preview of the few pages here https://www.book2look.com/book/9781718500365

    Who is/are the Author/s of the book Write Great Code, Volume 1, 2nd Edition?

    Randall Hyde

    Who is the Publisher of the book Write Great Code, Volume 1, 2nd Edition?

    No Starch Press

    What are the ISBN numbers for the physical and digital editions?

    Write Great Code, Volume 1, 2nd Edition is available as paperback(ISBN 9781718500365) and ebook(ISBN 9781718500372)

    Where can I buy Write Great Code, Volume 1, 2nd Edition online or support local independent bookshops?

    You can buy Write Great Code, Volume 1, 2nd Edition from below

    Where can I buy Write Great Code, Volume 1, 2nd Edition?