Re:Golang’s most important feature is invisible
by Thorrez on Sunday January 23, 2022 @12:30AM
(#30043876)
Just looking at the numbers, Go is 71% faster. That could be due to the Go HTTP library being more efficient than the Java HTTP library, rather than language or runtime features.
[ Parent
| on HN ]
Re:Golang’s most important feature is invisible
by lenkite on Sunday January 23, 2022 @03:29AM
(#30044572)
Nobody uses that internal Oracle HTTP server - it is not meant for production. It isn't even in the Java namespace -your static analysers will complain about using 'com.sun.*' packages.
Use the Java Jetty server and Go will hide itself in a corner in shame when benchmarked.
Re:Golang’s most important feature is invisible
by vips7L on Sunday January 23, 2022 @09:17AM
(#30046293)
Undertow has better performance for the example program:
https://www.reddit.com/r/programming/comments/sanusb/comment...