3 ms·
> I like Rust a lot actually, but kernel modules aren't a good use case for it. If we're talking about kernel modules in general, I'd have to disagree. I think
by the_grue 9y ago
> I like Rust a lot actually, but kernel modules aren't a good use case for it.
If we're talking about kernel modules in general, I'd have to disagree. I think it's a perfect language for kernel, as long it's all written in Rust. I only wanted to point out the practical impossibility of integration with existing infrastructure, such as Linux kernel, which is written entirely in C.
- steveklabnik 9y agoIn general, Rust can work great with C projects. This is, after all, part of what it was originally created for: to replace bits of Firefox (which is C++, but that makes it harder, not easier). That said, the kernel has special requirements; I'd never advocate such a thing for Linux, specifically.
- jeffreyrogers 9y agoI meant Linux kernel modules in particular. Rust seems fine for the kernel in general.