Linkers and Loaders (Paperback)

John R. Levine

  • 出版商: Morgan Kaufmann
  • 出版日期: 1999-10-11
  • 售價: $2,460
  • 貴賓價: 9.8$2,411
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1558604960
  • ISBN-13: 9781558604964
  • 相關分類: Compiler
  • 相關翻譯: 鏈接器和加載器 (簡中版)
  • 立即出貨 (庫存=1)



Order This Book | Authors | Contents | Web-Enhanced | Related Titles


"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. Youll 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 youre serious about programming, youll devour this unique guide to one of the fields least understood topics. Linkers & Loaders is also an ideal supplementary text for compiler and operating systems courses.


  • 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.


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.

Table of Contents:

1) Linking and Loading
2) Architectural Issues
3) Object Files
4) Storage Allocation
5) Symbol Management
6) Libraries
7) Relocation
8) Loading and Overlays
9) Shared Libraries
10) Dynamic Linking and Loading
11) Advanced Techniques


Coming Soon.

Related Titles:

Software Engineering & Programming




「我很喜歡閱讀這本有關連結器和載入器實現技術和挑戰的有用概述。雖然大部分的例子都集中在當今廣泛使用的三種計算機架構上,但也有很多關於過去有趣和奇特的計算機架構的旁白。從這些故事中,我可以看出作者真的親身經歷過並成功地講述了這個故事。」- Guy Steele


這本書以詳細且比較性的方式介紹了連結和載入的差異,並說明了各種編譯器和操作系統之間的差異。在此基礎上,作者提供了清晰的實用建議,幫助您創建更快、更乾淨的代碼。您將學會避免與Windows DLL相關的陷阱,利用許多現代連結器支持的節省空間和提高性能的技術,充分利用UNIX ELF庫方案,以及更多。如果您對編程非常認真,您將熟讀這本對於這個領域最不被理解的主題的獨特指南。《連結器和載入器》也是編譯器和操作系統課程的理想補充教材。

- 包括一個使用Perl編寫的連結器構建項目,可下載項目文件。
- 講解了Windows、UNIX、Linux、BeOS和其他操作系統中的動態連結。
- 解釋了Java連結模型及其在網絡小程序和可擴展Java代碼中的應用。
- 幫助您編寫更優雅、更有效的代碼,並構建編譯、載入和運行更高效的應用程序。

John Levine是許多書籍的作者或合著者,包括《lex & yac》(O'Reilly)、《C和C++圖形文件編程》(Wiley)和《Dummies的互聯網》(IDG)。他還是《C語言翻譯期刊》的退休出版商,長期擔任comp.compilers新聞組的主持人,也是最早的商業Fortran 77編譯器之一的創作者。他擁有耶魯大學的計算機科學博士學位。

1) 連結和載入
2) 架構問題
3) 目標文件
4) 存儲分配
5) 符號管理
6) 函式庫
7) 重定位
8) 載入和覆蓋
9) 共享庫
10) 動態連結和載入
11) 高級技術