Persistent list

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 22 07:25:27 PST 2015


On 11/21/2015 07:48 PM, Dicebot wrote:
> On Sunday, 22 November 2015 at 00:38:19 UTC, Dicebot wrote:
>> In my opinion it is perfectly reasonable to require GC for such
>> "casual" usage and require narrow specialization from RC based
>> solutions. Physical immutability requires external memory tracking -
>> GC provides that naturally and trying to ignore that fact with RC
>> model feels like cheating yourself to me.
>
> On a related topic - are there any pure functional languages that don't
> use GC internally? Those could be worth looking at.

I don't know of any, but that's beside the point. RC can be integrated 
with purity relatively easily if it's done automatically by the 
compiler. The problem is library-level RC does not work with 
immutability. -- Andrei



More information about the Digitalmars-d mailing list