[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Message passing in Lua
- From: Marc Balmer <marc@...>
- Date: Sun, 23 May 2021 21:15:48 +0200
Personally, I prefer mqlua, which is Lua paired with ZeroMQ.
> Am 21.04.2021 um 09:53 schrieb Oliver <firstname.lastname@example.org>:
> On 10.04.21 16:12, Alby wrote:
>> Does Lua support (natively or through a module) anything like
>> (asynchronous) message passing between objects, in the style of the Io
>> programming language (which is now defunct, too bad).
> you may have a look at "mtstates" ( https://github.com/osch/lua-mtstates ): with
> this library it's possible to pass messages to "objects" (i.e. lua states) that
> are executed on any system thread as you want. "mtstates" is a rather low level
> library that can be combined with any multi threading library and message
> passing mechanism (e.g. "llthreads2" and/or "mtmsg"). If combined with
> coroutines, convenient higher level constructs could be build upon this.
> Best regards,