• PlexSheep@feddit.de
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    Tokio is for concurrency, not parallelism. Use it for IO stuff. They say rayon is good for that, but I haven’t used that. If you just want something simple, I’d recommend working with threadpool.