No simple and basic std threadpool processpool

I want a simple, convenient default in std thread and process pool like in Python.

Have you seen the rayon crate?

2 Likes

Rust tries to keep the standard library small. There are plenty of thread pool crates to choose from on crates.io, (or use https://lib.rs if you want better search).

It's typical in Rust to use dependencies even for basic things that Python has in the standard library. Batteries are not included in Rust.

4 Likes