ruby / fiddle

A libffi wrapper for Ruby.
BSD 2-Clause "Simplified" License
154 stars 37 forks source link

JRuby support #104

Open headius opened 2 years ago

headius commented 2 years ago

JRuby ships an implementation of fiddle based on FFI, and cannot support the C extension contained in this gem. It may be possible for us to do what @chrisseaton did and add a native fiddle implementation, but for now we would like to incorporate our own fiddle implementation into this gem, so that we can use it and users can reference it.

kou commented 2 years ago

+1

What should we do for it as the next step?

rubyFeedback commented 1 year ago

This would be interesting e. g. if we could then use fiddle + jruby for the libui bindings maintained by kojix2. I have not tried this yet (I usually use MRI as-is) but that would be really interesting, even more so with graalvm (if we can manage to compile everything into one app on windows one day; easy-mode distribution for elderly people who may need that. That is one use case I have for java swing, but of course I'd love to use jruby or any ruby-centric application for that).