Re:What if you knew how computers work? (2015)
by cbsmith on Sunday October 11, 2020 @12:37PM
(#24746997)
Dead code elimination has been available in C compilers since... so long ago I can't remember. It's not that compilers can't do it, but much like the halting problem, they really can't catch it all.
The closure js compiler is also pretty good if you prefer writing js.
If we only start using better languages in our applications we could improve performance quite a bit.