[Off-Topic] John Carmack's point of view on GC and languages like JavaScript

Walter Bright newshound2 at digitalmars.com
Mon Aug 8 01:05:40 UTC 2022


On 8/7/2022 1:43 PM, ryuukk_ wrote:
> That's kinda bullshit, it depends on the GC implementation

I expect his opinions on the GC to reflect the implementations he's used, not ours.


> D's GC is not the panacea, it's nice to have, but it's not something to brag 
> about, specially when it STILL stop the world during collection, and is STILL 
> not scalable

Any implementation strategy is based on tradeoffs. D's are:

1. To run in mixed language instances, must work with C code with a frictionless 
interface.

2. To coexist peacefully with code that extensively use other allocation strategies

3. To have zero parasitic overhead

The requirements of Go and Java are quite different, which drives their 
different strategies.


More information about the Digitalmars-d mailing list