Write Great Code, Volume 2, 2nd Edition Write Great Code, Volume 2, 2nd Edition

Write Great Code, Volume 2, 2nd Edition

Thinking Low-Level, Writing High-Level

    • ¥4,800
    • ¥4,800

発行者による作品情報

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.

ジャンル
コンピュータ/インターネット
発売日
2020年
8月4日
言語
EN
英語
ページ数
656
ページ
発行者
No Starch Press
販売元
Penguin Random House LLC
サイズ
20.1
MB
Using C in Software Design, Second Edition Using C in Software Design, Second Edition
2012年
C and Linux/UNIX Commands: Two Books C and Linux/UNIX Commands: Two Books
2013年
950 C Language Interview Questions and Answers 950 C Language Interview Questions and Answers
2020年
Write Great Code, Volume 1, 2nd Edition Write Great Code, Volume 1, 2nd Edition
2020年
C and UNIX C and UNIX
2013年
C++ Crash Course C++ Crash Course
2019年
The Art of 64-Bit Assembly, Volume 1 The Art of 64-Bit Assembly, Volume 1
2021年
Write Great Code〈Vol.2〉 低いレベルで考え、高いレベルで書く Write Great Code〈Vol.2〉 低いレベルで考え、高いレベルで書く
2014年
Write Great Code〈Vol.1〉 ハードウェアを知り、ソフトウェアを書く Write Great Code〈Vol.1〉 ハードウェアを知り、ソフトウェアを書く
2014年
The Art of 64-Bit Assembly, Volume 2 The Art of 64-Bit Assembly, Volume 2
2026年
The Art of ARM Assembly, Volume 1 The Art of ARM Assembly, Volume 1
2025年
The Book of I²C The Book of I²C
2022年
How Linux Works, 3rd Edition How Linux Works, 3rd Edition
2021年
Introduction to Algorithms, fourth edition Introduction to Algorithms, fourth edition
2022年
The Swift Programming Language (Swift 5.7) The Swift Programming Language (Swift 5.7)
2014年