News for hackers. Stuff that matters.
Re:Golang only 2x ruby at net/http level and same as ruby at... by coldtea on Wednesday January 28, 2015 @11:13PM (#8964292)
What does this "hello world" measure?

It doesn't measure Ruby's speed, that's for sure. The IO is C, and the HTTP parsing and network operations are also C in Ruby.

Also the frameworks you used are minimal (for both Ruby and Go) so their overhead is negligible as well. Again you're mostly measuring some C calls vs Go calls.

So, a more accurate title would be: "Golang only 2x C at net/http and same as C at web framework level".

Now, try a full blown Rails service or a Sinatra endpoind that DOES some processing, not just prints something, and compare it with the same thing in Go.

There are no comments on this comment yet.