(Reposts are ok after a year or so: https://news.ycombinator.com/newsfaq.html)
Xv6, a simple Unix-like teaching operating system
21–30 of 34 posts
Re: Xv6, a simple Unix-like teaching operating system
#22Earlier quoted context omitted.
OpenBSD is huge (just like any general-purpose OS would be today). It's not a "teaching OS." Minix would be a better alternative, IMHO.
agree - possibly any of the BSD's might be a good follow up for 'advanced' study since the codebase & kernel structures have a direct lineage. Maybe doing the 'base' course on like 4.2BSD which is still smaller and close to v7 might make sense
[1] https://virtuallyfun.com/wordpress/2018/11/26/why-bsd-os-is-...
Re: Xv6, a simple Unix-like teaching operating system
#23Similar teaching operating systems include: Blog OS, an operating system written in Rust constructed through a series of independent tutorials.[0] The CS140E embedded operating system.[1] This OS comes from an experimental course taught by Dawson Engler at Standford. The instruction is lab-based with no lectures. The student builds the OS on a Raspberry Pi through the use of primary-source technical references like d…
The nice thing about xv6 is it gets a lot farther to be a full OS. User mode, ELF loader, an ascetic but usable system call table, etc.
Re: Xv6, a simple Unix-like teaching operating system
#24Earlier quoted context omitted.
The nice thing about xv6 is it gets a lot farther to be a full OS. User mode, ELF loader, an ascetic but usable system call table, etc.
If you want an even fuller OS for teaching purposes, early versions of Minix were designed with teaching in mind, and there’s a book to go along with it.
And xv6 has a book that goes along with it as well.
Re: Xv6, a simple Unix-like teaching operating system
#25Similar teaching operating systems include: Blog OS, an operating system written in Rust constructed through a series of independent tutorials.[0] The CS140E embedded operating system.[1] This OS comes from an experimental course taught by Dawson Engler at Standford. The instruction is lab-based with no lectures. The student builds the OS on a Raspberry Pi through the use of primary-source technical references like d…
Re: Xv6, a simple Unix-like teaching operating system
#26[0]https://ocw.mit.edu/courses/electrical-engineering-and-compu...
Re: Xv6, a simple Unix-like teaching operating system
#27Re: Xv6, a simple Unix-like teaching operating system
#28Re: Xv6, a simple Unix-like teaching operating system
#29PintOS is also a nice learning OS that's been used in classes. It is initially incomplete and there are 4 projects to implement process schedulling, paging, files. It simplifies the learning process since the hardware related initialization code is already implemented and is readable enough to be understood, while allowing you to focus on implementing the main ideas in OSs. Currently I'm doing project 1 on my own. It…
Re: Xv6, a simple Unix-like teaching operating system
#30What am I supposed to do with it?
How is one to learn without instructions? Or it only to teach those whom already know the answers?