Re:Zero-cost futures in Rust
by stshine on Friday August 12, 2016 @02:19AM
(#12273675)
Simply comparing M:N threading with futures is not correct. In my experience using futures in Javascript, it does not support control flow at all. The goroutine's equivalent is async/await, which transform the cps of asynchronous I/O back to sync form, but it may impose more overheads than M:N threading since it stores the stack structure in its parameter.
[ Parent
| on HN ]
There are no comments on this comment yet.