Lua, event driven

While you can of course use standard lua with blocking IO, we find it most useful to support event driven programming. Fortunately there are good lua bindings for the "uv" library/eventloop, and all our samples are based on this technology.

For better readability and modularisation we make extensive use of coroutines

Multitasking, and event driven programming is non-trivial. There are some caveats to watch out for, but we will mark critical places clearly in the examples

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Lua, event driven