FFI libraries provide a way to programmatically load and call
functions in dynamic libraries without writing any C or C++ code to
bridge. P/invoke on .NET is similar.

JNR, JNA, BridJ are the FFI libraries I know of on JVM.

- Charlie

On Mon, Aug 26, 2013 at 8:30 PM, Ted Neward <[email protected]> wrote:
> Pardon my ignorance: why isn't JNI already considered an FFI for the JVM?
> What would JNR do better than JNI does?
>
> Ted Neward
> Leading, Speaking, Consulting, Writing
> http://www.tedneward.com
>
>> -----Original Message-----
>> From: [email protected] [mailto:jvm-
>> [email protected]] On Behalf Of Charles Oliver Nutter
>> Sent: Thursday, August 22, 2013 4:45 PM
>> To: JVM Languages
>> Subject: [jvm-l] New group to discuss adding FFI to the JVM
>>
>> I've set up a google group to discuss adding FFI to the JVM.
>>
>> On the JRuby project, we've been working to improve our integration of
>> native libraries for years. At JVMLS 2013, I presented on the Java Native
>> Runtime (JNR) project, created by Wayne Meissner. We've been using JNR
>> for years to support a wide range of native libraries, and the Rubyists
> love us
>> for it.
>>
>> It's time to get an FFI library built into Java.
>>
>> The group is [email protected] and you can join here:
>> https://groups.google.com/forum/#!forum/jvm-ffi
>>
>> Anyone who's interested in having fast access to native libraries with the
> JIT
>> and GC happily cooperating...get involved. I want a JSR for Java 9.
>>
>> - Charlie
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "JVM Languages" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/jvm-languages.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "JVM Languages" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/jvm-languages.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jvm-languages.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to