3 ms·
I did just this, learning Go to do MITs Distributed Systems course. It has the speed and easy of dynamic scripting language plus a ton of sane defaults where JS
by porknubbins 6y ago
I did just this, learning Go to do MITs Distributed Systems course. It has the speed and easy of dynamic scripting language plus a ton of sane defaults where JS and Python have quirks, and is compiled. My understanding is the major downside is the performance has stalled at 2-5x C++ which is not enough for systems infrastructure projects.
- chinhodado 6y agoWhat do you mean 2-5x C++ performance?
- barell 6y agoI think he means C++ is 2x to 5x faster to run than Go. I saw many benchmarks and not sure if that is true though. Go is still one of the fastest out there.
- cryptos 6y agoAccording to micro benchmarks C is about twice as fast as Go. https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go-gcc.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... That is already pretty fast, and I guess the difference in practical scenarios would be even smaller since external systems like DB's won't change their speed if you call them with another programming language and because production code is not always as optimized as benchmark code.
- porknubbins 6y agoSorry, I mean in benchmarks Go took 2-5 times what C++ did to complete.