Hmmmm, what about... capture some stuff from the env do some other stuff capture the new state of the env no thread::sleep
-
-
- 2 more replies
New conversation -
-
-
This Tweet is unavailable.
-
exactly, that's why i'm struggling. trying to figure out if it makes sense to demonstrate channels without spawning threads in the book, 1st
- 2 more replies
-
-
-
if you have an event loop, and want to delay executing a task until after processing outstanding events,
New conversation -
-
-
I can't think of a valid reason except that you intend to make the program concurrent later? But that's not a great reason.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It feels like paying complexity tax for no benefit. A single thread can use direct calls or queue work in a `Vec` instead.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
and a great example in my mind is David Nolen’s work in his Clojure(script) UI+CSP posts series like http://swannodette.github.io/2013/07/31/extracting-processes …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Just about any other way of writing that program would be better.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.