Another option for JNA is: https://github.com/chouser/clojure-jna



On Nov 15, 2011, at 9:34 AM, Aaron Cohen <aa...@assonance.org> wrote:

> FYI: https://github.com/bagucode/clj-native uses bytecode generation to 
> create the glue classes on the fly.
> 
> On Tue, Nov 15, 2011 at 12:21 PM, Marshall T. Vandegrift <llas...@gmail.com> 
> wrote:
> Integrating the JVM with C via JNA [1] is pretty straightforward.  I've
> been doing all my JNA glue in Java so far because JNA depends on a few
> features which aren't available / convenient use in Clojure [2], but a
> decent Clojure wrapper API probably wouldn't be too difficult.
> 
> [1] https://github.com/twall/jna
> 
> [2] Structures involve definition of concrete types inheriting from
>    other concrete types; "direct method mapping" requires tagging
>    methods as `native' and providing a class-level static initializer.
> 
> -Marshall
> 
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to