News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by saagarjha on Tuesday April 14, 2020 @09:50PM (#22873641)
> Compiler writers tend to assume the processor is a dumb machine.

A lot of C developers tend to assume the compiler is a dumb program ;) There are significant hoisting and vectorization optimizations that signed overflow can unlock, but they can't always be applied.

Re:Tell HN: C Experts Panel – Ask us anything about C by Gibbon1 on Tuesday April 14, 2020 @11:33PM (#22874233)
If C had real array types the compiler could do real optimizations instead of petty useless ones based on UB.
Re:Tell HN: C Experts Panel – Ask us anything about C by saagarjha on Wednesday April 15, 2020 @01:18AM (#22874772)
Fair, hence the push in many language for range-based for loops that can optimize much better.