3 ms·
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 threa
by sanxiyn 6y ago
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?
- jen20 6y ago> Why wouldn't you use threading? Because the C10^nK problem where n increases periodically is still a thing?
- btrask 6y agoGreen threads.
- coolreader18 6y agoThose 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
- sanxiyn 6y agoI am not solving C10K problem.
- darthrupert 6y agoBecause you cannot win artificial benchmarks with threading.