Re: Anyone aware of a LuaJIT FFI-based libevent library?

  • From: Mike Pall <mike-1206@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 6 Jun 2012 20:59:42 +0200

demetri wrote:
> I've done some digging and found Lua/C API based libraries, and obviously I
> could just bind specific functions myself, but I thought this was something
> that might be a "solved problem" in the LuaJIT community.

If you don't mind it's wrapping libev (not libevent), here's one
from Evan Wies:

  https://gist.github.com/1409794

I didn't try it, but the code looks good. And this is in no way an
endorsement for libev vs. libevent (they all have their flaws, the
most obvious is requiring C callbacks).

--Mike

Other related posts: