Hacker News new | past | comments | ask | show | jobs | submit login

The numbers vary greatly, depending on which test you look at.

In the plaintext search Go only comes in at 13th: http://www.techempower.com/benchmarks/#section=data-r8&hw=i7...




Go also suffers heavily when resource constrained - eg, run on EC2 or digital ocean which most people here are going to be running on. The large amount of garbage generated by Go paired with stop the world GC is the reason there. If you're running directly on high processor machines without much disk access then Go is a good bet, otherwise you'd nearly always be better off with Java - especially when you consider how many well tested OSS libraries are available for everything.


If you look at the Go standard library, it doesn't generate too much garbage. It is avoidable often, don't use .String, use .WriteTo -- the GC cost is not across all used memory, just memory with live pointers.


you also need check the errors , most of the languages in to 12 returned too many errors or failed during the request




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: