How usable is the D language without a garbage collector?

Guillaume Piolat first.last at gmail.com
Fri Jul 15 11:13:48 UTC 2022


On Friday, 15 July 2022 at 09:27:51 UTC, LinguisticMystic wrote:
>
> Thanks for your clarifications!

I make GC free programs but not out of choice.

The GC is very rarely the cause of bad performance; there is 
nothing preventing you from optimizing, because D is native and a 
system language. SO it's not like a Javascript situation, where 
creating garbage can be unavoidable.

On the contrary, if you can use a GC you will be more productive 
for the non-critical parts, and creating a good program in the 
first place. Gaining valuable time to optimize bottlenecks.

An enormous majority of system software can be written with a GC 
somewhere.


More information about the Digitalmars-d mailing list