Cffi-Grovel advances rapidly

December 31, 2005, at 08:47 PM

As I say in the release notes:

This is an incremental improvement on the first release, from yesterday. It does more intelligent detection of constants that can have multiple names on different systems, almost eliminating the use of #+ feature-checks in unixint.lisp. It also has a new subsystem for figuring out how to access errno, tested on our development platforms. The main purpose of the release is for our generous testers to check that errno and path-max work for them.

Tarball here.

Sockets and CFFI-Grovel

December 29, 2005, at 11:27 PM

Lucca and I have been collaborating on a project to put together a portable sockets API, using CFFI. I spent last night writing a CFFI-Grovel, which does the same thing as sb-grovel, but portably: Takes care of the grunt work of figuring out types, constants, and structure layouts.

This is very preliminary, but we've been persuaded to put together a release so everybody can try it out. Have a look at the manual and general description, then grab the source. Right now, there is no "real" webpage, because we'd rather put our efforts into finishing up the incomplete parts of the code.

Comments are very welcome!