Sunday, November 22, 2009

CL-ZMQ is almost ready to go

Just commited large patch to CL-ZMQ. Main change is elimination of MOP wrapper, which I took from my other project - CL-V4L2. Video4Linux2 API has quite a lot of complex structures, so automatic bindings generation was a must there. But ZeroMQ2 API has only 2 simple structures, so horrible macro `define-wrapper' was definitely an overkill.

As a plus, sources are much simpler now, they started to work with CLISP. Also CLISP showed me a couple of bugs related to memory management and message object initialization. All tests in perf/ work both with SBCL and CLISP and their combination. I'm about to tag sources as version 0.1 in a couple of days.

Btw, if you're going to try CL-ZMQ, you need to build latest zeromq2 without eventfd support (add --disable-eventfd to configure options). Eventfd feature is still buggy in ZeroMQ2.

No comments: