Write Great Code, Volume 2, 2nd Edition

Thinking Low-Level, Writing High-Level

By Randall Hyde | Publisher: No Starch Press

About the book

Thinking Low-Level, Writing High-Level, the second volume in the landmark Write Great Code series by Randall Hyde, covers high-level programming languages (such as Swift and Java) as well as code generation on 64-bit CPUsARM, the Java Virtual Machine, and the Microsoft Common Runtime.

Today's programming languages offer productivity and portability, but also make it easy to write sloppy code that isn't optimized for a compiler. Thinking Low-Level, Writing High-Level will teach you to craft source code that results in good machine code once it's run through a compiler.

You'll learn:

  • How to analyze the output of a compiler to verify that your code generates good machine code
  • The types of machine code statements that compilers generate for common control structures, so you can choose the best statements when writing HLL code
  • Enough assembly language to read compiler output
  • How compilers convert various constant and variable objects into machine data

  • With an understanding of how compilers work, you'll be able to write source code that they can translate into elegant machine code.

    NEW TO THIS EDITION, COVERAGE OF:
  • Programming languages like Swift and Java
  • Code generation on modern 64-bit CPUs
  • ARM processors on mobile phones and tablets
  • Stack-based architectures like the Java Virtual Machine
  • Modern language systems like the Microsoft Common Language Runtime
  • Editions of Write Great Code, Volume 2, 2nd Edition

    Paperback
    ISBN 9781718500389
    EBook
    ISBN 9781718500396

    Read an Excerpt

    Thinking Low-Level, Writing High-Level, the second volume in the landmark Write Great Code series by Randall Hyde, covers high-level programming languages (such as Swift and Java) as well as code generation on 64-bit CPUsARM, the Java Virtual Machine, and the Microsoft Common Runtime.

    Today's programming languages offer productivity and portability, but also make it easy to write sloppy code that isn't optimized for a compiler. Thinking Low-Level, Writing High-Level will teach you to craft source code that results in good machine code once it's run through a compiler.

    You'll learn:

  • How to analyze the output of a compiler to verify that your code generates good machine code
  • The types of machine code statements that compilers generate for common control structures, so you can choose the best statements when writing HLL code
  • Enough assembly language to read compiler output
  • How compilers convert various constant and variable objects into machine data

  • With an understanding of how compilers work, you'll be able to write source code that they can translate into elegant machine code.

    NEW TO THIS EDITION, COVERAGE OF:
  • Programming languages like Swift and Java
  • Code generation on modern 64-bit CPUs
  • ARM processors on mobile phones and tablets
  • Stack-based architectures like the Java Virtual Machine
  • Modern language systems like the Microsoft Common Language Runtime
  • Frequently Asked Questions

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

    Thinking Low-Level, Writing High-Level, the second volume in the landmark Write Great Code series by Randall Hyde, covers high-level programming languages (such as Swift and Java) as well as code generation on 64-bit CPUsARM, the Java Virtual Machine, and the Microsoft Common Runtime.

    Today's programming languages offer productivity and portability, but also make it easy to write sloppy code that isn't optimized for a compiler. Thinking Low-Level, Writing High-Level will teach you to craft source code that results in good machine code once it's run through a compiler.

    You'll learn:

  • How to analyze the output of a compiler to verify that your code generates good machine code
  • The types of machine code statements that compilers generate for common control structures, so you can choose the best statements when writing HLL code
  • Enough assembly language to read compiler output
  • How compilers convert various constant and variable objects into machine data

  • With an understanding of how compilers work, you'll be able to write source code that they can translate into elegant machine code.

    NEW TO THIS EDITION, COVERAGE OF:
  • Programming languages like Swift and Java
  • Code generation on modern 64-bit CPUs
  • ARM processors on mobile phones and tablets
  • Stack-based architectures like the Java Virtual Machine
  • Modern language systems like the Microsoft Common Language Runtime
  • What core themes, tropes, or subjects are explored in Write Great Code, Volume 2, 2nd Edition?

    Computing and Information Technology > Computer science > Computer architecture and logic design > Assembly languages

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

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

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

    Randall Hyde

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

    No Starch Press

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

    Write Great Code, Volume 2, 2nd Edition is available as paperback(ISBN 9781718500389) and ebook(ISBN 9781718500396)

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

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

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