This package has been mostly done by Armin Rigo with help from Maciej Fijałkowski. The idea is heavily based (although not directly copied) from LuaJIT ffi by Mike Pall.