Live data from Hacker News

Xv6, a simple Unix-like teaching operating system

pdos.csail.mit.edu

51–60 of 78 posts

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

#52

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?

Maybe simplicity? Something that can be understood easily in a few weeks, and then you may start implementing whatever features you find useful. Oh, and Xv6 is buildable under 1 minute on modern machine, and don't need a custom-build toolchain.

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

#54

Hello! I have an antique server with qemu set up to run Xv6.[1] I wanted somebody to go through the course with me.[2] So far nobody has come aboard, and I haven't really started. If anyone here might be interested, please feel free to get in touch: notoles@metalvps.com. It would be super great to have a few friends along! Thank you! Best wishes and kindest regards, Tom [1] https://lowendbox.com/blog/how-to-compile-t…

Really wish I could join but I'm not there yet, need more work to get there. Good luck and have fun!

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

#55

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?

>Do we really want a new generation of people who think Unix was born perfect and cannot be improved upon?

Yes. "Perfect" may be debatable (what is "perfect" anyway?), but it has lasted over half a century so they must have done something well!

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

#56
post #37

Earlier quoted context omitted.

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 th…

It sounds like you can't imagine something fundamentally different to Unix. Not everything is built on Unix. I would suggest looking up how Fuchsia works for example.

>I would suggest looking up how Fuchsia works for example.

I would agree with you...after Fuschsia has proven itself in the real world for a few decades. At this point -it has not.

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

#57
post #32

Earlier quoted context omitted.

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

> Tru64 UNIX and QNX have Micro-kernels, DragonFlyBSD and MacOS Hybrid.

You're reading too much into my comment. The original PDP-7 (and later PDP-11) Unix are monolithic kernels. The most popular Unix variants or clones today (Linux, Free/Net/OpenBSD) are all monolithic kernels.

Tru64 is long dead. QNX has a niche market. DragonFly ... not much market share. MacOS? As you say, hybrid, not microkernel, and is hardly successful in the same space that the monolithic kernel Unices are (ie. servers).

It's not hard to argue that Unix has historically been a monolithic design, and that those have been the most successful, even if you can certify various microkernels. Of course this comment may not hold for another 50 years, but it is certainly true of the last 50.

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

#58
post #32

Earlier quoted context omitted.

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

> Tru64 UNIX and QNX have Micro-kernels, DragonFlyBSD and MacOS Hybrid. You're reading too much into my comment. The original PDP-7 (and later PDP-11) Unix are monolithic kernels. The most popular Unix variants or clones today (Linux, Free/Net/OpenBSD) are all monolithic kernels. Tru64 is long dead. QNX has a niche market. DragonFly ... not much market share. MacOS? As you say, hybrid, not microkernel, and is hardly…

I would argue that linux and macos are the most popular.

And its really not my problem if you think a unix has to be mono..thats just wrong and you know it.

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

#59
post #58

Earlier quoted context omitted.

> Tru64 UNIX and QNX have Micro-kernels, DragonFlyBSD and MacOS Hybrid. You're reading too much into my comment. The original PDP-7 (and later PDP-11) Unix are monolithic kernels. The most popular Unix variants or clones today (Linux, Free/Net/OpenBSD) are all monolithic kernels. Tru64 is long dead. QNX has a niche market. DragonFly ... not much market share. MacOS? As you say, hybrid, not microkernel, and is hardly…

I would argue that linux and macos are the most popular. And its really not my problem if you think a unix has to be mono..thats just wrong and you know it.

I would argue MINIX is the most popular… as it runs in every Intel CPU.

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

#60
post #3

For those interested in a slightly more readable code and modern build system, shameless plug of my attempt at some xv6 modernization: https://github.com/NewbiZ/xv6

Is this a fork of xv6? Did you get permission to remove the LICENSE file?

I checked. It's definitely a fork. Eg, compare https://github.com/NewbiZ/xv6/blob/master/fs/fs.c to https://github.com/mit-pdos/xv6-public/blob/master/fs.c .

I didn't find a mention of the original copyright.

Post reply on HN