What is the equivalent of Lua Twisted Python, Eventmachine for Ruby, NIO for Java, etc.?

What is the equivalent of Lua Twisted Python, Eventmachine for Ruby, NIO for Java, etc.

If there are none, how can I make event-based non-blocking network I / O?

In general, how to solve the C10K problem in Lua?

Thank!

+3
source share
4 answers

My friend recently started the Lua Event Machine project , which should be a kind of Node.js, only in Lua.

(I have not tried it myself, you, I can not guarantee any guarantees of the projectโ€™s awesomeness ...)

+2
source

Lua-ev seems to be your best bet.

+1

I donโ€™t understand all the keywords in your question, but finding the C10K problem suggests that Lua escorts the Kepler project in context may be useful. This would certainly be the place I would go to create a high-performance web application using Lua and serve a large number of clients.

0
source

Node.js. Javascript is not too different from Lua, and node is crazy.

-4
source

Source: https://habr.com/ru/post/1737043/


All Articles