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.
这本书和beginning linux programming以及complete reference of linux programming不同,作者的针对性非常强,仅仅是设计linux系统级别上的程序,或者说,告诉读者如何用编译程序来实现linux系统命令的功能。直接往往是高效率,但又容易产生差距感。我更倾向于把这本书当作手...
评分以前受到amazon上评论的影响,一直以为这就是本API Reference,所以买来后一直都没翻过。前几天偶然翻看,才发觉误会了。这不是类似APUE那种手把手教你的书,这本书中往往是用短短的一段话来陈述了一些概念背后的东西,注意,是“陈述”,没有循循善诱。所以看此书之前最好还是...
评分工作需要下了个电子版的稍微看了下,就看讲解关于epoll,讲的非常棒,介于google上epoll相关资料不全且例子有少许错误,对于刚接触epoll是不适合的,只能找相关书籍,非常好的一本书,就侧重点来说。
评分1.这本书页数不多。但侧重点也不多,从目录可以看出,它不像APUE一样,对*nix系统编程做了全面的描述。但对于书中所包含的IO,Memory,Process Control等系统都有较为深入的讲解。 2.IO相关的章节是这本书的亮点 3.与APUE相比,APUE更像是告诉你,事物究竟是什么,然后你来做,而...
评分没觉得有多特别,后来发现LKD也是作者的作品,所以静下心来读,这书还是很不错的。 买了一堆Unix编程的书,都没有好好读过。 这次要看完这本。加油。
这本书不是太完整,缺不少内容,例如IPC,Thread
评分重点突出,应用与原理相结合,神书无疑了,比APUE更具可读性
评分没有找到这本书的影印版或中文版,不好意思的看了电子版,相对于APUE来说,除了更轻薄以外,更新和更贴近现代 Linux 是这本书的优点。
评分作为第一本 Linux 编程书来说是不错的教材,深入浅出,介绍了一些基本概念。可以解答很多新手的疑惑。但是并不是非常深入,书中的例子都非常简单,基本是调用一下 API,动手实践方面不太行。另外是每次介绍 API 的时候都会贴很多 error 类型以及介绍,占了很大的篇幅…… 很多我都是跳过去了…… 总的来说还是一本不可多得的好书。
评分这本书不是太完整,缺不少内容,例如IPC,Thread
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有