4 ms·
> I can't find any data to back that up, can you point me at some? These[1] are some recent results of the computer language benchmark game, where Java beats G
by pron 9y ago
> I can't find any data to back that up, can you point me at some?
These[1] are some recent results of the computer language benchmark game, where Java beats Go overall even though startup time is measured (similar results here[2]). How much faith you'd want to place in these benchmarks is questionable. As to real workloads, that's what people I know at Google tell me.
> It's still missing valuable things that have been around and proven to be very common and desired, like format reading/writing...
I don't think any of it should be part of the standard library. In fact, one of the best things happening with Java now is that the standard library is being broken apart, and things like XML, cryptography and JDBC are taken out of the "base" module.
OTOH, a standard library should provide truly foundational stuff, like good data structures, deep monitoring infrastructure, things that Go seriously lacks.
> You have to use an IDE and Gradle/Maven to come close to the out-of-the-box experience with Go.
But that's because the Go ecosystem is poor in comparison. The Java ecosystem is so strong and well established that the "out of the box" package simply can't compete with it (and when it tries -- as with the logging API -- it loses). Go had to provide this stuff out of the box because there was no ecosystem. True, this makes Go much easier and more pleasant to get started with for beginners, but you can't compare something that's built around an ecosystem, and something built to be self contained.
[1]: https://sites.google.com/view/energy-efficiency-languages/results?authuser=0 https://sites.google.com/view/energy-efficiency-languages/re...
[2]: https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=java&lang2=go https://benchmarksgame.alioth.debian.org/u64q/compare.php?la...