How usable is the D language without a garbage collector?

ryuukk_ ryuukk.dev at gmail.com
Fri Jul 15 15:13:16 UTC 2022


Little Rant:

Guys, when someone comes and ask if something is feasible without 
component X, you shouldn't tell them they are wrong for wanting 
to do it the way they want to do it

D is perfectly great for using without the GC, just like using C 
is perfectly great without a GC, just like Rust is perfectly 
great withotu a GC, they are equivalent

GC is only here as an optional scratch buffer, and it is very 
handy to have when you need it

We should welcome people with their usecase and make them feel 
safe for wanting to achieve what they want to achieve

If someone asks to not use the GC and you tell them "you 
shouldn't really", they'll go check the next language in their 
list of "interesting languages"

D a great language because it is pragmatic and polyvalent, it is 
a strength, as a community, let's be pragmatic too and accept 
that some folks doesn't want to use a GC!

It's like OOP, not everything needs it, not every meal needs 
salt, not every mattress needs to be white, not every cars needs 
to be grey




More information about the Digitalmars-d mailing list