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

`spawn_blocking` is a single function and it is not complicated, it shouldn't be too hard for other runtimes to do the same.

The end application does have to choose a runtime anyway and will have to stick with it because this area isn't standardized yet. This problem mostly affects the part of the ecosystem that wants to put complicated concurrency logic into libraries.



`spawn_blocking` should be part of a core executor interface that all executors must provide.




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

Search: