Re:Redox OS – A Unix-Like Operating System Written in Rust
by VWWHFSfQ on Thursday March 02, 2023 @10:59PM
(#35005632)
It's only a matter of time before the Linux kernel itself is rewritten in Rust. Or, more likely, a Rust-based replacement is written.
[ Parent
| on HN ]
Re:Redox OS – A Unix-Like Operating System Written in Rust
by andyjda on Thursday March 02, 2023 @11:17PM
(#35005756)
why is it that any mention of Rust on the internet will bring about these wildly-overshooting claims. The amount of production software having been re-written in Rust (or replaced by a Rust counterpart) is minimal. This kind of rewrite is rare for any programming language. Yet claims like this are everywhere.
Re:Redox OS – A Unix-Like Operating System Written in Rust
by bitcoinmoney on Thursday March 02, 2023 @11:33PM
(#35005838)
I thought it was a troll comment.
Re:Redox OS – A Unix-Like Operating System Written in Rust
by andyjda on Friday March 03, 2023 @12:04AM
(#35006033)
I find it annoying either way: it doesn't provide valuable/novel information and isn't conducive to productive conversation (in part because it's unclear if it's sarcastic or earnest)
Re:Redox OS – A Unix-Like Operating System Written in Rust
by t-3 on Thursday March 02, 2023 @11:35PM
(#35005852)
If you're going to write a whole kernel in Rust, why would you settle for making a copy of Linux? Bug-for-bug compatibility with 30 years of cruft isn't exactly exciting or even necessary.
Re:Redox OS – A Unix-Like Operating System Written in Rust
by eddsh1994 on Thursday March 02, 2023 @11:03PM
(#35005668)
Imagine the number of developer years required for even just parity…
Re:Redox OS – A Unix-Like Operating System Written in Rust
by fbdab103 on Thursday March 02, 2023 @11:29PM
(#35005818)
I think it is a Ship of Theseus situation. Once Rust becomes acceptable in the core kernel, module by module, it is going to spread.
I am fully Team Rust for core infrastructure, but I am curious how many security blunders in the kernel are memory errors vs bad security architecture.
Re:Redox OS – A Unix-Like Operating System Written in Rust
by djbusby on Thursday March 02, 2023 @11:28PM
(#35005809)
20 years, 1000+ devs. Just a guess.
Re:Redox OS – A Unix-Like Operating System Written in Rust
by sliken on Thursday March 02, 2023 @11:53PM
(#35005969)
Sort of. Is the Linux kernel huge and has an amazing number of man years in it .... certainly.
If starting over from scratch could you ignore most architectures, drivers, etc and support current hardware ... also yes.
A new OS could skip 32 bit mode, alpha, mips, itanium, loongarch, 68k, pa-risc, powerpc, s390, superH, sparc, parallel ports, serial ports, supporting zillions of PCI/PCIe cards that you can't buy any more, messing around with archaic 16 bit bootloaders, etc.