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

Agree on both points. While I don't find async rust hard to use as a library consumer, trying to write a runtime-agnostic library is (IMO) more difficult than it needs to be. I would like to see most of `futures` either be incorporated into the stdlib or used more consistently throughout the various runtimes.


I think we'd need, at least, runtime agnostic locks, channels, and a 'spawn' function (trickier). And ideally some I/O primitives somehow not tied to the runtime?




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

Search: