Write Great Code, Volume 1, 2nd Edition 版本: Understanding the Machine
By 作者:Randall Hyde
pages 页数: 470 pages
ISBN-10 书号: 171850036X
ISBN-13 书号 : 9781718500365
Product Dimensions : 17.78 x 2.79 x 23.37 cm
Publisher Finelybook 出版社 : No Starch Press (27 Aug. 2020)
Language 语言: : English
The Book Description robot was collected from Amazon and arranged by Finelybook
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.
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.
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
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.
CONTENTS IN DETAIL
1 WHAT YOU NEED TO KNOW TO WRITE GREAT CODE
3 BINARY ARITHMETIC AND BIT OPERATIONS
4 FLOATING-POINT REPRESENTATION
5 CHARACTER REPRESENTATION
6 MEMORY ORGANIZATION AND ACCESS
7 COMPOSITE DATA TYPES AND MEMORY OBJECTS
8 BOOLEAN LOGIC AND DIGITAL DESIGN
9 CPU ARCHITECTURE
10 INSTRUCTION SET ARCHITECTURE
11 MEMORY ARCHITECTURE AND ORGANIZATION
12 INPUT AND OUTPUT
13 COMPUTER PERIPHERAL BUSES
14 MASS STORAGE DEVICES AND FILESYSTEMS
15 MISCELLANEOUS INPUT AND OUTPUT DEVICES
AFTERWORD:THINKING LOW-LEVEL,WRITING HIGH-LEVEL
A ASCII CHARACTER SET