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

Yes. There are some difficult technical issues. In practice, borrow checker works less well on async code than threaded code.

This is partly why I prefer threading over async in Rust. Look, we went through some enormous effort to make threading good and fun again. Why wouldn't you use threading?



> Why wouldn't you use threading?

Because the C10^nK problem where n increases periodically is still a thing?


I am not solving C10K problem.


Green threads.


Those are async tasks

Or rather -- async tasks are as close as you can get to green threads in rust without a runtime that would impose overhead on every program


Because you cannot win artificial benchmarks with threading.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: