Allocator-aware @safe reference counting is still not possible

Dukc ajieskola at gmail.com
Tue Jan 24 16:29:59 UTC 2023


On Tuesday, 24 January 2023 at 16:21:37 UTC, Dukc wrote:
>
> Meaning, in the long run we might well want `isolated`, but 
> allocator-aware reference counter should not be waiting for one 
> - which I think is what you said.

Oh sorry, I remembered Paul's earlier post wrong. He wrote:
> I agree that it's bad UX, but what's the alternative?
> Implement a borrow checker in D? It'll take 5-10 years and
> won't even work properly when it's done. At that point, you
> may as well just tell people to switch to Rust.

..but that was referring to the `borrow` function, not allocators.


More information about the Digitalmars-d mailing list