News for hackers. Stuff that matters.
Re:Program your next server in Go by eudoxus on Tuesday June 07, 2016 @03:30PM (#11857092)
It's true that Go compiles down to an executable and doesn't run on a VM like Java, but it does have it own runtime compiled into it, which manages the GC and goroutine scheduler to name two, so there is definitely some more overhead to Go then just straight C/C++
Re:Program your next server in Go by pcwalton on Tuesday June 07, 2016 @03:33PM (#11857116)
In addition, the language isn't designed for zero-cost abstractions like C++ is. You see this in the design of things like defer, which requires allocating records on the heap in certain cases, as compared to exceptions in C++ which can be implemented in a zero-cost manner.
Re:Program your next server in Go by weberc2 on Tuesday June 07, 2016 @04:16PM (#11857439)
I think interfaces are a better example, personally.