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

Won't that be an eager runtime though? Breaking Rust's assumption that futures do nothing until polled? Unless you don't submit it to the queue until the poll call, I guess


It won't be different from Tokio. When you pass a future to tokio::spawn, that will also eagerly execute the future right away.




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

Search: