Write Great Code, Volume 2, 2nd Edition

Write Great Code, Volume 2, 2nd Edition

Author: Randall Hyde

Publisher: No Starch Press

ISBN: 9781718500396

Category: Computers

Page: 656

View: 200

Download Now
Explains how compilers translate high-level language source code (like code written in Python) into low-level machine code (code that the computer can understand) to help readers understand how to produce the best low-level, computer readable machine code. In the beginning, most software was written in assembly, the CPU's low-level language, in order to achieve acceptable performance on relatively slow hardware. Early programmers were sparing in their use of high-level language code, knowing that a high-level language compiler would generate crummy, low-level machine code for their software. Today, however, many programmers write in high-level languages like Python, C/C++/C#, Java, Swift. The result is often sloppy, inefficient code. But you don't need to give up the productivity and portability of high-level languages in order to produce more efficient software. In this second volume of the Write Great Code series, you'll learn: • How to analyze the output of a compiler to verify that your code does, indeed, generate good machine code • The types of machine code statements that compilers typically generate for common control structures, so you can choose the best statements when writing HLL code • Just enough 80x86 and PowerPC assembly language to read compiler output • How compilers convert various constant and variable objects into machine data, and how to use these objects to write faster and shorter programs 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 With an understanding of how compilers work, you'll be able to write source code that they can translate into elegant machine code. That understanding starts right here, with Write Great Code, Volume 2: Thinking Low-Level, Writing High-Level.
Write Great Code, Volume 2, 2nd Edition
Language: en
Pages: 656
Authors: Randall Hyde
Categories: Computers
Type: BOOK - Published: 2020-08-04 - Publisher: No Starch Press

Explains how compilers translate high-level language source code (like code written in Python) into low-level machine code (code that the computer can understand) to help readers understand how to produce the best low-level, computer readable machine code. In the beginning, most software was written in assembly, the CPU's low-level language,
Write Great Code, Volume 2, 2nd Edition
Language: en
Pages: 658
Authors: Randall Hyde
Categories: Computers
Type: BOOK - Published: 2020-08-11 - Publisher: No Starch Press

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,
Write Great Code, Volume 1, 2nd Edition
Language: en
Pages: 474
Authors: Randall Hyde
Categories: Computers
Type: BOOK - Published: 2020-07-31 - Publisher: No Starch Press

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
Write Great Code, Volume 3
Language: en
Pages: 376
Authors: Randall Hyde
Categories: Computers
Type: BOOK - Published: 2020-09-08 - Publisher: No Starch Press

Engineering Software, the third volume in the landmark Write Great Code series by Randall Hyde, helps you create readable and maintainable code that will generate awe from fellow programmers. The field of software engineering may value team productivity over individual growth, but legendary computer scientist Randall Hyde wants to make
The Art of Assembly Language, 2nd Edition
Language: en
Pages: 764
Authors: Randall Hyde
Categories: Computers
Type: BOOK - Published: 2010-03-01 - Publisher: No Starch Press

Assembly is a low-level programming language that's one step above a computer's native machine language. Although assembly language is commonly used for writing device drivers, emulators, and video games, many programmers find its somewhat unfriendly syntax intimidating to learn and use. Since 1996, Randall Hyde's The Art of Assembly Language