Found in 4 comments on Hacker News
davidgould · 2019-11-13 · Original thread
"Project Oberon: The Design of an Operating System, a Compiler, and a Computer" by Niklaus Wirth and Jürg Gutknecht

I have the orginal hardbound 1992 edition [0], but it looks like there is a 2013 revision available as a collection of pdfs [1]

[0] https://www.amazon.com/Project-Oberon-Design-Operating-Compi... [1] https://inf.ethz.ch/personal/wirth/ProjectOberon/index.html

You are unlikely to encounter Oberon in the wild, but this book is the clearest and most elegant exposition of a systems design I have seen. They walk through the code for a complete operating system from hardware drivers to file system, compiler, graphic user interface and everything else in less than 10,000 lines of code. The focus on modularity and minimalism is very refreshing.

magoghm · 2017-11-15 · Original thread
The book "Project Oberon: The Design of an Operating System and Compiler" https://www.amazon.com/Project-Oberon-Design-Operating-Compi... contains a detailed explanation of the design for the Oberon compiler and operating system. Not only it is well written with clear explanations, but it also includes the full source code for the compiler and operating system in less than 550 pages!

I learned some interesting compiler techniques from reading that book.

pjmlp · 2017-10-14 · Original thread
I live in Germany, do not always bother to check if the URL contains locale information.

Anyone that actually programmed MS-DOS, knows that we used to program directly against the hardware for actual work. MS-DOS was nothing more than what is usually known as monitor in OS literature.

Continuing the texts from people more relavant to the CS world than me,

"An operating system is a collection of things that don't fit into a language. There shouldn't be one." - Dan Ingalls on

https://archive.org/details/byte-magazine-1981-08 https://www.cs.virginia.edu/~evans/cs655/readings/smalltalk....

"Building Parallel, Embedded, and Real-Time Applications with Ada" - John McCormick

https://www.amazon.co.uk/Building-Parallel-Embedded-Real-Tim...

"Project Oberon: The Design Of An Operating System And Compiler" - Niklaus Wirth

https://www.amazon.co.uk/Project-Oberon-Design-Operating-Com...

And not to let this just be theory, here are a few examples of commercial products using the language runtime to interface with the hardware.

http://www.astrobe.com/default.htm

https://www.mikroe.com/products/#compilers-software

https://www.ptc.com/en/products/developer-tools

magoghm · 2013-04-25 · Original thread
The book "Project Oberon: The Design of an Operating System and Compiler" http://www.amazon.com/Project-Oberon-Design-Operating-Compil... contains a detailed explanation of the design for the Oberon compiler and operating system. Not only it is well written with clear explanations, but it also includes the full source code for the compiler and operating system in less than 550 pages!

I learned some interesting compiler techniques from reading that book.

Fresh book recommendations delivered straight to your inbox every Thursday.