Slashdot Mirror


User: lemire

lemire's activity in the archive.

Stories
0
Comments
1
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1

  1. Re: But what is it used for? on Google's Go Language Surges In Popularity (infoworld.com) · · Score: 1

    Go has some inlining, but it is fairly primitive compared to gcc. Even Java does better. Inlining is a very important part of an optimizing compiler... There are design reasons why Go might never match C with respect to function inlining. Bounds checking is still expensive in Go compare to Java... to say nothing of C. That might get quite a bit better over time as there is no reason for Go to do poorly in this respect. And if your code needs to call a C or C++ library (like, say, a video driver), Go makes you pay a high price. This might get a bit better, but only to a point. Go will never be as fast as C. Whether this matters is another story.