[Ecls-list] Preferred FFI bindings

Marko Kocić marko.kocic at gmail.com
Thu Apr 22 11:13:16 UTC 2010


What is the recomended way to deal with FFI bindings in ECL?

I see that ECL itself includes both low-level clines c-inline and UFFI
approach, and that CFFI also supports ECL. What are performance
limitations when dealing with different bindings approaches.

I'm mainly interested in SDL right now. I would like to avoid
lispbuilder-sdl because of long dependency chain (and it doesn't
compile with ECL right now) and to create low level bindings, since I
would like to learn more about SDL in the process. Since app I have in
plan is a small one, I'd also like to avoid CFFI as it also has long
list of dependencies unless there is compelling reason to use it
instead of UFFI/FFI.

Also, is there a way to automatically generate FFI bindings by
providing h file, or it has to be done manually?

Thanks,
Marko Kocić




More information about the ecl-devel mailing list