Josh Stone @cuviper
@ArniDagur your use of hurdles::Barrier will spin CPU, so you're doing more work there at least
but generally, for IO-bound parallelism, I'd look at tokio
rayon is more for computational parallelism
Árni Dagur @ArniDagur 22:54
Thanks. I will look into Tokio.
So https://tokio-rs.github.io/tokio/tokio_threadpool/index.html specifically?
Josh Stone @cuviper 22:56
perhaps, but you might not even need explicit threads
I think tokio's default main loop is already threaded
I haven't used it much though, so you should ask tokio folks for advice
Árni Dagur @ArniDagur 23:01
thank you very much