ES6 Tasks and TaskQueues
Brendan Eich
brendan at mozilla.com
Tue Mar 4 15:44:22 PST 2014
Tom Van Cutsem wrote:
> By contrast, terms such as "task" are used much more broadly (e.g.
> tasks scheduled on a thread pool).
Yes, and a Task (e.g., in Rust; akin to goroutine in Go or Process in
Erlang) can be suspended voluntarily. The use of "task" goes way back
(multi-tasking).
I think we want a different word, not only to avoid confusion with
respect to HTML5, but because JS event loop "runs" or "turns" really are
different from those other "tasks" from CS literature and OS/PL research.
/be
More information about the es-discuss
mailing list