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.
Fully updated 2nd edition, explaining how compilers translate high-level language source code into low-level machine code.
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.
Fully updated 2nd edition, explaining how compilers translate high-level language source code into low-level machine code.
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.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 codeThe types of machine code statements that compilers generate for common control structures, so you can choose the best statements when writing HLL codeEnough assembly language to read compiler outputHow compilers convert various constant and variable objects into machine dataWith 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 JavaCode generation on modern 64-bit CPUsARM processors on mobile phones and tabletsStack-based architectures like the Java Virtual MachineModern language systems like the Microsoft Common Language Runtime
“Praise for the first edition of Write Great Code, Volume 2: "Set aside some money and buy this book, or get a friend to buy it and get it from them while still in the store. When you get home, read it TWICE so that you master what is in these pages. Then read it again." --DevCity " Write Great Code Volume 2 exceeds its goal of helping developers pay more attention to application performance when writing applications in high-level languages. This book is a must for any high-level application developer. --Free Software Magazine "As a high-level-language programmer, if you want to know what's really going on with your programs, you need to spend a little time learning assembly language--and you won't find an easier introduction." --DevX "This is a good book. A very very good book. Frankly, I'm blown away at the quality of writing." --Toronto Ruby User Group”
Praise for the first edition of Write Great Code, Volume 2:
"Set aside some money and buy this book, or get a friend to buy it and get it from them while still in the store. When you get home, read it TWICE so that you master what is in these pages. Then read it again."
—DevCity
"Write Great Code Volume 2 exceeds its goal of helping developers pay more attention to application performance when writing applications in high-level languages. This book is a must for any high-level application developer.
—Free Software Magazine
"As a high-level-language programmer, if you want to know what's really going on with your programs, you need to spend a little time learning assembly language—and you won't find an easier introduction."
—DevX
"This is a good book. A very very good book. Frankly, I'm blown away at the quality of writing."
—Toronto Ruby User Group
Randall Hyde is the author of The Art of Assembly Language, one of the most highly recommended resources on assembly, and the three volume Write Great Code series (all No Starch Press). He is also the co-author of The Waite Group's MASM 6.0 Bible. He has written for Dr. Dobb's Journal and Byte, as well as professional and academic journals.
This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.