Compiler Optimizations
The cluster focuses on debates about compiler optimization capabilities, including how much compilers can optimize code versus humans, specific optimization techniques, levels, and comparisons across languages.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Some things are best optimized by the actual compiler.
you're greatly overestimating how much the compiler can optimize code.
Do you think other compilers for other languages don't perform optimizations like this?
That's the case with tons of compiler optims.
Frankly if your compiler can't optimize this it's not worth using.
Maybe "the compiler generates better assembly code per second than a human could"?
If you don't want the compiler to optimize that much then turn down the optimization level.
I'm finding it impressive that the compilers even attempt to implement this optimization.
This should be abstracted away, optimizing for compiler performance feels straight out of the 80s.
Have you seen what optimizing compilers do? I'd hardly call that simple!