On 28/08/2014 08:04, Marvin Humphrey wrote:
On Wed, Aug 27, 2014 at 2:35 AM, Nick Wellnhofer <[email protected]> wrote:

OTOH, this might allow us to use the host language's GC for all Clownfish
objects and make refcounting a no-op which seems like an interesting idea.

We should explore every option to make that work -- it's the ideal.

But consider the challenges posed by a concurrent collector which might fire
at any time.

Another problem is that if someone starts developing an extension for a host language with GC, he can't test whether it works properly under a host language with ref counting. If someone else wants to use the extension under a refcounted language, he will probably have to fix memory leaks and things like circular references that the original author didn't care about.

Nick

Reply via email to