Linkers And Loaders / Edition 1

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $15.94
Usually ships in 1-2 business days
(Save 76%)
Other sellers (Paperback)
  • All (14) from $15.94   
  • New (7) from $34.44   
  • Used (7) from $15.93   

Overview

"I enjoyed reading this useful overview of the techniques and challenges of implementing linkers and loaders. While most of the examples are focused on three computer architectures that are widely used today, there are also many side comments about interesting and quirky computer architectures of the past. I can tell from these war stories that the author really has been there himself and survived to tell the tale." —Guy Steele

Whatever your programming language, whatever your platform, you probably tap into linker and loader functions all the time. But do you know how to use them to their greatest possible advantage? Only now, with the publication of Linkers & Loaders, is there an authoritative book devoted entirely to these deep-seated compile-time and run-time processes.
The book begins with a detailed and comparative account of linking and loading that illustrates the differences among various compilers and operating systems. On top of this foundation, the author presents clear practical advice to help you create faster, cleaner code. You'll learn to avoid the pitfalls associated with Windows DLLs, take advantage of the space-saving, performance-improving techniques supported by many modern linkers, make the best use of the UNIX ELF library scheme, and much more. If you're serious about programming, you'll devour this unique guide to one of the field's least understood topics. Linkers & Loaders is also an ideal supplementary text for compiler and operating systems courses.

Features:
* Includes a linker construction project written in Perl, with project files available for download.
* Covers dynamic linking in Windows, UNIX, Linux, BeOS, and other operating systems.
* Explains the Java linking model and how it figures in network applets and extensible Java code.
* Helps you write more elegant and effective code, and build applications that compile, load, and run more efficiently.

Audience: Practicing programmers, computer language designers and developers, and students.

Read More Show Less

Editorial Reviews

From the Publisher
"I enjoyed reading this useful overview of the techniques and challenges of implementing linkers and loaders. While most of the examples are focused on three computer architectures that are widely used today, there are also many side comments about interesting and quirky computer architectures of the past. I can tell from these war stories that the author really has been there himself and survived to tell the tale."—Guy Steele
Jack J. Woehr

Linkers & Loaders, by John Levine, is tightly focused on the domain of program linkage and symbol resolution. It takes you on an argosy commencing at IBM 370 assembly linking and ending up in C++ on modern Pentium and RISC architectures, visiting many of the islands in the archipelago in between, such as UNIX a.out, COFF, ELF, PC DOS OMF, and Window NT PE format.

Levine, moderator of the comp.compilers Internet newsgroup, is a world-class expert in the field and makes his points clearly and concisely, injecting opinion only in summaries of the plusses and minuses of the various object formats, evaluating them much as if they were fine wines. Levine pulls no rabbits from hats; he provides references, including web references for publications that also reside online, with which you can deepen your knowledge of specific formats and platforms.

The computer press has tended in recent years to gassy books that hop around subjects related only by their commercial context (a flaw of many or most of the Java books in print, for example). Linkers & Loaders is classic computer technical writing, focused on minutiae, ship-in-the-bottle all the way. Still, it's not so detail-obsessed that it becomes a shelf reference rather than an pleasant and rapidly absorbed introductory volume.

Linkers & Loaders is probably the quickest way to get a fully satisfactory introduction to the subject of compile-time linkage and run-time loading, especially the modern UNIX formats. What Levine doesn't cover you'll be prepared to deduce from the header files after you have read this well-written, well-edited, well-indexed, and well-designed book.
Electronic Review of Computer Books

Booknews
Linkers and loaders are the critical tools that permit programs to be built from modules rather than as one big monolith. With the advent of C++, Java, and other object-oriented languages, these tools have become increasingly more complex. After a brief historical overview of the topic, this manual covers computer architecture from the point of view of linker design, the internal structure of object and executable files, the allocation of storage to the segments of linked programs, symbol hiding and resolution, address relocation, and statically and dynamically linked libraries. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

Meet the Author

John Levine is the author or co-author of many books, including lex & yac (O'Reilly), Programming for Graphics Files in C and C++ (Wiley), and The Internet for Dummies (IDG). He is also publisher emeritus of the Journal of C Language Translation, long-time moderator of the comp.compilers newsgroup, and the creator of one of the first commercial Fortran 77 compilers. He holds a Ph.D. in Computer Science from Yale University.
Read More Show Less

Table of Contents

Linking and Loading. Architectural Issues. Object Files. Storage Allocation. Symbol Management. Libraries. Relocation. Loading and Overlays. Shared Libraries. Dynamic Linking and Loading. Advanced Techniques.
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)