Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Advanced UNIX programming

    Advanced UNIX programming

    Marc J. Rochkind · 1985

    This book covers how to program UNIX clearly and systematically at the system call level while providing the seasoned programmer with practical advice for using I/O on files and terminals, multitasking, signals and system administration.

    Systems & OSProgramming
    Open LibraryAmazon
    Stats for nerds
    12recommend
    26mentions
    15people
    2010–2024years
    81% recommend19% neutral

    Mentions per year

    20102012201420162018202020222024

    What Hacker News says

    1. emmelaichDec 2024
      You might have a look the source for Advanced UNIX Programming by Marc Rochkind, too.

      In the book it starts literally with a one-shot shell - exec - and moves onto fancier ones, including piping etc.

      First version of source accompanying the book is at https://github.com/gmarler/AUPv2/blob/master/c5/sh0.c and does multiple commands.

      thread
    2. rramadassJul 2024
      To your first three above, add Marc Rochkind's Advanced Unix Programming and Richard Stevens' Advanced Programming in the Unix Environment and you have got yourself a complete course in C/Unix programming which is the bedrock for everything else; C is the "lingua franca" and Unix (via its variants) the "standard" OS.

      Tip: Many of these old books can be had for cheap as used copies on Amazon/Betterworldbooks etc.

      thread
    3. ww520Apr 2023
      It's talking about the user mode application development. The Linux system API doesn't change much. May be the newer stuff like io_uring appears recently.

      I have the Advanced Unix Programming book. From looking at the copyright, it first started from 1985. It talks about programming on io/file/process/ipc/signal/device/terminal/security/permission/etc. It's still relevant today.

      thread
    4. alfiedotwtfJun 2021
      > Now I wonder how I can get access to this type of information, how to properly learn it?

      You've already got half the solution... "Advanced UNIX Programming" was the goto since it was written, and it has a tonne of industry knowledge e.g fork twice and close handles etc.

      "The Linux Programming Interface" is kind of that book for the 21st century, and covers pretty much any topic you'll ever encounter on the systems end.

      > Half of the stuff they wrote I didn't understand

      Sounds like you bought the books but never read them... because it's all in there.

      thread
    5. rramadassJun 2021
      "Systems Programming" from a Application Developer's pov involves knowledge of;

        * Low-level languages, compiler runtimes, toolchains and libraries.
        * OS system call apis. 
        * Concurrency. 
        * Networking.
      
      You need books/papers which will teach and walk you through sample idioms and applications in the above domains. A prerequisite is fluency in the C language. With that in mind the following are recommended (some are old books which you can buy used and cheap wherever possible);

      * Computer Systems: A Programmer's Perspective by Bryant and O'Hallaron.

      * The C Companion by Allen Holub. A gem of an oldie.

      * ELF: From the Programmer's Perspective; a paper by Hongjiu Lu.

      * UNIX Network Programming by Richard Stevens. Initially, get the old 1st edition since it contains TCP/IP, IPC etc. all in one volume.

      * Advanced UNIX Programming by Marc Rochkind.

      * Advanced programming in the UNIX Environment by Richard Stevens.

      * UNIX Systems Programming by Robbins and Robbins.

      * Programming for the Real World, POSIX.4 by Bill Gallmeister.

      thread
    6. emmelaichFeb 2021
      If you'd like to see Marc Rochkind's other stuff, go to https://basepath.com/new/books.php

      I can particularly recommend Advanced UNIX Programming (2nd Edition) even though it is a little old.

      thread

    Related

    Cover of The UNIX programming environment
    2007–2026

    The UNIX programming environment

    Brian W. Kernighan
    86 recommend · 215
    Cover of Advanced programming in the Unix environment
    2008–2025

    Advanced programming in the Unix environment

    W. Richard Stevens
    100 recommend · 153
    Cover of Practical UNIX programming
    2021–2024

    Practical UNIX programming

    Kay A. Robbins
    2 recommend · 2
    Cover of Compiler construction for digital computers
    2015–2026

    Compiler construction for digital computers

    David Gries
    1 recommend · 7
    Cover of UNIX Shell programming
    2014–2023

    UNIX Shell programming

    Stephen G. Kochan
    4 recommend · 6
    Cover of Unix Network Programming
    2009–2026

    Unix Network Programming

    W. Richard Stevens
    54 recommend · 78
    Cover of UNIX
    2010–2026

    UNIX

    Brian W. Kernighan
    14 recommend · 28
    Cover of UNIX systems programming
    2010–2024

    UNIX systems programming

    Kay A Robbins
    6 recommend · 12