Re:Concurrency is not Parallelism (it's better) - A talk by ...
by masklinn on Friday April 13, 2012 @01:48PM
(#3837919)
Goroutines are threads though (in the sense of preemtively scheduled concurrent execution sharing memory), they just aren't OS threads.
[ Parent
| on HN ]
Re:Concurrency is not Parallelism (it's better) - A talk by ...
by skelterjohn on Friday April 13, 2012 @03:15PM
(#3838387)
But they aren't "preemptively scheduled concurrent execution sharing memory".
They are "cooperatively scheduled concurrent execution sharing memory".
Re:Concurrency is not Parallelism (it's better) - A talk by ...
by 4ad on Friday April 13, 2012 @03:22PM
(#3838412)
The current implementations are cooperatively scheduled, but nothing in the specification prevents a preemptively scheduled implementation. After all, gccgo had a preemptively scheduled implementation until a few months ago.
That being said, I prefer my goroutines to be cooperatively scheduled.
Re:Concurrency is not Parallelism (it's better) - A talk by ...
by luriel on Friday April 13, 2012 @01:53PM
(#3837940)
When Go was first presented Rob said the term "Goroutine" was introduced precisely to avoid this kind of confusions, but old habits are hard to kill and seems that even Rob himself still falls into this trap from time to time :)
Re:Concurrency is not Parallelism (it's better) - A talk by ...
by ralph on Saturday April 14, 2012 @06:15AM
(#3840466)
No, he didn't. It's not a typo. :-)
Re:Concurrency is not Parallelism (it's better) - A talk by ...
by gtani on Friday April 13, 2012 @02:06PM
(#3838017)
Similar/analogous (I believe these all have significant differences)to F# MailboxProcessor, akka actors, erlang/BEAM processes and userspace/green threads in e.g. GHC,
Re:Concurrency is not Parallelism (it's better) - A talk by ...
by ww520 on Friday April 13, 2012 @02:22PM
(#3838101)
But the title of the slide said, "Goroutines are not threads."
I understand what you meant, but it's kind of confusing to use the same term for different things within the same slide while claiming they are different.