At least for the JNI part - there are many Java libraries that generate 
JNI, but my experience is that it is easier to just write JNI by hand (it 
is simple if you know what you are doing) than to learn to use one of 
those, usually poorly documented, tools.

As for code generation - OpenCL as a standard is moving towards SPIR 
intermediate format in recent releases (I think they already provided an 
implementation for C++ translation), which looks to me as a kind of a 
native bytecode, whose purpose is just that - to make possible for higher 
level languages to generate native kernels for CPUs, GPUs and various 
hardware accelerators. Unfortunately, language compilers is not an area 
that interests me, so I am unable to provide that for Clojure.

On Monday, March 14, 2016 at 6:46:53 PM UTC+1, raould wrote:
>
> Awesome would be a way for Cojure to generate C (perhaps with e.g. 
> Boehm–Demers–Weiser GC to get it kicked off) and JNI bindings all 
> automagically. 
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to