675
STOP DOING ASYNC (lemmy.world)
submitted 7 months ago by Maven@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] PlexSheep@feddit.de 1 points 7 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.

this post was submitted on 28 Jan 2024
675 points (94.8% liked)

Programmer Humor

32056 readers
1366 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS