Re: Scalability of Lua, many small vs. few big lua_States?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Scalability of Lua, many small vs. few big lua_States?
- From: Sean Conner <sean@...>
- Date: 2014年1月27日 21:42:18 -0500
It was thus said that the Great Dirk Laurie once stated:
>
> A lua_State is simply a thread, and if you are only accessing it via the
> coroutine library it is idiomatic Lua (=nice) even if you have a huge
> table of coroutines.
Careful with the terminology here. You have system (possibly pthread)
threads, and then Lua threads (coroutines). Two quite different beasts.
-spc