2 ms·
Java is often faster than Rust on typical single-threaded code. Rust is faster when you want to leverage features like SIMD. And when it comes to concurrency R
by threeseed 3y ago
Java is often faster than Rust on typical single-threaded code. Rust is faster when you want to leverage features like SIMD.
And when it comes to concurrency Rust is the worst language I've ever used by far. The type checker makes dealing with objects between threads extremely painful. With the JVM it's all just handed for you.
Rust is great when you want a tiny binary with minimal memory consumption.