3 ms·
> Go...but likely won't quite match the speed of C/C++ for most tasks. Last I checked golang generated code 3 years ago, it was full of redundant instructions,
by vardump 9y ago
> Go...but likely won't quite match the speed of C/C++ for most tasks.
Last I checked golang generated code 3 years ago, it was full of redundant instructions, most notably redundant range checks. Seemed to be about half as fast as equivalent C/C++ code.
I believe golang can approach something like 80-95% of C/C++ performance once codegen is good.