The easiest way to compete with Rust and cure D's GC reputation: switch to ARC.

Kapendev alexandroskapretsos at gmail.com
Thu Jul 10 11:38:15 UTC 2025


On Wednesday, 9 July 2025 at 17:10:26 UTC, WraithGlade wrote:
> Having memory collection run at some unknown time in the future 
> and with an unknown duration is a recipe for rendering any 
> language or ecosystem that uses that GC unusable for hard 
> realtime applications such as safety critical medical devices 
> (where even a slight pause could cause an incorrect cut during 
> surgery, etc) or video games that want/need to reduce 
> unpredictable stuttering (such as to reduce the chance of 
> epileptic seizures induced by frame stuttering or just to make 
> a more pleasant experience). D's standard library and ecosystem 
> being based on GC infectiously causes most of that ecosystem to 
> thus be unusable.

D already allows GC-free code and given how many successful indie 
games are made with C#, it's hard to argue that GC isn't a good 
fit for that. Can you also not disable/enable stuff at runtime?


More information about the dip.ideas mailing list