Proof of concept for v2 - NO duplication, NO `static if` hell, NO difficulty with interoperability

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Fri Nov 5 17:33:54 UTC 2021


On 2021-11-05 11:06, Paul Backus wrote:
> On Friday, 5 November 2021 at 14:08:58 UTC, Andrei Alexandrescu wrote:
>> We never got reference counting to work in safe pure nogc code. And we 
>> don't know how. If we did, we could write a slice-like type that does 
>> everything a slice does PLUS manages its own memory. This is the real 
>> problem with containers.
> 
> I'm pretty sure at least some of us (including Atila) know how.

Please post the code, thanks!

Main problem is getting reference counting to work reliably in the 
presence of purity and immutability.


More information about the Digitalmars-d mailing list