Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Claude Pache
Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock al...@wirfs-brock.com a écrit : I don't think this use of the word turn is broadly enough known to provide many spec. readers an immediate intuitive feeling for the concept. It seems to me that the word turn is widely used in that sense for

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Allen Wirfs-Brock
On Mar 3, 2014, at 10:04 PM, Brendan Eich wrote: Allen Wirfs-Brock wrote: Now its just a word that we are assigning our own meaning to, so we can use turn if we want. But is that equivalence of turn and task really what you're used to, and something whose meaning is intuitive enough?

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Mark S. Miller
On Mon, Mar 3, 2014 at 4:57 PM, Allen Wirfs-Brock al...@wirfs-brock.comwrote: On Mar 3, 2014, at 4:32 PM, Mark S. Miller wrote: Is chore better than turn? Mark, to me turn, as a noun, sounds like a scheduling slot rather than the thing that gets scheduled into the slot. For example: in

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Mark S. Miller
On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache claude.pa...@gmail.com wrote: Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock al...@wirfs-brock.com a écrit : I don't think this use of the word turn is broadly enough known to provide many spec. readers an immediate intuitive feeling for the

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Allen Wirfs-Brock
Mark, As I've already said, I can live with Turn. It's big advantage is that it completely avoids confusion with the HTML Task/Micro-task concepts. Allen On Mar 4, 2014, at 8:24 AM, Mark S. Miller wrote: On Mon, Mar 3, 2014 at 4:57 PM, Allen Wirfs-Brock al...@wirfs-brock.com wrote: On

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Tab Atkins Jr.
On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache claude.pa...@gmail.com wrote: Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock al...@wirfs-brock.com a écrit : I don't think this use of the word turn is broadly enough known to provide many spec. readers an immediate intuitive feeling for the concept.

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Mark S. Miller
On Tue, Mar 4, 2014 at 10:39 AM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache claude.pa...@gmail.com wrote: Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock al...@wirfs-brock.com a écrit : I don't think this use of the word turn is broadly enough known

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Tom Van Cutsem
The benefit of turn is that I've seen this terminology used almost exclusively for denoting an atomic turn of an event loop (tick is also often used). By contrast, terms such as task are used much more broadly (e.g. tasks scheduled on a thread pool). Just my 2c. 2014-03-04 19:47 GMT+01:00 Mark

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Tab Atkins Jr.
On Tue, Mar 4, 2014 at 10:47 AM, Mark S. Miller erig...@google.com wrote: On Tue, Mar 4, 2014 at 10:39 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache claude.pa...@gmail.com wrote: Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock al...@wirfs-brock.com

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Allen Wirfs-Brock
On Mar 4, 2014, at 11:03 AM, Tom Van Cutsem wrote: The benefit of turn is that I've seen this terminology used almost exclusively for denoting an atomic turn of an event loop (tick is also often used). By contrast, terms such as task are used much more broadly (e.g. tasks scheduled on a

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Rick Waldron
On Tue, Mar 4, 2014 at 2:03 PM, Tom Van Cutsem tomvc...@gmail.com wrote: The benefit of turn is that I've seen this terminology used almost exclusively for denoting an atomic turn of an event loop (tick is also often used). I was drafting a response that said exactly this, came back from

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Claude Pache
Le 4 mars 2014 à 19:47, Mark S. Miller erig...@google.com a écrit : On Tue, Mar 4, 2014 at 10:39 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Mar 4, 2014 at 5:59 AM, Claude Pache claude.pa...@gmail.com wrote: Le 24 févr. 2014 à 19:40, Allen Wirfs-Brock al...@wirfs-brock.com a

Re: ES6 Tasks and TaskQueues

2014-03-04 Thread Brendan Eich
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

RE: ES6 Tasks and TaskQueues

2014-03-03 Thread Domenic Denicola
@mozilla.org list Subject: Re: ES6 Tasks and TaskQueues On Feb 24, 2014, at 10:11 AM, Mark S. Miller wrote: On Mon, Feb 24, 2014 at 9:45 AM, Allen Wirfs-Brock al...@wirfs-brock.commailto:al...@wirfs-brock.com wrote: ... Hi Allen, I agree that it's good to keep these levels separate by adopting distinct

Re: ES6 Tasks and TaskQueues

2014-03-03 Thread Allen Wirfs-Brock
On Mar 3, 2014, at 1:55 PM, Domenic Denicola wrote: I'd like some help understanding why we are not using the word micro-tasks here, and more generally why we are going our separate way and not trying to unify with HTML. Here is my understanding: I've specifically avoided the word

Re: ES6 Tasks and TaskQueues

2014-03-03 Thread Mark S. Miller
Is chore better than turn? On Mar 3, 2014 4:10 PM, Allen Wirfs-Brock al...@wirfs-brock.com wrote: On Mar 3, 2014, at 1:55 PM, Domenic Denicola wrote: I'd like some help understanding why we are not using the word micro-tasks here, and more generally why we are going our separate way and

Re: ES6 Tasks and TaskQueues

2014-03-03 Thread Allen Wirfs-Brock
On Mar 3, 2014, at 4:32 PM, Mark S. Miller wrote: Is chore better than turn? Mark, to me turn, as a noun, sounds like a scheduling slot rather than the thing that gets scheduled into the slot. For example: in the next turn, we will run the handler for promise p. The thing that gets

Re: ES6 Tasks and TaskQueues

2014-03-03 Thread Brendan Eich
Allen Wirfs-Brock wrote: Now its just a word that we are assigning our own meaning to, so we can use turn if we want. But is that equivalence of turn and task really what you're used to, and something whose meaning is intuitive enough? On naming, we can use Turn instead of Task if enough

Re: ES6 Tasks and TaskQueues

2014-02-24 Thread Mark S. Miller
On Mon, Feb 24, 2014 at 9:45 AM, Allen Wirfs-Brock al...@wirfs-brock.comwrote: I was going to respond via github to this issue comment, but I figured the answer probably was of interest to a broader audience. So go and read https://github.com/Raynos/observ-hash/issues/2#issuecomment-35857671

Re: ES6 Tasks and TaskQueues

2014-02-24 Thread Allen Wirfs-Brock
On Feb 24, 2014, at 10:11 AM, Mark S. Miller wrote: On Mon, Feb 24, 2014 at 9:45 AM, Allen Wirfs-Brock al...@wirfs-brock.com wrote: ... Hi Allen, I agree that it's good to keep these levels separate by adopting distinct terminology. However, using the term Task to avoid confusion with