top | item 29418211

(no title)

anthony_r | 4 years ago

Yeah you could optimize GCC to work really well for those problems, there's a great ROI for the "write something trivial really quickly into /dev/null" class of problems.

Let us know how this goes if you embark on this adventure.

discuss

order

samhw|4 years ago

If you genuinely understood me as saying that, then I should clarify, to be absolutely foolproof:

That is not what I'm saying. I'm talking about having a compiler which could produce more optimal code in any given case, or most given cases. I obviously am not suggesting that compilers optimise this and only this case.

anthony_r|4 years ago

> I'm talking about having a compiler which could produce more optimal code in any given case, or most given cases

Funny coincidence, that's exactly what the vast majority of compiler code is for, with tens (or hundreds) of thousands of man-years of work spent on that.