Buy New

or
Sign in to turn on 1-Click ordering.
Buy Used
Used - Very Good See details
$21.12 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $4.19 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Write Great Code: Volume 1: Understanding the Machine
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Write Great Code: Volume 1: Understanding the Machine [Paperback]

Randall Hyde (Author)
4.8 out of 5 stars  See all reviews (19 customer reviews)

List Price: $39.95
Price: $26.36 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.59 (34%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 9 to 14 days.
Ships from and sold by Amazon.com. Gift-wrap available.
Textbook Student FREE Two-Day Shipping for Students. Learn more

Sell Back Your Copy for $4.19
Whether you buy it used on Amazon for $18.00 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $4.19.
Used Price$18.00
Trade-in Price$4.19
Price after
Trade-in
$13.81

Book Description

October 25, 2004

If you've asked someone the secret to writing efficient, well-written software, the answer that you've probably gotten is "learn assembly language programming." By learning assembly language programming, you learn how the machine really operates and that knowledge will help you write better high-level language code. A dirty little secret assembly language programmers rarely admit to, however, is that what you really need to learn is machine organization, not assembly language programming. Write Great Code Vol I, the first in a series from assembly language expert Randall Hyde, dives right into machine organization without the extra overhead of learning assembly language programming at the same time. And since Write Great Code Vol I concentrates on the machine organization, not assembly language, the reader will learn in greater depth those subjects that are language-independent and of concern to a high level language programmer. Write Great Code Vol I will help programmers make wiser choices with respect to programming statements and data types when writing software, no matter which language they use.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Customers buy this book with The Art of Assembly Language $36.59

Write Great Code: Volume 1: Understanding the Machine + The Art of Assembly Language
Price For Both: $62.95

One of these items ships sooner than the other. Show details

  • This item: Write Great Code: Volume 1: Understanding the Machine

    Usually ships within 9 to 14 days.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • The Art of Assembly Language

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Review

5/5 stars, "you will have a greater understanding and appreciation for code that is written efficiently" -- MacCompanion, January 2005, http://www.maccompanion.com/documents/freeissues/2004/january2005.pdf

About the Author

Randall Hyde is the author of Write Great Code Volumes 1 and 2 (No Starch Press) and the co-author of MASM 6.0 Bible (The Waite Group). He has written for Dr. Dobb ™s Journal, Byte, and various professional journals. Hyde taught assembly language at the University of California, Riverside for over a decade.


Product Details

  • Paperback: 440 pages
  • Publisher: No Starch Press; 1st edition (October 25, 2004)
  • Language: English
  • ISBN-10: 1593270038
  • ISBN-13: 978-1593270032
  • Product Dimensions: 9.2 x 7.1 x 1.1 inches
  • Shipping Weight: 1.9 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #176,391 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

19 Reviews
5 star:
 (16)
4 star:
 (2)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (19 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

61 of 68 people found the following review helpful:
5.0 out of 5 stars many programmers are ignorant of this material, October 31, 2004
This review is from: Write Great Code: Volume 1: Understanding the Machine (Paperback)
As new computer languages arise that have more power, like Java and C#, have you noticed something? Often, someone might learn programming without ever having to know about the architecture of a von Neumann machine. Yet most computers since World War 2 have this design at their very core.

Hyde fills in this gap in the education. At one level, you should read it for "culture". It explains the basis of programming. Granted, for most of us, there is often no direct need for understanding how binary arithmetic is implemented. Or why registers can speed up performance. And what is cache memory, really? We finesse our ignorance by invoking libraries that subsume these details.

The material that Hyde explains may occasionally be of use. What if you need to write some of these low level procedures in assembler, to reduce a bottleneck? After using a profiler on your runtime code to find the key routines, do you have any idea how to improve matters?

Even out of pure intellectual curiosity, you should know what happens at the silicon. Or are you just a wage slave? Programming because you have to? A good programmer who loves to program should know this material. Also, out of pure self interest, you should always burnish your programming skills. To separate you from your peers.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


23 of 23 people found the following review helpful:
5.0 out of 5 stars Great information... But do you really need it?, October 25, 2006
This review is from: Write Great Code: Volume 1: Understanding the Machine (Paperback)
This is a great book but I have to disagree with the overall viewpoint. I've been doing embedded programming for a while and if that's all I'd ever done I would totally agree that understanding low level concepts helps write better code. However, I also write a lot of code in C#. People who normally use high level languages such as C#, VB.Net, or JAVA are probably not going to benefit much from this book. These languages are so far abstracted from the hardware level that the concepts are hard to apply anywhere. On the other hand, if you still use malloc on a daily basis, you need to read the book :) Anyway, the book is easy to read and I never caught any errors. If you want to learn about computers at a low level, then this is a great book to start with!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


17 of 17 people found the following review helpful:
5.0 out of 5 stars Getting down to the core of software development..., December 5, 2004
This review is from: Write Great Code: Volume 1: Understanding the Machine (Paperback)
As computers have gotten smaller and faster, developers have become more and more removed from the lowest levels of programming. Randall Hyde's new book Write Great Code - Volume 1: Understanding The Machine (No Starch Press) will help you get back to the basic levels of how computers work and how that affects your programming.

Chapter List: What You Need To Know To Write Great Code; Numeric Representation; Binary Arithmetic And Bit Operation; Floating-Point Representation; Character Representation; Memory Organization And Access; Composite Data Types And Memory Objects; Boolean Logic And Digital Design; CPU Architecture; Instruction Set Architecture; Memory Architecture And Organization; Input And Output (I/O); Thinking Low-Level, Writing High-Level; ASCII Character Set; Index

It used to be you couldn't program at all without knowing this material. The design of a program was tied closely to the machine architecture, and it drove the instruction set and the overall programming decisions. But now the higher-level programs have made it easier for mere mortals to write a program and be completely oblivious to how a CPU executes an instruction or loads data from memory. Hyde goes into great detail on all the instructional design and theory, and I'd venture to guess that a very small number of programmers (and I'm not one of them) know most of this information. The assumption is that you'll know at least one procedural language (like C, C++, BASIC, or assembly). He rotates examples among C, C++, Pascal, BASIC, and assembly so as to keep the examples as language-neutral as possible. The goal when you finish the reading is that you should understand exactly how the architecture of a CPU affects your program, and how to make programming decisions that will lead to efficient programs. This volume will be followed up by another book titled Think Low-Level, Write High-Level. For me, I think this is where a lot of this information will come together.

Foundational information presented in great detail, and a book that all serious developers should take the time to read and understand.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
mmm field, writing great code, byte gender, denormalized values, arithmetic shift right operation, jnz instruction, destination register operand, dword right, prefetch queue, prefix byte, displacement operand, minterms canonical form, bitmap scheme, positional numbering system, squares containing ones, bit position zero, superscalar operation, controller stack, instruction set design, implied bit, heap manager, bit position one, indexed addressing mode, reg field, mov instruction
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Social Security, Visual Basic, The Art of Assembly Language, Thinking Low-Level, Apple Macintosh, Hello World, Quantitative Approach, Microsoft Windows, Sound Blaster, Understanding the Machine, Engineering Software, Seminumerical Algorithms, Sign Exponent, Volume Two
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

Citations (learn more)



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject