Re:Linus Torvalds on Rust support in kernel
by HelloNurse on Saturday April 17, 2021 @12:22PM
(#26845408)
Maybe I'm unfamiliar with Rust, but if you list OSX, Linux and Windows on identical processors as different platforms they are platforms for applications, not for an OS kernel that runs on "bare metal": it implies that support includes relying on OS provided system calls to manage processes, implement the standard library, etc.
Re:Linus Torvalds on Rust support in kernel
by steveklabnik on Saturday April 17, 2021 @12:42PM
(#26845592)
Sure, the standard library on those targets depends on OS services. But you don’t have to use the standard library. Many people do write userspace programs in Rust, just like they do in C. That doesn’t mean that it’s only useful or intended for userspace, just like C.
It takes more work to port an entire standard library than to not.
(And yes, we'd love to expand the tier list. It's a chicken and egg situation. That being said, I work mostly in tier 2 and 3 targets, and they just vary a lot. The ones I work in work as good as tier 1 targets do. The path to moving forward is bright for many of these.)
> Rustc is clearly meant to compile Rust applications
I don't see what about this implies that at all. As a core team member and someone writing an embedded OS at work, I can assure you that we don't think of Rust as purely an application language.