[augeas-devel] [RFC] Ruby Augeas bindings using FFI
Bryan Kearney
bkearney at redhat.com
Thu Nov 5 21:53:54 UTC 2009
On 11/03/2009 02:23 PM, David Lutterkort wrote:
> On Fri, 2009-10-30 at 13:38 -0400, Bryan Kearney wrote:
>> I have an interest in seeing the ruby bindings for Augeas run in JRuby.
>> So.. that means moving the ruby bindings over to FFI. Since I suck at C
>> anyways, seems like a good move all around :).
>>
>> I have taken a first cut [1] at this, and the tests pass. I need to work
>> on packaging, but I wanted to get feedback on what was there.
>>
>> Any comments are welcome.
>
> I know next to nothing about FFI, and don't know how widely available it
> is. Since the Ruby bindings are so important for the Ruby/Puppet
> integration, I am very hesitant to muck with it until we're sure that
> FFI is as widely available as plain old C Ruby bindings.
I asked the same question on the puppet list and did not get any feedback.
>
> But I'd be open to maintaining the bindings in parallel, and dreaming up
> some packaging magic to switch between the two (not sure what that magic
> would look like, though ;)
I just submitted the ruby-ffi package for review [3]. I am happy to sit
on these changes for now until I know I need them. They build and work.
I will keep them up to date with the main ruby ones as necessary.
[3] https://bugzilla.redhat.com/show_bug.cgi?id=533291
More information about the augeas-devel
mailing list