Live data from Hacker News

Xv6, a simple Unix-like teaching operating system

pdos.csail.mit.edu

31–40 of 78 posts

Re: Xv6, a simple Unix-like teaching operating system

#31

I'm not really sure how I feel about universities (which should be teaching modern technologies and methods) teaching ancient 70s stuff like Unix. Do we really want a new generation of people who think Unix was born perfect and cannot be improved upon?

>which should be teaching modern technologies and methods

Ah yeah. Modern=good Ancient=Bad, that's why your car still has wheels right?

Re: Xv6, a simple Unix-like teaching operating system

#32

Earlier quoted context omitted.

MINIX isn't very Unix-like

Right - for a start xv6 is a monolithic kernel, and MINIX is (mostly) not.

The kind of kernel is NOT a definition of a UNIX. Tru64 UNIX and QNX have Micro-kernels, DragonFlyBSD and MacOS Hybrid.

Tru64 UNIX and MacOS are UNIX certified.

>for a start

https://en.wikipedia.org/wiki/Unix

Varies; monolithic, microkernel, hybrid

Re: Xv6, a simple Unix-like teaching operating system

#34
post #29
post #19

Also, XINU, “ Operating System Design - The Xinu Approach”[0] The book isn’t free, but I’ve found it to be fun to work through. The projects are centered around building and running on small boards like beaglebone, Galileo, and more recently raspi (although this isn’t covered in the book.) [0] https://xinu.cs.purdue.edu/

I just scanned the Xv6 book [0] and it seems the book's exercises aren't really to build an OS from scratch, but modify an existing bare-bones OS. When looking at the Xinu book index, it's not clear to me if the Xinu book is different. Does the Xinu book show how to write an OS from scratch or is the book also about making small changes to an existing OS? --- [0]: https://pdos.csail.mit.edu/6.828/2021/xv6/book-riscv-…

It's another bare-bones OS.

I've taken the class at Purdue. The way the class works it was divided into 4 "projects" where you had to add features to Xinu. In my semester those were: a more advanced scheduler, locks, process permissions, and a file-system.

Re: Xv6, a simple Unix-like teaching operating system

#35
post #31

I'm not really sure how I feel about universities (which should be teaching modern technologies and methods) teaching ancient 70s stuff like Unix. Do we really want a new generation of people who think Unix was born perfect and cannot be improved upon?

>which should be teaching modern technologies and methods Ah yeah. Modern=good Ancient=Bad, that's why your car still has wheels right?

My car has wheels with vulcanised rubber tyres, integrated pressure sensors and hydraulic disc brakes. Just like the Romans had right?

Re: Xv6, a simple Unix-like teaching operating system

#36
post #30

I'm not really sure how I feel about universities (which should be teaching modern technologies and methods) teaching ancient 70s stuff like Unix. Do we really want a new generation of people who think Unix was born perfect and cannot be improved upon?

Your comment is almost certainly the stupidest thing I have ever read on HN. I look forward to more insightful comments from you in this vein: "I'm not sure how I feel about universities (which should be teaching modern history) teaching ancient 27BC stuff like the Roman Empire. Do you really want a new generation of people who think the Roman Empire was perfect and cannot be improved upon?" I'm sure students would b…

This course isn't a history lesson. That is pretty clear if you read the course overview - https://pdos.csail.mit.edu/6.828/2021/overview.html

> 23 Not-Invented-Here JavaScript Frameworks

We're talking about operating systems. Do you know the difference between an operating system and a Javascript framework?

Re: Xv6, a simple Unix-like teaching operating system

#37
post #31

Earlier quoted context omitted.

>which should be teaching modern technologies and methods Ah yeah. Modern=good Ancient=Bad, that's why your car still has wheels right?

My car has wheels with vulcanised rubber tyres, integrated pressure sensors and hydraulic disc brakes. Just like the Romans had right?

It's not better, just for a different use-case. That's why every single universal-os is based in 60-90 tech. Your tires are useless for tanks or trains, but wheels are universal.

Let's see how good your tire's are in a chariot race:

https://www.seeker.com/secret-of-roman-race-chariots-found-2...

>>Any iron tire for racing would be a very thin strip of iron on the outside of the wooden rim, best when heat-shrunk on the wood, to consolidate the whole wheel.

Your base is ~unix=wheel and on top your pressure-sensor=Kubernetes (for example), below is your always on disk-brake=x86 ;)

Re: Xv6, a simple Unix-like teaching operating system

#39
post #30

Earlier quoted context omitted.

Your comment is almost certainly the stupidest thing I have ever read on HN. I look forward to more insightful comments from you in this vein: "I'm not sure how I feel about universities (which should be teaching modern history) teaching ancient 27BC stuff like the Roman Empire. Do you really want a new generation of people who think the Roman Empire was perfect and cannot be improved upon?" I'm sure students would b…

This course isn't a history lesson. That is pretty clear if you read the course overview - https://pdos.csail.mit.edu/6.828/2021/overview.html > 23 Not-Invented-Here JavaScript Frameworks We're talking about operating systems. Do you know the difference between an operating system and a Javascript framework?

So teaching c would be a bad idea? Your argumentation is pretty weak...to say it mildly.

Re: Xv6, a simple Unix-like teaching operating system

#40
post #39

Earlier quoted context omitted.

This course isn't a history lesson. That is pretty clear if you read the course overview - https://pdos.csail.mit.edu/6.828/2021/overview.html > 23 Not-Invented-Here JavaScript Frameworks We're talking about operating systems. Do you know the difference between an operating system and a Javascript framework?

So teaching c would be a bad idea? Your argumentation is pretty weak...to say it mildly.

Again, for historical reasons it's probably not a bad idea. But yes it would be a bad idea to teach students C and send them out into the world with the idea that writing C is how you're supposed to do it.
Post reply on HN