Re: Parallel processes: multi-core, same CPU?

Marc Balmer <[email protected]> Thu, 18 Jun 2026 08:53:49 +0200
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
>> Thanks for your suggestions.
>> AFAIK there are two candidates for parallel processing: `lanes` and (the newer) `effil`; they look similar to me but I have only experience with `effil`. Has anyone experience with both, and can share their relative pros and cons?
> I'd like to recommend my Lua task library ltask to the Lua community.
> https://github.com/cloudwu/ltask
>
> It is a flexible library that implements an n:m scheduler to run M Lua
> states on N OS threads, and the lua services communicate via message
> channels.

We us this scheme in production a lot, e.g. for https://trx-control.msys.ch

You find another approach at https://github.com/arcapos/mqlua where we 
can create Lua states in separate POSIX threads and have them 
communicate using ZeroMQ.


-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/7178cba5-8c5f-4c23-832f-8867ccdd94c2%40gmail.com.