Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A lot of that pain could have been avoided if the language had better primitives for async in the std or in the futures crate. Like a trait that executor must implement and a "default" blocking executor to execute async code from sync.

This is one of the goals of the async working group. Hopefully, when ready, that'll make it possible to swap out async runtimes underneath arbitrary code without issues.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: