The D standard library is built on GC, is that a negative or positive?

ikod igor.khasilev at gmail.com
Thu Dec 15 08:42:22 UTC 2022


On Wednesday, 14 December 2022 at 11:12:52 UTC, cc wrote:

> couldn't work around.  It doesn't matter if the actual delay 
> caused by a GC pause is minimal, if those delays cause 
> significant recurring hiccups and timing errors.  Allocations 
> and deallocations had to be more deterministic, ultimately it 
> came down to the decision that with the need to offload or 
> reschedule memory management to be more distributed, working 
> around the GC would be more trouble than just avoiding it in 
> the first place.

Probably this is common case when your program works in tight 
loop - like game, or webserver under high load. Process just have 
no spare time to handle GC cleanups (for stop-the-world 
collectors).


More information about the Digitalmars-d mailing list