[OT] The Usual Arithmetic Confusions
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Thu Feb 3 01:26:04 UTC 2022
On Wednesday, 2 February 2022 at 21:42:43 UTC, Dukc wrote:
> In the opposite case we would have undefined behaviour at
> `@safe` code.
People in the D community has the wrong understanding of what
"undefined behaviour" means in a standard specification… this is
getting tiresome, but to state the obvious: it does not mean that
the compiler cannot provide guarantees. The fact that C++ choose
performance over other options does not make this a necessity. It
is a choice, not a consequence.
More information about the Digitalmars-d
mailing list