zlacker

[return to "Avoid Async Rust at All Cost"]
1. the_mi+87[view] [source] 2024-01-23 12:34:44
>>jmakov+(OP)
I think the better way to think about async Rust is to use it when it's beneficial to developer productivity and to avoid it when not. There are quite a few situations where it makes the code easier compared to alternatives you could come up with.

I don't think for a second that async Rust should be picked for performance reasons.

You get a feeling for what is a good use of async and bad use of async relatively easily these days as the ecosystem is maturing.

◧◩
2. ameliu+R8[view] [source] 2024-01-23 12:44:25
>>the_mi+87
> I think the better way to think about async Rust is to use it when it's beneficial to developer productivity and to avoid it when not.

How do you know if what is best doesn't change as the project you're working on progresses and your manager tosses in new requirements?

I'd say better pick a technique (or even language) that works all the time.

◧◩◪
3. seanhu+pa[view] [source] 2024-01-23 12:54:50
>>ameliu+R8
There isn’t one technique that works all the time. Life is unfortunately about tradeoffs whenever you do something complex.
[go to top]