635
STOP DOING ASYNC (lemmy.world)
submitted 8 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 10 points 8 months ago

Async rust with the Tokio Framework is pretty cool. Need none of that JS bloat fir async.

[-] RustyNova@lemmy.world 2 points 8 months ago

Honestly I can't wrap my head how to effectively put computation into a thread, even with Tokio.

All I want is something like rayon where you got a task queue and you just yeet tasks into a free thread, and await when you actually need it

Might be too much JS/TS influence on me, or that I can't find a tutorial that would explain in a way that clicks for me

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

Programmer Humor

32275 readers
921 users here now

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

Rules:

founded 5 years ago
MODERATORS