Re:Java Is Underhyped
by bjourne on Friday April 16, 2021 @05:35AM
(#26831651)
But you are not going to get higher performance in Rust/Go.
[ Parent
| on HN ]
Re:Java Is Underhyped
by BiteCode_dev on Friday April 16, 2021 @05:41AM
(#26831709)
Rust can literally contain inline asm so yes, you will. But even without that, the startup time is always going to be faster.
And for IO, you will get faster perf in Go more easily. Sure, you can finely tune your Java code to get there, but it's a lot harder.
It in both cases it will eat up way more memory.
There is a reason Google, that did use heavily Java internally, is now moving to Go, a language they custom designed for concurrency.
Well, project loom will make the JVM arguably a better platform for concurrency.
Basically every language is more expressive there (even Java), GC is much much better - in benchmarks it is not as obvious only because Go avoids creating garbage most of the time, but it can’t always be avoided; and the platform is incomparably richer on the JVM side.