Async Rust can be a pleasure to work with (without Send + Sync + 'static
)
https://programming.dev/post/19010984
=> More informations about this toot | More toots from arendjr@programming.dev
I was aware that indeed the trait and lifetime bounds were an artifact of the Tokio work-stealing behavior, but Evan makes a very well-explained case for why we might want to consider stepping away from such behavior as a default in Rust. If anything, it makes me thankful the Rust team is taking a slow-and-steady approach to the whole async thing instead of just making Tokio part of the standard library as some have wished for. Hopefully this gets the consideration it deserves and we all end up with a more ergonomic solution in the end.
=> More informations about this toot | More toots from arendjr@programming.dev
text/gemini
This content has been proxied by September (ba2dc).