3 ms·
To be fair, I would rather write this: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/go/hello.go https://github.com/TechEmpower/FrameworkBenchm
by agentS 13y ago
To be fair, I would rather write this:
https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/go/hello.go https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
rather than this:
https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/netty/src/main/java/hello/HelloServerHandler.java https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
(not to mention the 2 other Java files to setup the server).
- icebraining 13y agoWell, that's using a particular framework (netty). Play seems much simpler.
- coldtea 13y agoNot to mention this gives you a lot of flexibility and quite a battle tested backend, whereas the Go equivalents are still mostly in progress and less flexible. Oh, and in the recent shootout, netty gets to 30,000 rpm, whereas Go peaks around 10,000.
- voidlogic 13y agoFirst off, is was 14k vs 38k. Just wait until next benchmark update when they have switched to Go 1.1 Based on these results Go and Netty should be much closer: https://gist.github.com/errnoh/5320784 https://gist.github.com/errnoh/5320784