[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: green-threads in lua
- From: "Ivan Gagis" <igagis@...>
- Date: Thu, 31 Jul 2008 19:22:38 +0400
green threads are used extensively in Java VMs for embedded systems, majority of Java VMs for mobile phones use green threads.
Currently, lua offers coroutines for systems where using the OS threads is undesirable. Green threads would be a good alternative to coroutines.
2008/7/31 Javier Guerra <firstname.lastname@example.org>
does green threads offer any hard advantage on modern systems? most
On Thu, Jul 31, 2008 at 5:07 AM, Ivan Gagis <email@example.com
> Hi All,
> I saw some discussion about different implementations of threads in lua, but
> no one talked about green threads.
> In my opinion introducing the green treads would be a very good alternative
> to all implementations of threads (with native OS threads) existing at the
> moment and coroutines.
java VMs have migrated away from them...
(i know, Erlang and friends do that; but i think their architecture
offers special benefits from greeness that wouldn't transfer to Lua)