Live data from Hacker News

Advanced Linux Programming – book with free PDF (2001)

advancedlinuxprogramming.com

1–10 of 38 posts

Re: Advanced Linux Programming – book with free PDF (2001)

#3
post #2

>> http://advancedlinuxprogramming.com/about.html This appears to be the first edition of the book, published in 2001. Is this book still useful, considering it's 15 years old?

If you're looking for a better maintained book, I'd recommend "Advanced Programming in the UNIX Environment" by W. Richard Stevens, revised by Stephen A. Rago. It's not a free PDF however, but well worth the money.

Re: Advanced Linux Programming – book with free PDF (2001)

#4
post #2

>> http://advancedlinuxprogramming.com/about.html This appears to be the first edition of the book, published in 2001. Is this book still useful, considering it's 15 years old?

Some of the subjects it treats are low-level enough (and of Unix-ish heritage) that their treatment is probably not irrelevant today. The performance considerations of threads and processes are probably out of date, but their API (sections 3 and 4) is largely still the same. Same for shared memory and other IPC mechanisms described in section 5. The API re. section 7 still applies -- /proc has expanded considerably since 2001, but it's still used in the same manner. Chapter 8 is probably more out of date than others, but you can still follow it. Stuff in 9 is probably not used much anymore, an #10, while adequate, would probably be considered incomplete today.

I'd say it's still useful to someone who comes to Linux from other platforms, or to people who are already using Linux but aren't familiar with systems programming under it.

Edit: although, as someone else pointed out, APUE is probably a better choice (and was a better choice back in 2001, too).

Re: Advanced Linux Programming – book with free PDF (2001)

#7
Two alternative, and better, choices, if you're willing to spend a few dollars (and hopefully expense it to your manager):

The Linux Programming Interface: http://www.amazon.com/Linux-Programming-Interface-System-Han...

Advanced Programming in the UNIX Environment: http://www.amazon.com/Advanced-Programming-UNIX-Environment-...

A not-too-distant third choice, Linux System Programming: http://www.amazon.com/Linux-System-Programming-Talking-Direc...

Re: Advanced Linux Programming – book with free PDF (2001)

#8
post #6

I'd recommend this book instead 'The Linux Programming Interface' http://man7.org/tlpi/ it's a lot more recent and the content is excellent, though it's not a free download. The author is also the maintainer of the linux man pages.

Well I don't think it is so much better, I is very usefull but it seems to my more like a manual than a book

Re: Advanced Linux Programming – book with free PDF (2001)

#10
post #7

Two alternative, and better, choices, if you're willing to spend a few dollars (and hopefully expense it to your manager): The Linux Programming Interface: http://www.amazon.com/Linux-Programming-Interface-System-Han... Advanced Programming in the UNIX Environment: http://www.amazon.com/Advanced-Programming-UNIX-Environment-... A not-too-distant third choice, Linux System Programming: http://www.amazon.com/Linux-Syst…

In my opinion these are best two books on the subject. Stevens' book is classic and have been updated quite recently (3rd edition came out 3 years ago), LPI is very extensive and have some specific Linux info not present in Stevens' book and is clearly influenced by Stevens book.
Post reply on HN