Re:Go channels are bad
by pcwalton on Wednesday March 02, 2016 @04:17PM
(#11213078)
That hasn't inhibited optimizations for a long time. Disassemble a call to printf("Hello world") in optimized clang output and look at what it turns into.
[ Parent
| on HN ]
Re:Go channels are bad
by chrisseaton on Wednesday March 02, 2016 @05:02PM
(#11213389)
Yes if the library is covered by a standard just like the language is, then the compiler can make assumptions. Also threads are a language feature in C and C++ now.