Subject:
Re: [ruby-ffi] Struct/ManagedStruct and GC behaviour
From:
Jon
Date:
12/22/09 8:49 AM
To:
ruby-ffi@googlegroups.com

> People should peruse e.g. the nokogiri FFI backend, and figure out how
> one would rewrite it with explicit memory management, before proposing
> solutions to the problem.

That makes a lot of sense to me.

I'd also like to take a pause on updating the main Structs wiki doc to give us a chance to generate some real solid recommendations and examples to help users consider and take into account these tradeoffs when using FFI in their code.

I'll start a Struct doc (HTML) that will live under http://ffi.github.com/ so we can tweak as needed via git push/pull rather than working ton our main wiki page.  No, it won't have my hard-to-edit-side-by-side-CSS-styling so, while it will be ugly, it should be easy for anyone to update ;)

Jon