std threads vs tokio Runtime

27 views   |   05:33   |   2019-06-17   |   0 likes / 0 dislikes

Watch video in Scitech.video Open in new tab

Dodgy Coding

Hosted on Scitech.video

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...

Language English
Category Science & Technology
Licence Attribution - Non Commercial
NSFW SFW