Remix.run Logo
bawolff 5 hours ago

Everyone considers rust a c competitor. Its literally replacing c in the linux kernel.

uecker an hour ago | parent | next [-]

I wonder whether the "replacing c in the linux kernel" is not more wishful thinking by Rust enthusiasts. As of know it has less than 1% and less than bash.

raphlinus 8 minutes ago | parent | next [-]

Greg Kroah-Hartman has given a talk entitled "Untrusted data in Linux — How Rust is going to save us"[1] which I think is fairly optimistic about the idea that Rust will have an increasingly large role in the kernel. The total number of lines of code is small today but that will change.

[1]: https://www.youtube.com/watch?v=Nzmj7K0FNRY

happosai 18 minutes ago | parent | prev [-]

Linux kernel project stuck at C89 and refused move to c++ or even a C standard upgrade for decades. Move to C11 (a 15 year old standard) was done just a few years ago.

The fact that rust has been even accepted into the kernel is a resounding endorsement.

dismalaf 4 hours ago | parent | prev [-]

NetBSD puts Lua in kernel space, is it a C competitor?

Rust is an obvious competitor to C++, both are similarly featured.

When people talk about "modern C competitors" they're almost always talking about more minimalist languages like Zig, Odin, C3, Jai, Hare, etc...