<div dir="ltr"><div>Dear Marc,</div><div><br></div><div>Just curious, Gambit's JS backend, it uses the JS VM:s GC right -</div><div><br></div><div>How do you make the SCM to JS object mapping deliver that?</div><div><br>

</div><div>I mean, say, a cons cell, a vector, a closure, a firstclass continuation and a stack frame, about how are those mapped to JS objects as for the JS VM to be able to GC them just as it does with ordinary values?</div>

<div><br></div><div> - Gambit uses numbers for object references ordinarily, so I guess the object mapping has been done deeper than that, so that actual JS object references are used as SCM object references by the JS backend.</div>

<div><br></div><div>Thanks,</div><div>Mikael</div></div>