Live data from Hacker News

Xv6, a simple Unix-like teaching operating system

pdos.csail.mit.edu

41–50 of 78 posts

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

#42
post #39

Earlier quoted context omitted.

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.

>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.

So your student have to tell Linus:

Sorry cant help you with your kernel that's not how you're supposed to do it, please learn Rust and rewrite your kernel RN! I don't know in what wannabe rainbow world you live.

BTW Students can think for themself, they honestly DONT believe you if you tell them unix or c nor rust are flawless, teaching something does not mean it's perfect but one way to do it.

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

#43
post #37

Earlier quoted context omitted.

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 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.

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

#44
post #42

Earlier quoted context omitted.

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.

>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. So your student have to tell Linus: Sorry cant help you with your kernel that's not how you're supposed to do it, please learn Rust and rewrite your kernel RN! I don't know in what wannabe rainbow world you live. BTW Students can think for themself, they honestly DONT beli…

Actually Linus is on the way to learn some Rust from those students....

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

#45
post #44
post #42

Earlier quoted context omitted.

>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. So your student have to tell Linus: Sorry cant help you with your kernel that's not how you're supposed to do it, please learn Rust and rewrite your kernel RN! I don't know in what wannabe rainbow world you live. BTW Students can think for themself, they honestly DONT beli…

Actually Linus is on the way to learn some Rust from those students....

Let's see how that experiment works out.

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

#46

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…

Hello again! Already have one person for our Xv6 study circle! Thank you HN! Anybody else? I'm going to sleep now, but if anybody emails me, I will for sure reply in the morning. Best! Tom

[deleted]

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

#47
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?

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

#48
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…

Those who do not learn history will repeat the mistakes. Not sure you want the whole history it history is important.

Btw for politics essence of decision on many historical lesson are still great.

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

#50
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 OpenVMS works for example.

Why learn a Bullshit OS (fuchsia) when you can learn ~unix and cover 90% of usage.

Again Students are not stupid they can read and learn for themselves after learning the basics of a OS...what Xv6 is for.

But maybe you are that hidden genius professor from MIT that could teach everything much better. But then, why do we even talk, right?

Post reply on HN