The solution to "Error handling"...
Adam D. Ruppe
destructionator at gmail.com
Sat Jul 4 21:58:09 UTC 2026
On Saturday, 4 July 2026 at 10:02:46 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> It decreases your binary size, and allows initialization to be
> done with memset instead of memcpy.
>
> So it can increase performance since you won't do reads during
> initialization.
Yup, this is what tipped opend over to change all built in types
to be zero initialized, including char and float.
I think the nan arguments are actually pretty good, and this is a
but of a runtime breaking change, but overall the zeroes have a
preponderance of benefits.
More information about the Digitalmars-d
mailing list