Re: Calling Native C-code from Clojure

2020-12-05 Thread John Doe
Cool! Thanks again Chris. On Saturday, December 5, 2020 at 4:09:39 PM UTC+1 ch...@techascent.com wrote: > You are most welcome :-). For numerical computation, libjulia-clj > <https://github.com/cnuernber/libjulia-clj> may interest you :-). > > On Sat, Dec 5, 2020 at 8:06

Re: Calling Native C-code from Clojure

2020-12-05 Thread John Doe
rt of the reason I wrote dtype-next > <https://github.com/cnuernber/dtype-next> which has the ability to > efficiently write/read from either java heap or native heap storage. > dtype-next has no dependency on either JNA or JNR. > > Hope this helps, > > Chris > >

Re: Calling Native C-code from Clojure

2020-12-05 Thread John Doe
ink jnr is probably easier to use. > > lvh > > On Fri, Dec 4, 2020 at 8:53 AM John Doe wrote: > >> Hello Everyone, >> >> *Motivation:* I want to invoke C-code functions from Clojure: writing >> Java functions in Clojure. >> >> *Plan of Attack:* Rath

Calling Native C-code from Clojure

2020-12-04 Thread John Doe
Hello Everyone, *Motivation:* I want to invoke C-code functions from Clojure: writing Java functions in Clojure. *Plan of Attack:* Rather than go with the JNI approach I want to interface with C-Library via JNR-FFI (https://github.com/jnr/jnr-ffi) Based on some example of using JNR-FFI https:/