Node.js for lua?

Posted by Shahbaz on Stack Overflow See other posts from Stack Overflow or by Shahbaz
Published on 2010-06-06T18:36:01Z Indexed on 2010/06/06 18:42 UTC
Read the original article Hit count: 294

Filed under:
|
|
|

I've been playing around with node.js (nodejs) for the past few day and it is fantastic. As far as I can tell, lua doesn't have a similar integration of libev and libio which let's one avoid almost any blocking calls and interact with the network and the filesystem in an asynchronous manner.

I'm slowly porting my java implementation to nodejs, but I'm shocked that luajit is much faster than v8 JavaScript AND uses far less memory!

I imagine writing my server in such an environment (very fast and responsive, very low memory usage, very expressive) will improve my project immensly.

Being new to lua, I'm just not sure if such a thing exists. I'll appreciate any pointers.

Thanks

© Stack Overflow or respective owner

Related posts about lua

Related posts about node