If you're willing to rewrite to do a less direct port, the coroutine based libraries and frameworks work much better with lua. I use weblit for my services. It's a bit like express or koa.
And yes, there are sparse DB drivers. Proper drivers for a non-blocking system take a lot of work. It took node.js years to get to where it is. I do have basic (not battle tested) redis and postgres drivers in pure lua though. On Wed, Aug 31, 2016 at 5:18 AM, Jordan Green <[email protected]> wrote: > Thanks all, > > Ryan I'll certainly look into that. Yes, we've considered golang. Lua > makes alot of sense as we do alot of machine learning and work with torch, > but there's clearly a large gap between lua and go/js for third party > libraries etc. > > Jordan > > On Wed, Aug 31, 2016 at 4:37 AM, Ryan Phillips <[email protected]> wrote: > >> You might want to consider Golang. You get the benefits of static typing >> and parallelism with go routines. >> >> Regards, >> Ryan >> >> On Mon, Aug 29, 2016 at 7:58 PM, <[email protected]> wrote: >> >>> Hi, >>> >>> Just came across luvit and - I luvit! >>> >>> I'm wondering if anyone here has had any success porting a large node.js >>> app to luvit? I manage much of the long-term production planning for a >>> largely distributed node app running on mesos, and am starting to look into >>> lua as a longer term migration option. >>> >>> Any thoughts, tips, or musings are greatly appreciated. >>> >>> Thanks! >>> >>> J >>> >>> -- >>> 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. >>> >> >> > > > -- > > [image: J A Green Investments ATF J A Green Holdings Trust] > <http://jordangreen.io/> > > [image: Twitter] <https://htmlsig.com/t/0000001BX3D27> [image: LinkedIn] > <https://htmlsig.com/t/0000001BWRGV4> [image: Skype] > <https://htmlsig.com/t/0000001BS663B> [image: Github] > <https://htmlsig.com/t/0000001C070KP> > > Jordan Green > [email protected] / +61 405 911 100 > > J A Green Investments ATF J A Green Holdings Trust > jordangreen.io > > This e-mail message may contain confidential or legally privileged > information and is intended only for the use of the intended recipient(s). > Any unauthorised disclosure, dissemination, distribution, copying or the > taking of any action in reliance on the information herein is prohibited. > E-mails are not secure and cannot be guaranteed to be error free as they > can be intercepted, amended, or contain viruses. Anyone who communicates > with us by e-mail is deemed to have accepted these risks. J A Green > Investments ATF J A Green Holdings Trust is not responsible for errors or > omissions in this message and denies any responsibility for any damage > arising from the use of e-mail. Any opinion and other statement contained > in this message and any attachment are solely those of the author and do > not necessarily represent those of the company. > > -- > 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.
