this post was submitted on 02 Jul 2026
-38 points (35.8% liked)
Programmer Humor
32292 readers
2136 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Keep in mind that it doesn't remove tokio from the stack tho. Don't use this to try to improve compilation time
I know, I read the description. It just looks like a nicer syntax around setting up a tokio runtime and sending code between runtimes. It'd still be nice to have a non-tokio options so stuff could be single threaded.
A lot of the time it's not about options. It's about not messing up the async pattern.
If you have something that either:
If not, just use future polling tricks like the
futures::join!()macro or a stream with.buffered(). It won't be slower. The bottle neck is IO. Not the program.Personally I even try to replace the heavy
reqwestlibrary withureq+blocking, and it works perfectly and compiles faster (you can see that in theapi_bindiumcrate)