Book Description
This book is about writing software that makes the most effective use of the system you're running on -- code that interfaces directly with the kernel and core system libraries, including the shell, text editor, compiler, debugger, core utilities, and system daemons. The majority of both Unix and Linux code is still written at the system level, and Linux System Programming focuses on everything above the kernel, where applications such as Apache, bash, cp, vim, Emacs, gcc, gdb, glibc, ls, mv, and X exist.
Written primarily for engineers looking to program (better) at the low level, this book is an ideal teaching tool for any programmer. Even with the trend toward high-level development, either through web software (such as PHP) or managed code (C#), someone still has to write the PHP interpreter and the C# virtual machine. Linux System Programming gives you an understanding of core internals that makes for better code, no matter where it appears in the stack. Debugging high-level code often requires you to understand the system calls and kernel behavior of your operating system, too.
Key topics include:
An overview of Linux, the kernel, the C library, and the C compiler
Reading from and writing to files, along with other basic file I/O operations, including how the Linux kernel implements and manages file I/O
Buffer size management, including the Standard I/O library
Advanced I/O interfaces, memory mappings, and optimization techniques
The family of system calls for basic process management
Advanced process management, including real-time processes
File and directories-creating, moving, copying, deleting, and managing them
Memory management -- interfaces for allocating memory, managing the memory you have, and optimizing your memory access
Signals and their role on a Unix system, plus basic and advanced signal interfaces
Time, sleeping, and clock management, starting with the basics and continuing through POSIX clocks and high resolution timers
With Linux System Programming, you will be able to take an in-depth look at Linux from both a theoretical and an applied perspective as you cover a wide range of programming topics.
發表於2024-12-22
Linux System Programming 2024 pdf epub mobi 電子書 下載
以前受到amazon上評論的影響,一直以為這就是本API Reference,所以買來後一直都沒翻過。前幾天偶然翻看,纔發覺誤會瞭。這不是類似APUE那種手把手教你的書,這本書中往往是用短短的一段話來陳述瞭一些概念背後的東西,注意,是“陳述”,沒有循循善誘。所以看此書之前最好還是...
評分http://linuxtoy.org/archives/linux-system-programming-chinese-edition.html
評分1.這本書頁數不多。但側重點也不多,從目錄可以看齣,它不像APUE一樣,對*nix係統編程做瞭全麵的描述。但對於書中所包含的IO,Memory,Process Control等係統都有較為深入的講解。 2.IO相關的章節是這本書的亮點 3.與APUE相比,APUE更像是告訴你,事物究竟是什麼,然後你來做,而...
評分這本書和beginning linux programming以及complete reference of linux programming不同,作者的針對性非常強,僅僅是設計linux係統級彆上的程序,或者說,告訴讀者如何用編譯程序來實現linux係統命令的功能。直接往往是高效率,但又容易産生差距感。我更傾嚮於把這本書當作手...
評分沒覺得有多特彆,後來發現LKD也是作者的作品,所以靜下心來讀,這書還是很不錯的。 買瞭一堆Unix編程的書,都沒有好好讀過。 這次要看完這本。加油。
圖書標籤: Linux Programming System kernel 編程 Linux/Unix 計算機 操作係統
幫我掃清瞭一些知識盲點
評分內容翔實,文筆流暢,即可
評分沒什麼特點
評分不厚道,簡直就一本man手冊,不過隻看電子書還不錯。。
評分沒有找到這本書的影印版或中文版,不好意思的看瞭電子版,相對於APUE來說,除瞭更輕薄以外,更新和更貼近現代 Linux 是這本書的優點。
Linux System Programming 2024 pdf epub mobi 電子書 下載