[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: The differences between lua coroutine and golang goroutine?
- From: "Dimiter \"malkia\" Stanev" <malkia@...>
- Date: Wed, 23 Mar 2011 20:05:44 -0700
"A goroutine has a simple model: it is a function executing in parallel
with other goroutines in the same address space"
lua coroutines are not executed in parallel, but cooperative (hence the
My understanding is that go communicates through explicit channels, lua
through implicit yield, but this is probably not entirely correct. I
myself am go and lua newbie.
Dimiter "malkia" Stanev
On 3/23/2011 7:50 PM, Tang Daogang wrote:
Recently I am reading some introductions on go language, find that it
has a new concept: goroutine.
Anybody knows the differences between lua coroutine and golang
goroutine, and further 'channel'?
Nothing is impossible.