[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Multi-Threading (Was: New Batteries? (Was: Dead Batteries))
- From: Oliver <oschmidt-mailinglists@...>
- Date: Tue, 7 Jan 2020 19:51:43 +0100
Hi,
On 07.01.20 04:02, Stefan wrote:
> Python's insufficient thread support is a *big* disadvantage.
> But soon this will become very important!
> What about Lua?
> Making the language itself multithreaded is obviously not going to happen. But
> creating many independent Lua states that are executed by multiple threads is easy!
> - It's 2020, a useful standard library must support real threading
> - And Lua states are handy since they provide separate contexts without giving
> up the user-friendly cooperative model
you might want to have a look at my lua multi-threading modules, especially
"mtstates" for using lua states accross threads, see
http://lua.2524044.n2.nabble.com/ANN-multi-threading-tools-mtmsg-mtstates-amp-mtint-td7684427.html
Best regards,
Oliver