Java Native Access + JRuby = True POSIX

September 3, 2007

Charles Oliver Nutter:

[T]he idea behind JNA (jna.dev.java.net) is to use a foreign function interface library (libffi in this case) to wire up C libraries programmatically. This allows loading a library, inspecting its contents, and providing interfaces for those functions at runtime. They get bound to the appropriate places in the Java interface implementation, and JNA does some magic under the covers to handle converting types around. And so far, it appears to do an outstanding job.

About

This page contains a single entry from Stefan Tilkov's Random Stuff posted on September 3, 2007 4:10 PM. The previous post in this blog was SOA and Technology. The next post in this blog is Some Things Get Better With Age. Many more can be found on the main index page or by looking through the archives.

Comments