Re:D as a Better C
by vardump on Thursday August 24, 2017 @08:34AM
(#15089532)
> 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.
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.