3 ms·
"Do we really need UB?" is the wrong question asked. "How much UB do we need to achieve the design goals of our language?". I think introducing UB while plann
by clktmr 5y ago
"Do we really need UB?" is the wrong question asked. "How much UB do we need to achieve the design goals of our language?".
I think introducing UB while planning tight integration in the language's tooling beforehand has lots of upside. Even GCC's ubsan does quite a good job, although created retrospectively.