Per thread heap, GC, etc.

Markk markus.kuehni at triviso.ch
Fri May 14 15:23:13 UTC 2021


On Friday, 14 May 2021 at 15:10:37 UTC, Imperatorn wrote:
> On Friday, 14 May 2021 at 13:48:12 UTC, Markk wrote:
>> Hi,
>>
>> Just some thoughts after reading a handful Rust and D books... 
>> and after having seen so many wrinkle their noses at GC ... 
>> and therefore, unfortunately D.
>>
>> _Mark
>
> Interesting thoughts. Just a general question I've been trying 
> to understand:
> Why do you think ppl "wrinkle their noses at GC"? 🤔
>
> I don't get it. GC 4 life!! 🎶☀️
> (yes I know in what circumstances you can't use it)

First, I love the proposition of a GC. Most concerns are probably 
unfounded and ill-informed.

But look at even this forum. It seems to be one of the biggest 
no-gos for D. Some of that is justified, such as for 
near-realtime performance or embedded. Some of it is just driven 
by fashion-victim hypes around Rust (a terrible language) and 
others.

Why is it so important?

Mostly because it is an all-or-nothing proposition. Even one 
dependency (lib) can lock you in. AFAIK, you can't break out of 
it, even for parts of your application that - in themselves - 
don't use it.

The thread proposition would alleviate all these concerns. You 
could finally, truly have it both ways at the same time.

D is the only language that I know that comes this close!

_Mark


More information about the Digitalmars-d mailing list