Re:Await in Rust
by rubber_duck on Monday August 12, 2019 @10:54AM
(#20675943)
Threaded IO is a low level thing there because of overhead caused by OS threads and Rust is a low level language with abstractions to deal with such low level interfaces. Async/await is better than callback passing - looks like normal call flow - but you need to know what's happening underneath. Zero cost abstractions. If you understand the implementation details it makes perfect sense - otherwise you can just keep doing the old way (callback pyramids or blocking IO)
[ Parent
| on HN ]
There are no comments on this comment yet.