Cover of Lions' Commentary on UNIX 6th edition with source code

Lions' Commentary on UNIX 6th edition with source code

by John Lions · first published 1996

19mentions
7recommended by
13HN commenters
2010–2020first – last mentioned

54% recommend46% neutral

Why HN recommends it

Annotated walkthrough of the complete 1976 Unix 6th Edition kernel source, prized for showing small, high-quality C code and how an early OS was structured; suits anyone wanting to study operating system design.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

30 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 3 mentions2011: 0 mentions2012: 0 mentions2013: 0 mentions2014: 2 mentions2015: 3 mentions2016: 2 mentions2017: 1 mention2018: 0 mentions2019: 3 mentions2020: 1 mention2021: 0 mentions2022: 0 mentions2023: 0 mentions2024: 0 mentions2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • pm215 · Aug 27, 2019 · Recommends

    My somewhat off-beat recommendation is "Lions' Commentary on UNIX 6th Edition with Source Code". The sources to a 1976 version of Unix written in an archaic dialect of C and targeting a long-dead CPU architecture are obviously not of immediate relevance to the modern world, and may well not be…

    on “Ask HN: Recommended resources to learn the Linux kernel and OS theory?” ↗
  • hga · Feb 17, 2010 · Recommends

    …programming. And kept reading and applying stuff; the key here is to never stop learning. Studying good software was probably the other major way. Back then, it was learning the UNIX V6 kernel with Lions' Commentary on UNIX 6th Edition, with Source Code plus reading the sources of all sorts of things and working on some of them. If you haven't read The Pragmatic Programmer, AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis, something…

    on “ASK HN: How are you becoming a better programmer?” ↗
  • hga · Jan 4, 2015 · Recommends

    Indeed. I think I fit into that category, first used UNIX(TM) in 1978, first programmed in C in 1980-1 ... and I've never thought K&R was a good book. It was Lions' Commentary on UNIX 6th Edition, with Source Code (https://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6t...) that was the key, and since its first edition, I've used C: A Reference Manual by Harbison and Steele (as in Guy Steele), initially written…

    on “Admitting Defeat on K&R in LCTHW” ↗
  • hga · Jan 2, 2010 · Recommends

    Back in 1980 K&R didn't really work well for me beyond the most basic things, the Lions' Commentary on UNIX 6th Edition, with Source Code did the trick, and it will teach you some basic operating system and UNIX things that are still quite useful. A classic, it's a copy of V6 UNIX with (the first really widely distributed one) including…

    on “Ask HN: Best way to learn C” ↗
  • hga · Oct 31, 2010 · Recommends

    …higher levels, in addition to the MIT Computer System Engineering courses mentioned by Mithrandir (http://news.ycombinator.com/item?id=1850311), especially 6.033, check out this classic from the '70s: Lions' Commentary on UNIX 6th Edition, with Source Code (http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th...). Me and a lot of other people learned the basics from it, and while it's certainly dated, it has the advantage of being lucid and complete…

    on “What are the best programming books around?” ↗
  • ludwigvan · Nov 18, 2010 · Recommends

    …http://www.salon.com/technology/feature/2000/09/01/rich_stev... That article led me to this: http://www.salon.com/technology/feature/1999/11/30/lions/ind... which is another fantastic read. You can read about Lions' efforts here: Lions' Commentary on UNIX 6th Edition, with Source Code http://en.wikipedia.org/wiki/Lions_Commentary_on_UNIX_6th_Ed... http://tinyurl.com/2k9rwr (If the link above doesn't work) The commentary is available as a PDF file here: http://www.lemis.com/grog/Documentation/Lions/book.pdf

    on “The Linux Programming Interface” ↗
  • pakled_engineer · May 24, 2015 · Recommends

    This course you build a small OS with the seL4 microkernel on a sabre lite board http://www.cse.unsw.edu.au/~cs9242/current/ Of course there's also Lions' Commentary on UNIX 6th Edition, with Source Code by John Lions and the plan9 operating system design specs you can go through to see why they did what they did. They're "old" resources but basics have stayed the same.

    on “MenuetOS 1.0 – 1.5 MB OS written entirely in assembly [video]” ↗
  • walterbell · May 27, 2015 · Recommends

    (1) Lions on Unix (PDF and source), http://www.lemis.com/grog/Documentation/Lions/index.php http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th... "Lions' Commentary on UNIX 6th Edition, with Source Code by John Lions (1976) contains the complete source code of the 6th Edition Unix kernel plus a commentary. It is commonly referred to as the Lions book. Despite its age, it is still considered an excellent…

    on “Ask HN: What are your recommended reads that are available for free?” ↗
  • hga · Jun 21, 2015 · Recommends

    I have a positive opinion of Australian tech because I was one of many back in the day who learned a lot from Lions' Commentary on UNIX 6th Edition, with Source Code (https://en.wikipedia.org/wiki/Lions'_Commentary_on_UNIX_6th_...). This put the University of New South Wales on the map, and of course Australia as well. Since then, I've noticed you've got a research…

    on “Why we kept our startup in Australia” ↗
  • hga · Apr 24, 2016 · Recommends

    Certainly reading a lot of good C code is a part of this; for me, reading the predecessor Lions' Commentary on UNIX 6th Edition, with Source Code (https://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6t...) was a key part of my learning serious C in the early '90s. Plus of course hacking on programs, most often various ersatz Emacs versions…

    on “Ask HN: Books to learn advanced C programming” ↗
  • chauhankiran · Mar 6, 2017 · Recommends

    I have not completely read yet but one of my favorite is : Lions' Commentary on UNIX 6th Edition, with Source Code[0] [0]. http://www.lemis.com/grog/Documentation/Lions/

    on “Ask HN: Best book/document you've seen explaining a code base” ↗
  • yesenadam · Feb 23, 2019 · Recommends

    "Lions' Commentary on UNIX 6th Edition, with Source Code by John Lions (1976) ...Despite its age, it is still considered an excellent commentary on simple but high quality code. For many years, the Lions book was the only Unix kernel documentation available…

    on “A Heavily-Commented Linux Kernel Source Code [pdf]” ↗
  • tankenmate · Sep 16, 2010 · Mentions

    …above and keep it somewhere close to 20,000 lines of assembly (excluding drivers). If you are looking for an education doing the above will probably do you just as good a job as trying from scratch. Lions' Commentary on UNIX 6th Edition, with Source Code http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th... The Art of Computer Programming http://en.wikipedia.org/wiki/The_Art_of_Computer_Programming

    on “BareMetal OS: A 64-bit Operating System in only 16KiB” ↗
  • dobbsbob · Sep 29, 2014 · Mentions

    There's also the tried and true Lions' Commentary on UNIX 6th Edition with Source Code pdf floating around to understand what's going on in the workings of a timesharing OS. Nickolai Zeldovich a current MIT professor wrote HiStar OS from scratch and it's source is still available online…

    on “Writing a simple operating system from scratch (2010) [pdf]” ↗
  • ciupicri · Aug 21, 2014 · Mentions

    "Lions' Commentary on UNIX 6th Edition, with Source Code" http://en.wikipedia.org/wiki/Lions%27_Commentary_on_UNIX_6th...

    on “fork() can fail” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help