Using Luvit to add a web server to C++ libuv app?

67 views
Skip to first unread message

Andrew

unread,
Feb 12, 2018, 11:39:02 AM2/12/18
to luvit
Hi,

I just stumbled upon Luvit while seeking a good way to replace CivetWeb in my libuv c++ application. Civet works but doesn’t use libuv, and now I need to add some JSON-rpc functionality to my application and that seems to require more web serving flexibility. My application already has Lua 5.2, a cmake build system, the latest libuv, uvw, JSON for Modern C++ and miscellaneous other bits and pieces which I don’t want to disrupt. I’m looking for a quick assessment about whether luvit is a living project and whether it’ll do what I need.

Thanks.

Tim Caswell

unread,
Feb 12, 2018, 11:54:38 AM2/12/18
to lu...@googlegroups.com
You probably don't want luvit itself, but the luv bindings (libuv to lua) are available standalone and published to luarocks.

I wrote up a blog post a while back showing how to use it directly with luajit and some of the luvit ecosystem of libraries. 



--
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 luvit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Brownsword

unread,
Feb 12, 2018, 12:24:22 PM2/12/18
to lu...@googlegroups.com
I was also hoping for a nice way to build webserver(s).  That isn’t strictly the libuv binding, is it?  What component is that?
You received this message because you are subscribed to a topic in the Google Groups "luvit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/luvit/7adydR6rjPU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to luvit+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages