3 ms·
I work with both Java and Rust. Definitely not the same. With Java, you decide what you want to compile with your build script. You don't need to compile entir
by lmilcin 6y ago
I work with both Java and Rust.
Definitely not the same. With Java, you decide what you want to compile with your build script. You don't need to compile entire application as a single unit. If you have to recompile a lot of code when you only make small modification it is likely because did not use many of available ways to just recompile the classes that you modified.
Also, with Java some optimizations are pushed to runtime. JIT has access to all code running even if it wasn't available at compilation time.
- pjmlp 6y agoJava also does optimizations at AOT, it is all a matter which toolchain one uses, plenty of choice since 2000.