3 ms·
I think something has gone very wrong with the state of programming when the original C version reads extremely straightforwardly, the version that works withou
by userbinator 7y ago
I think something has gone very wrong with the state of programming when the original C version reads extremely straightforwardly, the version that works without UB already looks quite a bit more noisy, and the C++ version is just... yuck!
In this case, just writing the appropriate Asm instructions themselves would've been much shorter and simpler, and also worked the first time.
- userbinator 7y ago...and something has certainly gone very wrong when you get downvoted for pointing out the truth! A lot of this idiotic complexity increase would be completely avoided if compiler authors would just exercise some common sense, but unfortunately it's not so common after all.