Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 2 年前STOP DOING ASYNClemmy.worldimagemessage-square61linkfedilinkarrow-up1717arrow-down139
arrow-up1678arrow-down1imageSTOP DOING ASYNClemmy.worldMaven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 2 年前message-square61linkfedilink
minus-squarePlexSheep@feddit.delinkfedilinkarrow-up1·2 年前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.
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.