Hacker News new | ask | show | jobs
by gruseom 4847 days ago
A lot of people find coroutines easier to work with than callbacks, so there's room for a Lua alternative to Node.js.

The way things are going, it looks like that alternative will also take advantage of Lua's embeddability to allow interop between web apps and web servers in a way that hasn't been widely practiced before.

1 comments

> there's room for a Lua alternative to Node.js

Do you know Luvit? http://luvit.io/

I've heard of it, but I'm unclear on the benefit. Can't you do async I/O in Lua already? What's the value of adopting the Node.js model, which is mostly about adding I/O to V8 and using callback functions for async, in Lua? (I hope that doesn't sound trollish – I'm ignorant and would like to understand, and the Luvit project page doesn't help.)