zlacker

[return to "The bane of my existence: Supporting both async and sync code in Rust"]
1. gavinh+tc[view] [source] 2024-01-19 23:06:42
>>lukast+(OP)
I hope that someday, we can have a Rust-like language without async.

Bonus points if it has the ability for users to define static analysis a la borrow checking.

◧◩
2. nemoth+nk[view] [source] 2024-01-20 00:00:11
>>gavinh+tc
>I hope that someday, we can have a Rust-like language without async.

That exists today, it's called Rust. You don't have to use async.

◧◩◪
3. kelsey+6m[view] [source] 2024-01-20 00:13:52
>>nemoth+nk
Until you want to use a library that requires async. Now you do.
◧◩◪◨
4. sgbeal+Ru1[view] [source] 2024-01-20 14:00:14
>>kelsey+6m
> Until you want to use a library that requires async. Now you do.

Now you do... have an incentive to write your own which is not async.

◧◩◪◨⬒
5. kelsey+N42[view] [source] 2024-01-20 17:12:07
>>sgbeal+Ru1
That's fair. The Rust community does love a rewrite.
[go to top]