std threads vs tokio Runtime
Dodgy Coding | 27 views | 2019-06-17
In Rust code, two ways to run concurrent tasks are spawning threads using the standard library, and using the tokio crate for async I/O. In this video I make a test program with 100 tasks that take different amounts of time and compare how threads...