Personally I would avoid C bindings and either implement the protocol in pure lua or use luajit ffi, but depending on the state of the library and protocol, those might not be options.
Also, I'm sure you know, but make sure to never block the main thread on I/O. Most C libraries tend to do this by default. On Thu, Sep 29, 2016 at 10:00 AM, Dmitri Voronianski < [email protected]> wrote: > Hey, I'm looking into creating a mongodb driver specific for luvit > ecosystem and want to ask community if they had a chance to work with > mongodb in luvit or some kind of driver already exists. For my > implementation I'm planning to create bindings to C mongodb driver > https://github.com/mongodb/mongo-c-driver. > > -- > 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.
