Tasks, actors and garbage collection

evilrat evilrat666 at gmail.com
Tue Apr 20 17:13:58 UTC 2021


On Tuesday, 20 April 2021 at 17:08:17 UTC, russhy wrote:
> On Tuesday, 20 April 2021 at 16:45:38 UTC, russhy wrote:
>> C++ could have went with a GC, they decided to go against and 
>> encourage the use of smart pointers
>>
>> That was smart, actually
>
> Well not that smart, but smarter then enforcing a GC into the 
> language, because the std, even if trash, doesn't depend on 
> anything, and gives you the option to supply an IAllocator 
> almost all the time, zig does that too, and it is very nice

GC isn't real, it can't hurt you.


More information about the Digitalmars-d mailing list