On 10/30/2009 05:12 PM, Markus Roberts wrote:
>
>     I have an interest in running puppet in JRuby. For the augeas type, I
>     believe this means that I need to move it to FFI instead of using the
>     normal ruby extensions model. I have posted a RFC on the Augeas list [1]
>     but I wanted to do the same here. Are there any issues with introducing
>     a depdendency on FFI?
>
>
> After briefly considering the issue and a quick look at your code on
> github I'm not seeing anything to make me say "Stop, turn back!" -- in
> fact, it seems like a sane a reasonable direction to go.  This doesn't
> mean there won't be any problems, just that I doubt there aren't any
> surprises with the FFI part.  One possible issue with making FFI the
> default / standard interface would be HPUX, AIX, etc. support for
> non-jruby users -- I don't know off hand if MRI FFI goes beyond linux,
> *bsd, & solaris.  Perhaps someone else knows?

Yeah.. this was my main concern... the existing C code is more portable.


>
> On JRuby in general, I would be concerned about subtle metaprogramming
> semantic differences, though the jruby on rails process shook most of
> them out.  Have you done any testing / trials, and if so have you found
> any areas of concern besides augeas?
>

We did a little bit of looking, and had some success. We did not go too 
deep. This is a bit of pre-emptive work.

-- bk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to