On 04-01-2011 11:08, Ville Voutilainen wrote:
On 4 January 2011 13:05, Mark Evensonevenson@panix.com wrote:
Low level stuff for which you know the local system analogs via ANSI C linkage would be well served by using CFFI to wrap calls to [abcl-cffi-jna][]. We have a [putative patch to run JNA with the callbacks made possible via constructing the necessary Java interfaces on-the-fly made possible on abcl-0.24-dev][1] that we welcome feedback on esp. wrt. improving the ABCL system interfaces.
It would surely be neat to have an example of cffi/jna.
What kind of example? Once you get it running, it should work as every other CFFI platform and you can following the CFFI User Manual.
Cheers,
On 4 January 2011 15:08, Luís Oliveira luismbo@gmail.com wrote:
It would surely be neat to have an example of cffi/jna.
What kind of example? Once you get it running, it should work as every other CFFI platform and you can following the CFFI User Manual.
A documented example how to get it running with abcl's cffi implementation. We get this question from time to time, so an example is amply warranted. We can point to CFFI docs as "further info", but the "get it running" part is important. I can write such an example myself, no worries.
On 1/4/11 14:32 , Ville Voutilainen wrote:
On 4 January 2011 15:08, Luís Oliveiraluismbo@gmail.com wrote:
It would surely be neat to have an example of cffi/jna.
What kind of example? Once you get it running, it should work as every other CFFI platform and you can following the CFFI User Manual.
A documented example how to get it running with abcl's cffi implementation. We get this question from time to time, so an example is amply warranted. We can point to CFFI docs as "further info", but the "get it running" part is important. I can write such an example myself, no worries.
Critique the [cffi-jna-abcl][1] instructions on our wiki until I make them clear enough? Essentially one first downloads and adds "jna.jar" to the ABCL classpath. Then one uses ASDF-INSTALL to install the ASDF components it takes to get CFFI installed. The required patches are present [in my adhoc patch repository][asdf-abcl].
[asdf-abcl]: http://slack.net/~evenson/abcl/
[1]: http://trac.common-lisp.net/armedbear/wiki/asdf/cffi
On 04-01-2011 13:41, Mark Evenson wrote:
Critique the [cffi-jna-abcl][1] instructions on our wiki until I make them clear enough? Essentially one first downloads and adds "jna.jar" to the ABCL classpath. Then one uses ASDF-INSTALL to install the ASDF components it takes to get CFFI installed. The required patches are present [in my adhoc patch repository][asdf-abcl].
I suggest recommending Quicklisp instead of ASDF-Install, assuming Quicklisp supports ABCL.
On 1/4/11 15:11 , Luís Oliveira wrote:
On 04-01-2011 13:41, Mark Evenson wrote:
Critique the [cffi-jna-abcl][1] instructions on our wiki until I make them clear enough? Essentially one first downloads and adds "jna.jar" to the ABCL classpath. Then one uses ASDF-INSTALL to install the ASDF components it takes to get CFFI installed. The required patches are present [in my adhoc patch repository][asdf-abcl].
I suggest recommending Quicklisp instead of ASDF-Install, assuming Quicklisp supports ABCL.
Quicklisp loads fine, but my patches are against the development versions which in some cases are newer than what Quicklisp provides.
armedbear-devel@common-lisp.net