3 ms·
Wouldn't it make more sense for the Linux kernel developers to adopt a programming language that is the modern equivalent of C? I thought they liked C for its
by booleandilemma 4y ago
Wouldn't it make more sense for the Linux kernel developers to adopt a programming language that is the modern equivalent of C?
I thought they liked C for its simplicity.
Why would they adopt the modern version of C++? (a language they, or at least Linus, look down upon)
Shouldn't they wait for a language with Rust's safety guarantees but with a more minimal feature set?
- throwaway894345 4y agoIt's all a balance. Rust is simpler than C++, and the complexity it adds relative to C pays for itself pretty significantly in correctness (C++ is more complex and provides fewer/weaker correctness guarantees). Moreover, there aren't many systems languages to choose from--at least not many that are not super-niche. Even Ada is pretty niche with little mindshare/enthusiasm.
- strangescript 4y agoI think there is a question of "Wait till when?" Its not like these kind of languages pop up all the time, let alone get adoption. Rust checks most of the important boxes, and the few it doesn't do well they are working on.
- pjmlp 4y agoThat would be Modula-2 in 1978.