Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Buttons840
6y ago
0 comments
Share
"At the same time"? How does that happen on a single thread?
0 comments
default
newest
oldest
ilikehurdles
6y ago
It just interleaves execution. This really seems more similar to python's generator/yield semantics.
estebank
6y ago
That's how it is implemented under the covers, it uses the nightly only generators feature which builds a state machine of the entire future.
steveklabnik
6y ago
Executors are not inherently single threaded. They can be, they can also not be.
j
/
k
navigate · click thread line to collapse