4 ms·
Does that runtime run the tasks across multiple cores?
by politelemon 3y ago
Does that runtime run the tasks across multiple cores?
- amaranth 3y agoIn Rust the answer is "it depends". Since the runtime is not provided by the language you can have implementations that are a single thread, thread-per-task, a thread pool, or whatever other setup you can think of. Tokio at least offers a single threaded version and a thread pool version.