Re:MINIX from Scratch
by dmazin on Thursday February 23, 2023 @11:36AM
(#34912748)
I promise that this is a good-faith question: is MINIX still the best OS teaching tool? Personally, I enjoyed the lectures of https://rust-class.org/, though the Rust code itself may be a little outdated (it's from 2014).
[ Parent
| on HN ]
Yes. The MINIX book is still the most accessible text, and MINIX is small enough to be comprehended by a student in a semester.
Re:MINIX from Scratch
by yjftsjthsd-h on Thursday February 23, 2023 @12:36PM
(#34913721)
Any idea how it compares to xv6?
xv6 is a toy, compared.
the foundational aspects of actually-used operating systems have been basically the same for 25 years or so. Lots of improvements, sure, but the basic ideas remain the same. MINIX3 is even kind of advanced compared to, say, Linux, since it uses a microkernel architecture. So it's as fine place to start as any.
Minix always used a microkernel even in early versions. It was the source of a big flamewar between Linus and Tanenbaum back in the day :)
Microkernels are not really modern as such. Just different.
Re:MINIX from Scratch
by TedDoesntTalk on Thursday February 23, 2023 @01:25PM
(#34914407)
> basically the same for 25 years or so
Minix is a lot older than 25 years. Your point stands, but you need to increase the age. Minix and Tannenbaum's textbook was part of my operating systems class in undergrad CS. I think I took that class in 1989 or 1990.
'Best' is subjective, of course. If you think a pretty well written, accessible textbook coupled with a working, non-trivial but understandable codebase to examine is a good way to learn things, then "Operating Systems: Design and Implementation" and Minix is a pretty good choice. YMMV.
Has it ever been a consensus best? Today xv6 is likely the most popular choice and before xv6 there was nachos and its more recent offshoots.
I think that they answer that here^1 But the short answer is the author seems to believe so.