3 ms·
> Highly optimized C++ or C library with javascript wrapper beats golang hurr durrr At what point is it C++ beats golang vs javascript beats golang? IMO these
by ajbeach22 8y ago
> Highly optimized C++ or C library with javascript wrapper beats golang hurr durrr
At what point is it C++ beats golang vs javascript beats golang? IMO these kinds of benchmarks are disingenuous at best.
The benefit of go here is that i don't have to write c++ or c if i need to submit a bug fix, and I don't have layers of abstraction around libraries written in a different language. The last thing I want to is to try and debug the underlying c or c++ libraries when things go wrong. At least with go, pprof and other go tools make debugging low level things straight forward
- ajbeach22 8y agoAlso: https://news.ycombinator.com/item?id=19156671 https://news.ycombinator.com/item?id=19156671 go can handle 1 million of concurrent websocket connections anyway, so what is the point?
- innagadadavida 8y agoThere are a few other notable things about Go: 1. Compiler and toolchain is all written in Go. Compare this to g++ or JRE/JDK has a lot of code in other languages which can be problematic when you need to audit the code or fix some low level bug. 2. Language spec is shorter than any other language.