Memory safe languages such as Java have already taken the world by storm, decades ago.
The interesting combination rust brings is a memory safe language that can compete with C and C++ for the speed crown.
Re:Rust in the Linux kernel: part 2
by nullpoint420 on Saturday June 28, 2025 @01:39AM
(#44402498)
Java is not a systems level programming language (at least in its modern OpenJDK form)
Sun tried out allowing Java in the kernel, it could be used to write device drivers just as Rust is being used now.
You can hammer an applications programming language to do systems things, but it will never be a good experience nor have optimal performance.
Re:Rust in the Linux kernel: part 2
by nolist_policy on Saturday June 28, 2025 @02:29AM
(#44402674)
Could you write interrupt handlers in it? You can't even do synchronous signal handling in Java.
How would that even work with the JVM?
Probably https://en.m.wikipedia.org/wiki/Jazelle or similar would be the answer.
This [1] was the paper on it.
[1] https://labs.oracle.com/pls/apex/f?p=LABS:0:3891254133275:AP...
So why Rust then?