Pointers - Is it safe to point to invalid memory?
monkyyy
crazymonkyyy at gmail.com
Sun Aug 17 15:54:23 UTC 2025
On Sunday, 17 August 2025 at 15:05:32 UTC, Paul Backus wrote:
>
> In D, merely *creating* an out-of-bounds pointer is never UB
The #wontfix list about the gc is labled as ub and is all about
pointers(instead of #wontfix and documenting real issues); and
this is a fundamental limitation of a gc that scans pointers
Why all`y`alls safetyphiles ignoring me quote`n the spec. Theres
no clarity for any pointer tricks that survive contact with the
enemy(the gc) so I dont know what I actaully want to know, but
its pretty clearly going to be programmertime expensive to try to
find any.
More information about the Digitalmars-d-learn
mailing list