3 ms·
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 p
by BiteCode_dev 6y ago
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.
- jvolkman 6y agoI wouldn't say Google is really "moving" to Go. It's an option, but plenty of projects new and old continue to choose Java.
- kaba0 6y agoWell, 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.