Tasks, actors and garbage collection

russhy russhy at gmail.com
Tue Apr 20 17:08:17 UTC 2021


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


More information about the Digitalmars-d mailing list