> 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?

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?

-- Markus

--~--~---------~--~----~------------~-------~--~----~
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