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

I'm not sure what you mean by the "syscall overhead", but I 100% agree that stackless coroutines in Rust would be amazing. But I'm also skeptical that they can be implemented as a library without compiler support. C++ only manages with some very unhygienic macros, switches, and gotos:

https://github.com/chriskohlhoff/asio/blob/master/asio/inclu...



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

Search: