2 ms·
> Your functions can look completely synchronous, but yield to the event loop when they invoke a blocking API. Haskell does that, and it is great. But there is
by marcosdumay 6y ago
> Your functions can look completely synchronous, but yield to the event loop when they invoke a blocking API.
Haskell does that, and it is great. But there is no chance at all that I would want anything like that in Rust. It would be completely out of place, and break the entire concurrency model.
That would make the language unfit for any task I use it for today.