Error loading page.
Try refreshing the page. If that doesn't work, there may be a network issue, and you can use our self test page to see what's preventing the page from loading.
Learn more about possible network issues or contact support for more help.

Write Great Code, Volume 2

ebook

In the beginning, most software was written in assembly,the CPU's low-level language, in order to achieveacceptable performance on relatively slow hardware.Early programmers were sparing in their use of highlevellanguage code, knowing that a high-levellanguage compiler would generate crummy, low-levelmachine code for their software. Today, however,many programmers write in high-level languages likeC, C++, Pascal, Java, or BASIC. The result is oftensloppy, inefficient code. You don't need to give up theproductivity and portability of high-level languages inorder 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 thatyour code does, indeed, generate good machine code
  • The types of machine code statements that compilerstypically generate for common control structures, so youcan choose the best statements when writing HLL code
  • Just enough 80x86 and PowerPC assembly languageto read compiler output
  • How compilers convert various constant andvariable objects into machine data, and how to usethese objects to write faster and shorter programs

    With an understanding of how compilers work, you'llbe able to write source code that they can translateinto elegant machine code. That understanding startsright here, with Write Great Code, Volume 2: ThinkingLow-Level, Writing High-Level.


  • Expand title description text
    Publisher: No Starch Press

    OverDrive Read

    • ISBN: 9781593270650
    • Release date: November 25, 2013

    EPUB ebook

    • ISBN: 9781593270650
    • File size: 5158 KB
    • Release date: November 25, 2013

    Formats

    OverDrive Read
    EPUB ebook

    Languages

    English

    In the beginning, most software was written in assembly,the CPU's low-level language, in order to achieveacceptable performance on relatively slow hardware.Early programmers were sparing in their use of highlevellanguage code, knowing that a high-levellanguage compiler would generate crummy, low-levelmachine code for their software. Today, however,many programmers write in high-level languages likeC, C++, Pascal, Java, or BASIC. The result is oftensloppy, inefficient code. You don't need to give up theproductivity and portability of high-level languages inorder 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 thatyour code does, indeed, generate good machine code
  • The types of machine code statements that compilerstypically generate for common control structures, so youcan choose the best statements when writing HLL code
  • Just enough 80x86 and PowerPC assembly languageto read compiler output
  • How compilers convert various constant andvariable objects into machine data, and how to usethese objects to write faster and shorter programs

    With an understanding of how compilers work, you'llbe able to write source code that they can translateinto elegant machine code. That understanding startsright here, with Write Great Code, Volume 2: ThinkingLow-Level, Writing High-Level.


  • Expand title description text