Joka/Parin update - Optional GC support

xoxo xororwr at gmail.com
Sat Jun 28 09:16:22 UTC 2025


On Saturday, 28 June 2025 at 07:21:36 UTC, Doigt wrote:
> On Friday, 20 June 2025 at 19:23:57 UTC, Kapendev wrote:
>> The idea for this came while reading some comments on a 
>> Discord server:
>>
>>> yeah, people use D, but then go 'GC' is evil hurr durr
>>> nogc this nogc that
>>> like why
>
> I wonder who said that huh

Anyone working in the low latency/interactive field, including 
game developers, will tell you the same things: GCs are bad, you 
need to prepare ahead of time, and you should reuse your buffers 
and objects.

Although there are many counter-examples that fully utilize the 
GC, it's generally minimized because the majority of the work is 
done in C, C++, or Rust.

The general rule, which applies to both malloc and GC, is to 
avoid allocating unless absolutely required.




More information about the Digitalmars-d-announce mailing list