Re: jna Java Native Acess and clojure ....

2010-08-11 Thread mac
On Aug 11, 4:26 pm, Chouser wrote: > On Wed, Aug 11, 2010 at 5:18 AM, mac wrote: > > > It is certainly theoretically possible to call C++ from Clojure/Java > > but it requires deep knowledge and lots of code for each C++ compiler > > one would like to support. > > I've done a fair amount of work

Re: jna Java Native Acess and clojure ....

2010-08-11 Thread Chouser
On Wed, Aug 11, 2010 at 5:18 AM, mac wrote: > > It is certainly theoretically possible to call C++ from Clojure/Java > but it requires deep knowledge and lots of code for each C++ compiler > one would like to support. I've done a fair amount of work getting specific C++ libraries to work with Clo

Re: jna Java Native Acess and clojure ....

2010-08-11 Thread mac
On Aug 10, 5:58 pm, Frederick Polgardy wrote: > Access to C/C++ is only available via JNI, which requires a bit of technical > understanding about the Java-C bridge. Are you just trying to make use of a > C++ library you already have, for which there is no pure Java equivalent? When using clj

Re: jna Java Native Acess and clojure ....

2010-08-10 Thread Frederick Polgardy
Access to C/C++ is only available via JNI, which requires a bit of technical understanding about the Java-C bridge. Are you just trying to make use of a C++ library you already have, for which there is no pure Java equivalent? -Fred -- Science answers questions; philosophy questions answers. O

Re: jna Java Native Acess and clojure ....

2010-08-10 Thread Sunil S Nandihalli
Thanks Mac for your clarification .. I am using clojure 1.2 .. so should be fine. And I was wondering if I can acess c++ stuff via clj-native .. What are your suggestions? Sunil On Tue, Aug 10, 2010 at 12:45 PM, mac wrote: > I'm the author of clj-native. > Currently it only works with Clojure 1.

Re: jna Java Native Acess and clojure ....

2010-08-10 Thread Sunil S Nandihalli
Thanks Chouser for your reply .. I was wondering if it is possible to acess c++ code via clj-native .. I only seem to find c-native calls .. do you have a comment on this.. Sunil. On Mon, Aug 9, 2010 at 9:01 PM, Chouser wrote: > On Mon, Aug 9, 2010 at 10:55 AM, Sunil Nandihalli > wrote: > > Hel

Re: jna Java Native Acess and clojure ....

2010-08-10 Thread mac
I'm the author of clj-native. Currently it only works with Clojure 1.2. In retrospect I should have made a separate branch when dropping 1.1 support. If you need 1.1 support, just tell me and I could make a branch for it since the changes required should be small. /Markus On Aug 9, 5:31 pm, Chous

Re: jna Java Native Acess and clojure ....

2010-08-09 Thread Chouser
On Mon, Aug 9, 2010 at 10:55 AM, Sunil Nandihalli wrote: > Hello everybody, >  I have been trying to use the native libraries in clojure. I have > found clj-native and clojure-jna which may serve the purposes. I would > like to get a feed back from the community .. Which of these is good > to use

jna Java Native Acess and clojure ....

2010-08-09 Thread Sunil Nandihalli
Hello everybody, I have been trying to use the native libraries in clojure. I have found clj-native and clojure-jna which may serve the purposes. I would like to get a feed back from the community .. Which of these is good to use .. Or do you have any other suggestions.. Thanks in advances... Suni