3 ms·
https://github.com/attractivechaos/plb2/blob/master/README.md https://github.com/attractivechaos/plb2/blob/master/README.m... Synthetic benchmarks aside, I thi
by Comma2976 3y ago
https://github.com/attractivechaos/plb2/blob/master/README.md https://github.com/attractivechaos/plb2/blob/master/README.m...
Synthetic benchmarks aside, I think as far as average (spring boots of the world) code goes, Go beats Java almost every time, often in less lines than the usual pom.xml
- iraqmtpizza 3y ago[flagged]
- Comma2976 3y agoAnd yet, people will refer to some other synthetic benchmark when arguing that the average Java project, which doesn't disable GC nor uses unsafe reads et al, is comparable. Can't have and eat it too
- iraqmtpizza 3y agoUm, GraalVM (JIT) has both GC and memory safety. It's a drop-in replacement for HotSpot. It takes literally five seconds to change JAVA_HOME and you're done. The benchmark literally uses Graal, something from Java, for Ruby and Python, but inexplicably doesn't use it for Java itself.
- kaba0 3y agoSo you are comparing a feature-packed enterprise framework with a raw http server ping-ponging hello world? Also, what even does the last line mean? Go in general is significantly more verbose than Java.