Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 10 months agoSTOP DOING ASYNClemmy.worldimagemessage-square62fedilinkarrow-up1713arrow-down139
arrow-up1674arrow-down1imageSTOP DOING ASYNClemmy.worldMaven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 10 months agomessage-square62fedilink
minus-squarePlexSheep@feddit.delinkfedilinkarrow-up1·10 months agoTokio 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.