Yishai Galatzer compares the development experience, performance, and resource utilization of Java and Rust by building the same application in both.
Java is an established language, with advanced VMs, robust package libraries, mature frameworks, dynamic and reflective capabilities, a large tooling selection, and a sizeable developer ecosystem. Rust is a younger systems programming language that can have small memory footprint, low CPU utilization, offer low latencies and have small application sizes.
But how do these characteristics pan out in the real world?
How easy is it to take advantage of them?
Is one language “better” than the other?
Are they really so different?
In this talk we will take a journey with the two languages and we will review our experience in designing and building a sample application with the same requirements in both Rust and Java. We will compare the development experiences and how they each perform. We’ll share our thoughts and conclusions on where Rust and Java could be improved. And we’ll talk about how we see each being used in the future.
YISHAI GALATZER
Yishai Galatzer is a Director of Software Engineering at Amazon Web Services. Yishai's teams contribute to the Rust language and the JVM.
The JDK team is focused on the development of OpenJDK and the distribution of the Amazon Corretto project. The team focuses on contributing to the Long Term Supported releases of OpenJDK, as well as new investments in JIT Compilation, aarch64, The Shenandoah Garbage Collection project, and observability.
The Rust team works on the Rust language, the Rust compiler, Tokio (async Rust runtime), and supporting Rust at Amazon.
Why it's here
1 person recommends this
What people say. Recommended as a solid real-world performance and developer experience comparison between Java and Rust.
S
u/Sunscratchin r/scala • Recommends
On “How could Scala3/JVM(21, maybe even 17) can be so fast (AoC 2015, Day4) for the naive solution but then basically say MEH when i try to optimize further ?”
JVM has pretty good performance, you can check this comparison with Rust (but with Java, not Scala). It is a product of 20 years of enhancements and research of optimizations.