@Gankro @spaul_gamedev @pcwalton IME, there is typically a 2x-3x speed difference between optimizations enabled or disabled, ...
-
-
Replying to @cr88192
@Gankro
@spaul_gamedev@pcwalton but, the vast majority of optimizations don't break semantics, only a contested minority...1 reply 0 retweets 0 likes -
Replying to @cr88192
@cr88192@spaul_gamedev@pcwalton yes, no one's questioning the value of inlining, const-folding, and many other "universal" optimizations.1 reply 1 retweet 1 like -
Replying to @Gankra_
@Gankro
@spaul_gamedev@pcwalton yep, better to stick to these, and keep others for cases where it can be proven there is no visible effect.1 reply 0 retweets 0 likes -
Replying to @cr88192
@cr88192 @gankro@spaul_gamedev The optimizations were implemented because customers filed bugs asking why their code didn't optimize.1 reply 0 retweets 0 likes -
Replying to @pcwalton
@pcwalton@cr88192@spaul_gamedev sometimes the answer to those bugs is that the feature request has dubious consequences!1 reply 0 retweets 0 likes -
Replying to @Gankra_
@gankro
@cr88192@spaul_gamedev Shrug. The MSVC/ICC/GCC/Clang performance wars have gotten pretty vicious. I can't really blame the devs.1 reply 0 retweets 0 likes -
Replying to @pcwalton
@pcwalton@cr88192@spaul_gamedev this is why benchmarks are the absolute worst. :/1 reply 0 retweets 1 like -
Replying to @Gankra_
@gankro
@cr88192@spaul_gamedev Yeah, that's half the problem. The other is dubious language design decisions in C.1 reply 0 retweets 0 likes -
Replying to @pcwalton
@pcwalton @Gankro@spaul_gamedev I don't think it is so much dubious lang design here, but more the level of semantic ambiguities allowed...1 reply 0 retweets 0 likes
@cr88192 @gankro @spaul_gamedev No. Having signed int be the easiest thing to type to iterate over arrays is a language design flaw.
-
-
Replying to @pcwalton
@pcwalton @Gankro@spaul_gamedev FWIW: Java also uses signed int for arrays. also, signed makes negative pointer offsets easy...1 reply 0 retweets 0 likes -
Replying to @cr88192
@cr88192 @gankro@spaul_gamedev Yes. And it was a mistake in Java too. Signed overflow messes up your trip count detection.0 replies 0 retweets 0 likes
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.