On Thu, Jun 4, 2015 at 7:06 AM, Nick Wellnhofer <[email protected]> wrote:
> But we don't set the low bit on the Ruby object pointer (VALUE). Pointers to
> Clownfish objects will probably end up in the `data` field of struct RData.
> Ruby shouldn't care about the contents of this field.
I'm hoping that we can implement Clownfish under Ruby such that...
* Clownfish objects *are* Ruby objects.
* The Clownfish refcounting routines are made no-ops.
* A `Visit_Refs` method can be factored out of our current `Destroy` methods
which will be used for decref'ing under refcounting hosts and for the
"mark" phase of mark-and-sweep GC under Ruby (and Python).
Marvin Humphrey