Incremental garbage collection
first.last at gmail.com
Sat Jan 22 14:54:27 UTC 2022
On Saturday, 22 January 2022 at 13:03:26 UTC, Ola Fosheim Grøstad
>> Wren use its own non-moving, non-incremental, precise,
>> stop-the-world mark&sweep GC.
> But it only stops the wren-code, so it does not affect real
> time properties of the main program?
No because (roughly speaking) UI callbacks are in event loops /
timers separated from audio callbacks, and wren is called from
these UI callbacks.
So you can take as much time as you want to process a click, or
in WM_PAINT, it will never affect audio playback (well, it will
if you spawn many demanding threads from there).
To support that windowing in desktop OSes separates invalidation
More information about the Digitalmars-d