a short null dereference story
Basile B.
b2.temp at gmx.com
Sun Dec 7 08:12:07 UTC 2025
On Friday, 5 December 2025 at 21:03:00 UTC, Adam D. Ruppe wrote:
> On Friday, 5 December 2025 at 20:58:32 UTC, Basile B. wrote:
>> So for D the equivalent would be to generate a check on each
>> DotVarExp.
>
> OpenD has had this for about 5 months now:
>
> https://dpldocs.info/this-week-in-d/Blog.Posted_2025_06_09.html
Yes this is more or less the same.
I read that you mentioned the low **runtime** cost... what I've
observed, over the years, is that the check is very costly **to
generate**. I've mitigated the problem by adding a [`@plain`
attribute](https://styx-lang.gitlab.io/styx/attribute.html#plainattribute).
More information about the Digitalmars-d
mailing list