Dimitris;<br><br>&gt;<br>&gt; Thanks Kas, yes I use all these techniques, I think I will even try to define the variables outside the class/function and pass it by reference if I see that I have a problem so that memory is allocated only once. I think actually that this might solve the problem. (I hope that it&#39;s not only objects/arrays that you pass by reference in ChucK, I&#39;ll have to check the manual...)<br>
&gt;<br><br>I think most of our problems can be solved with this kind of technique, at least practically speaking.<br><br>Still; I do think there are techniques that would be very worthwhile that aren&#39;t being explored in ChucK right now because doing so would lead to memory issues. For example recursion; we can use recursion (it&#39;s even used in the examples) but we tend not to. For me part of the reason there is that I fear the amount of garbage. For practical things I can re-write most things linearly so it&#39;s no big deal but a recursive approach might be extremely interesting on a compositional level.<br>
<br>I suspect having GC will open the door to new techniques that would be impractical to explore right now.<br><br>Eduard;<br><br>That&#39;s interesting but are you sure that memory will actually be freed in that case? I&#39;m not so sure about that.<br>
<br>Yours,<br>Kas.<br>