When I started, luajit ffi didn't support C callbacks. It was later added, but performance is bad and Mike advises against using them.
I've since wished for a non-callback interface to libuv, but nobody ever had time to write it. On May 26, 2017 2:57 PM, "Kamil Witecki" <[email protected]> wrote: > Hello, > I really appreciate luvit. I want to understand better what stands behind > design decisions. I thought about integration libuv with Lua myself some > time ago (before I discovered that luv does that). Though my idea was to > use LuaJIT and its FFI. I did a simple proof of concept (integrated libuv > timers and tested these). Did not push more effort into it. Though I wonder > if there is point in revisiting the topic. I would like to understand what > caused luv to be written in C. You must have analyzed the task deeply, so I > am eager to learn the reason. > > Pozdrawiam, > Kamil Witecki > > -- > You received this message because you are subscribed to the Google Groups > "luvit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "luvit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
