3 ms·
> There's no Scotsman in these arguments. Yes there is: "ohh, gcc, that's not a true optimizing compiler". And of course so far refusing to show any other re
by mpweiher 9y ago
> There's no Scotsman in these arguments.
Yes there is: "ohh, gcc, that's not a true optimizing compiler". And of course so far refusing to show any other real compiler that does all these magical things.
> He runs compiler infrastructure at Google
Yes, I know. So? Argument from perceived authority much?
> says he's seen production compilers doing stuff you say is impossible.
Actually, I haven't seen him claim that. He has claimed all sorts of things that he has seen optimizing compilers do that have very, very tangential (at best) similarities with some of the keywords I mentioned, and has claimed that as a rebuttal to my claim, which it is not.
> You say, essentially, he's lying.
If he actually claims what you say he's claiming then: yes, he's lying. I haven't seen him claim that, but I have seen him use these fairly random claims to rebut some very specific claims I have made.
And of course, if there are compilers that do exactly what I've described (transform the two systems I mentioned in the way I described), then I am absolutely happy to eat crow. While anything is possible, in theory, this would be so far beyond the current state of the art, that we could probably retire >90% of programmers right now (assuming that a small fraction of that capability were also applied to other fields of programming). And seeing the consumer-visible parts of Google, those compilers would be so super-secret that they are not used on any of that stuff.
The code is out there, somebody run it through the compiler and prove what a dunce I am.
Put up or shut up.
Still waiting.
- tptacek 9y agoNow you're transparently making my point for me. He's not saying gcc does any of this. You're beating up a straw man. It's OK not to know everything about your field, or even to be wrong sometimes. But find a less obnoxious way to handle those situations.
- mpweiher 9y agoNo, you're just dodging and weaving. Is there a compiler that can transform these two systems in the way I've described? (Source for one before/after is available). If so, show me. Put up or shut up.
- tom_mellior 9y ago> Yes there is: "ohh, gcc, that's not a true optimizing compiler". I searched this whole thread for mentions of GCC, and I didn't find anything like this. Are you referring to the part about having to use a different language than C or C++ if you want this kind of optimization? (I agree with you that "look, there is an old paper describing a research compiler in a research setting on self-chosen benchmarks" is not the same as production compilers doing the same thing in practice.)