Subject:
[ruby-ffi] Re: FFI core concepts wiki documentation
From:
Jon
Date:
11/10/09 1:15 PM
To:
ruby-ffi@googlegroups.com


> Let me write up what I did, and if it is the best practice I will be 
> happy to add to the wiki.

Just curious, what OS/Ruby/FFI versions did you run things run under?

Did it work under JRuby?

The reason I ask is there's a consideration regarding string memory allocation due to how the JVM and JRuby handles strings via Java heap memory.

I've got to consolidate Wayne's summary of the issue and put it on the wiki, but looking over the aug_get and aug_match sigs (the :string param (Ruby 'path') in particular) I can't tell whether this would even be a concern.

Jon