メディア掲載レビューほか
Linkers & loaders リンカーとローダーの動作を歴史的な経緯も含めて網羅的かつ詳細に解説する。CPUアーキテクチャやメモリー管理に言及しつつ,UNIX,Windows,メインフレームの各オブジェクト・ファイル形式について,基礎から解説するとともにその特徴を説明。共有ライブラリやC++言語の登場によるオブジェクト・ファイル形式の変遷についても解説する。また,リンク時最適化などリンカー作成者向けの高度な技術も紹介する。
(日経Linux 2001/12/01 Copyright©2001 日経BP企画..All rights reserved.)
Linkers & loaders
リンカーはコンパイラが生成したファイルを結合して実行ファイルを作るツール。ローダーは実行ファイルをメモリーにロードするプログラムのことである。これらを日常使っているにもかかわらず,具体的にどんな作業をしているのかを意識している人は少ないだろう。
本書は,このリンカーとローダーについて系統立てて説明する数少ない解説書だ。WindowsのCOFF/OMFやUNIXのa.out/ELFといったオブジェクト・ファイルのフォーマット,アドレス再配置の方法,共有ライブラリの仕組みなどを,自分でリンカーやローダーを作れるようになるほど詳細に解説している。プロセサのアーキテクチャにも触れており,あまり予備知識がなくても読むことができる。「プログラムはなぜ動くのか」を理解したい人なら,手に取ってみてほしい。
( 日経ソフトウエア)
(日経ソフトウエア 2001/12/01 Copyright©2001 日経BP企画..All rights reserved.)
-- 日経BP企画
内容紹介
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.
*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.
--このテキストは、
ペーパーバック
版に関連付けられています。