LispCookbook / cl-cookbook

The Common Lisp Cookbook
http://lispcookbook.github.io/cl-cookbook/
Other
934 stars 138 forks source link

Use CFFI library in "FFI" Section #33

Open chuchana opened 9 years ago

chuchana commented 9 years ago

UFFI is an abstraction layer over all well-known Common Lisp FFI implementations. It may be interessting to add an example using this layer in the FFI section of the CL Cookbook.

http://uffi.med-info.com/

[Frederic Brunel @ http://sourceforge.net/p/cl-cookbook/feature-requests/2/]

eudoxia0 commented 9 years ago

UFFI is deprecated in favour of CFFI, so we should use that.

@pnathan I think we can close this.

vindarel commented 7 years ago

a nice and lengthy article on CFFI: https://z0ltan.wordpress.com/2016/09/16/interop-mini-series-calling-c-and-c-code-from-common-lisp-using-cffi-part-1/

vindarel commented 6 years ago

Lots of bits of Lisp (Baggers' screencast) on CFFI: https://www.youtube.com/watch?v=A5CnYlG7sc8

vindarel commented 6 years ago

new one: https://www.youtube.com/watch?v=BL9MiiCcETM&feature=youtu.be

we take a look at making use of all the great C libraries out there without having to write bindings by hand. We look at cl-autowrap and cffi/c2ffi but also talk a little bit about the groveller too.