by kubota · 3y ago · 0 comments
The bad ergonomics of C were never enough to get another language into the Linux kernel, it took a language that solves the number one class of security bugs. It's unclear that any successor to Rust will be able to show as clear a need.
Uhh no. No that is not “the question”.
My question is “what language will I use to write video games”. C++ sucks and Rust isn’t a great fit.
K&R C was, what, 1972...and it's 2023 now. So that's 51 years with no definitive end of 'making do' in sight.
There is also Carbon and CppFront but those are more of C++ evolution than new-born things.
I don't think that the "window of opportunity" for another language in the kernel has closed. If anything, Rust has shown what would be the hurdles to overcome, so it may inform the next attempt if it happens.
And of course Linux is not the only kernel out there, and new kernels can also arise.
https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webas...
It's more for service-oriented applications currently... you pass stuff in, get stuff out.