[chuck-users] Chuck garbage collection needs a manual
Hans Aberg
haberg-1 at telia.com
Mon Sep 6 18:31:25 EDT 2010
On 7 Sep 2010, at 00:20, Kassen wrote:
>> It has also been discussed other types of GC. A problem with a
>> collecting GC is that it must work with the perfect timing that
>> ChucK has, which syncs every sample time (at about 44 kHz).
>
> Indeed. But we don't have to calculate a sample every sample; we
> only need to calculate a block every block; there is some leeway.
What are these blocks? I thought Chuck is running in one thread. It is
though true that one could free the marker of the memory
synchronously, and let a GC in a separate thread collect inasmuch it
gets time for it.
More information about the chuck-users
mailing list