Out of curiousity, why would a small kernel take a whole 200ms to start on a modern computer? Wouldn't it need to initialize some metadata for the memory pages, mount the filesystem, and try to launch an init process? I suppose there might be an ethernet driver and possibly something to pipe logs to ("stdout" for the VM) to initialize. Shouldn't that all take a few microseconds? Or is all the slowness in the host pre…
MotorOS: a Rust-first operating system for x64 VMs
71–80 of 125 posts
Re: MotorOS: a Rust-first operating system for x64 VMs
#72One thing I keep hoping to see in all of these kernels in Rust is an async first kernel. Is there something that makes this particularly difficult or do folks not see the value in it? I know from following along with Phil Oppermann’s OS in Rust series that is definitely possible, but these last few OS’ in Rust seem to not be attempting this, https://os.phil-opp.com/async-await/
Re: MotorOS: a Rust-first operating system for x64 VMs
#73Sounds interesting, but it also reminds me of what Linus once said when asked about fearing competition. From my memory his answer was something like: I really like writing device drivers. Few people like that and until someone young and hungry comes along who likes that I'm not afraid of competition.
Re: MotorOS: a Rust-first operating system for x64 VMs
#74Earlier quoted context omitted.
> your favorite game consoles unless it's a steamDeck, ofc. No love for consoles, though.
If I'm in the mood for being a little glib... where do you think that Linux distribution that SteamOS is based on got its user-space (or more seriously, its drivers?) Also: the SteamDeck is by any reasonable standard a console. It just happens to run a windowed environment out of the box. Don't be that guy. If you want to pump Valve, focus instead on their contributions to the Wine project.
Re: MotorOS: a Rust-first operating system for x64 VMs
#75Earlier quoted context omitted.
> your favorite game consoles unless it's a steamDeck, ofc. No love for consoles, though.
If I'm in the mood for being a little glib... where do you think that Linux distribution that SteamOS is based on got its user-space (or more seriously, its drivers?) Also: the SteamDeck is by any reasonable standard a console. It just happens to run a windowed environment out of the box. Don't be that guy. If you want to pump Valve, focus instead on their contributions to the Wine project.
Are you saying that Arch gets its userspace and drivers from FreeBSD?
Re: MotorOS: a Rust-first operating system for x64 VMs
#76It sounds like a cool project and I hope it continues development, but there is such a huge graveyard of such projects that have never gone anywhere that I struggle to get excited about them anymore. Replacing Linux is really hard, even for specific uses like cloud.
Replacing Linux is hard even for the BSDs, and those are very well established and considered basically next-in-line for similar tasks.
Re: MotorOS: a Rust-first operating system for x64 VMs
#77Out of curiousity, why would a small kernel take a whole 200ms to start on a modern computer? Wouldn't it need to initialize some metadata for the memory pages, mount the filesystem, and try to launch an init process? I suppose there might be an ethernet driver and possibly something to pipe logs to ("stdout" for the VM) to initialize. Shouldn't that all take a few microseconds? Or is all the slowness in the host pre…
Re: MotorOS: a Rust-first operating system for x64 VMs
#78[flagged]
Everything is relative of course but it's a consensus view in OS literature that the Unix family of operating systems doesn't have strong security. There's a huge TCB in which bugs lead to vulnerabilities with high probability, as we see all the time. This is why eg cloud providers don't rely on the OS to isolate customers from each other. Since the reneissance of virtualization, many security focused systems have bu…
Re: MotorOS: a Rust-first operating system for x64 VMs
#79Yeah, this seems like it's more directly competing with those than Linux. I'd want to see those addressed in the "Why?" -- that is, why MotorOs instead of Docker, etc.?
Re: MotorOS: a Rust-first operating system for x64 VMs
#80One thing I keep hoping to see in all of these kernels in Rust is an async first kernel. Is there something that makes this particularly difficult or do folks not see the value in it? I know from following along with Phil Oppermann’s OS in Rust series that is definitely possible, but these last few OS’ in Rust seem to not be attempting this, https://os.phil-opp.com/async-await/
Out of curiosity, what would be the benefit?