3 ms·
From my reading is impossible to bring a Rust compiler yet (or at that time) because Rust can't compile itself on x86 and he also complained about the compilati
by simion314 6y ago
From my reading is impossible to bring a Rust compiler yet (or at that time) because Rust can't compile itself on x86 and he also complained about the compilation times. From other similar threads that were suggesting to rewrite Linux in Rust I seen that Rust supports far less architectures then C so IMO the best solution for Rust community is too contribute to Rust kernels writen from scratch, it will start from zero users but this is how Linux started, then if the kernel and base tools are much better I can see it getting adopted in niche stuff at the start then in more and more things, IMO the RIR makes no sense for existing operating systems as Linux or BSDs, maybe for iOS, OSX where Apple controls the hardware and has the money and engineers to make the change and force the users to like it.
- MuffinFlavored 6y ago> is too contribute to Rust kernels writen from scratch I'm pretty sure all of the I/O would be `unsafe` though, which begs the question... why write it in Rust in the first place?
- loeg 6y agoBecause most of your code can be safe? Kernels have many internal objects and data structures and algorithms that could be managed in safe code, with unsafe only used around the edges. The idea with Rust unsafe is that the unsafe portions are not 100% of the whole, and can be located relatively easily.