Opened 13 years ago

Closed 11 years ago

#14 closed enhancement (wontfix)

Support for a C-calling FFI for CFFI to build upon

Reported by: ehuelsmann Owned by: Mark Evenson
Priority: major Milestone:
Component: other Version:
Keywords: Cc:
Parent Tickets:

Description

Mark Evenson suggests the use of JNA. I believe this project needs to become available in a JDK, but indeed it does look promising.

Change History (4)

comment:2 Changed 13 years ago by Mark Evenson

For #14, I didn't know JNA either, but essentially it seems to be just what
I thought to be necessary in my first mail --- a generic JNI stub that builds
a stack frame and calls an arbitrary C function. Since it builds on top of
JNI, you should be able to use it with existing JRE/JDK editions. If you do
use JNA, it would become a requisite for the yet-to-be-seen ffi for abcl.

-- Hideo at Yokohama via armedbear-j-devel

comment:3 Changed 12 years ago by Mark Evenson

Owner: changed from somebody to Mark Evenson
Status: newassigned

It looks like Luís Oliveira has [done the hard work][1]. Not sure what the best way to support this in ABCL would be.

Maybe I should really start mirroring ASDF packages with ABCL-specific patches until we get those patches merged upstream. But then I would like to ABCL's support for ASDF up to current by implementing the long form of CLOS's DEFINE-METHOD-COMBINATION. Chicken, meet egg.

[1]: http://common-lisp.net/~loliveira/patches/cffi-abcl.diff

comment:4 Changed 11 years ago by ehuelsmann

Resolution: wontfix
Status: assignedclosed

CFFI has already built on top of JNA to provide C interoperability on ABCL. Closing ticket.

Note: See TracTickets for help on using tickets.