Common Lisp FFI for http://zlib.net/, using cffi/c2ffi.
Python Common Lisp
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
c2ffi-spec
source
test
.gitignore
README.md
hu.dwim.zlib.asd

README.md

hu.dwim.zlib

What

A Common Lisp FFI for zlib (a compression library for deflate and gzip written in C).

Why

This FFI binding uses CFFI/C2FFI to automatically generate the CFFI definitions, so it's a (mostly) complete interface.

zlib's gzip format can be used for compressing HTTP responses to browsers.

Who

Written by attila@lendvai.name.

Where

The primary communication channel is the facilities on the project's GitHub page.

Status

The raw FFI part is almost complete (except some va_list stuff). It works well enough to be used in a web server to compress responses.

It doesn't (yet?) have any lispy extras over the raw zlib interface, but it seems to be fine without it.

It has an autoamted test that compresses and decompresses random data in random zlib configurations, and it doesn't yield any errors for me when run for minutes (besides some zlib peculiarities that are not excercised by default).