Write Great Code,Volume 2: Thinking Low-Level,Writing High-Level,2nd Edition


Write Great Code,Volume 2,2nd Edition 版次: Thinking Low-Level,Writing High-Level
by: Randall Hyde
Print Length 页数: 680 pages
ISBN-10: 1718500386
ISBN-13: 9781718500389
Publisher finelybook 出版社: No Starch Press (13 Aug. 2020)
Language 语言: English


Book Description
By finelybook

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 80×86 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.
CONTENTS IN DETAIL
ACKNOWLEDGMENTS
INTRODUCTION
1THINKING LOW-LEVEL,WRITING HIGH-LEVEL
2 SHOULDN’T YOU LEARN ASSEMBLY LANGUAGE?
380X86 ASSEMBLY FOR THE HLL PROGRAMMER
4COMPILER OPERATION AND CODE GENERATION
5TOOLS FOR ANALYZING COMPILER OUTPUT
6 CONSTANTS AND HIGH-LEVEL LANGUAGES
7 VARIABLES IN A HIGH-LEVEL LANGUAGE
8 ARRAY DATA TYPES
9 POINTER DATA TYPES
10 STRING DATA TYPES
11 RECORD,UNION,AND CLASS DATA TYPES
12 ARITHMETIC AND LOGICAL EXPRESSIONS
13 CONTROL STRUCTURES AND PROGRAMMATIC DECISIONS
14 ITERATIVE CONTROL STRUCTURES
15 FUNCTIONS AND PROCEDURES
AFTERWORD: ENGINEERING SOFTWARE
GLOSSARY
ONLINE APPENDIXES
INDEX

相关文件下载地址

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Write Great Code,Volume 2: Thinking Low-Level,Writing High-Level,2nd Edition

评论 2

  1. #1

    看不到下载地址@admin

    zhangjiyi10个月前 (01-29)回复
    • 已更新

      admin10个月前 (01-29)回复

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫