3 ms·
It has GC, e.g. DataStructures (https://reference.wolfram.com/language/guide/DataStructures.html https://reference.wolfram.com/language/guide/DataStructures....
by daneelsan 5y ago
It has GC, e.g. DataStructures (https://reference.wolfram.com/language/guide/DataStructures.html https://reference.wolfram.com/language/guide/DataStructures....) are GC'd. IIRC it uses refcounting for this.
- carry_bit 5y agoBy GC info in my post I mean tracking which registers and stack slots at each safepoint contain object references so the tracing GC can precisely identify all of the GC roots. Since Wolfram Language uses referencing counting instead, it doesn't need all of that complexity; it just has to insert MemoryAcquire/MemoryRelease at the appropriate spots in the IR.
- daneelsan 5y agoI see what you mean, simpler indeed!
- pizlonator 5y agoYou don’t need to track registers and stack slots to do GC. JSC doesn’t.