开发者

Is Lua an event-based programming language?

Is Lua event-based or thread-based?

I've been reading a lot about Node.js lately, and it appears that one of the the largest selling points for it is related开发者_运维技巧 to it being event-based as opposed to thread-based. What is Lua?


Do not mix terms. Lua is a programming language. Node.js is an evented library/framework written using JavaScript.

Lua can be (almost) anything you want ;) You can write your code thread-based using libraries like Lua-Lanes, or you can create/use event-based libraries. In fact, there is a Lua port of Node.js in development.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜