News for hackers. Stuff that matters.
Re:Show HN: Ractor – a Rust-based actor framework with clust... by fulmicoton on Thursday February 16, 2023 @09:15PM (#34829823)
The trouble with spawn_blocking is that it runs on the tokio thread pool... By default the size of that thread pool is gigantic because it is meant to run blocking IO. For computation, you would want to have a number close to the number of threads of the CPU.

... And you can't have both.

There are no comments on this comment yet.