zlacker

[parent] [thread] 2 comments
1. bryanl+(OP)[view] [source] 2024-01-23 13:16:09
It looks like there's good movement on the proposal to bring pollster[1] or similar into the Rust standard library.

I think that's awesome. They've been afraid to "bless" an executor for good reasons, but pollster has 0 chance of "winning" even if blessed since it lacks so many features. However it's a solution to the problem you expressed: I/O crates can be async and used with pollster in sync contexts.

1: https://docs.rs/pollster/latest/pollster/

replies(1): >>Aissen+t94
2. Aissen+t94[view] [source] 2024-01-24 15:58:17
>>bryanl+(OP)
I haven't been following, would you have a link to this proposal ? A quick search of pollster in rust-lang/rust and rust-lang/rfcs does not bring any interesting result.
replies(1): >>bryanl+0T4
◧◩
3. bryanl+0T4[view] [source] [discussion] 2024-01-24 19:37:51
>>Aissen+t94
Good question. I might have been projecting my hopes to make it sound more formal, but the only thing I could find following my cookie crumbs was the mention in https://without.boats/blog/why-async-rust/
[go to top]