4 ms·
> But C programmers believe they deserve to be abused this way. I don't know of any C programmers who think that way. We accept the state of affairs because th
by Asooka 5y ago
> But C programmers believe they deserve to be abused this way.
I don't know of any C programmers who think that way. We accept the state of affairs because there is little alternative. We're not going to rewrite our code in another language, because we mostly need to write in C for various reasons. Also Rust inherits LLVM's undefined behaviour, so it's no panacea. We mostly keep adding flags to turn off the most excessive optimisations and pray.
- steveklabnik 5y agoRust inheriting it is the equivalent of a codegen bug, and they get patched. The cause here isn’t LLVM, it’s language semantics.