From: Michael Neumann Date: 2007-12-25T20:25:55+09:00 Subject: [Rubinius-question] GC-related Hi, BTW, is there a Rubinius related mailing list? I couldn't find one! If not, here is my problem/question: I've a lot of C++ objects, and wrap them in Ruby objects (just like every C/C++ extension does using Data_Wrap_Struct). This creates the same amount of Ruby objects of course. I'd love to avoid this overhead by allocating a few more bytes for the C++ object to then "embed" the Ruby object into the C++ object (or vice versa). But that doesn't work with MRI/Ruby, because the GC assumes the allocated memory to be within a well known memory frame and of a special size or aligned, mainly due to reducing overhead when doing a conservative cycle (or that's how I understand it). How is it done in Rubinius? Is it possible to allocate any number of bytes per Ruby object? In-line? Thanks in advance, and Merry Christmas! Regards, Michael