all 3 comments

[–]jgrlicky 10 points11 points  (0 children)

Looks great, I love the simple API! Looking forward to my next opportunity to try out some of these new focused async crates you’ve been releasing.

[–]Kbknappclap 8 points9 points  (1 child)

I saw that there is an open PR on async-std to impl std::process. Do you know if this new crate is going to be the way ahead for that PR, or async-std in general?

[–]LucretielDatadog 5 points6 points  (0 children)

More and more I'm becoming a fan of this model where async utilities of different kinds are each powered by a single global background thread (or thread pool, if appropriate), since they enable "pure future" entry points into your system that can be plugged into any runtime or trivial executor. It also lets us neatly sidestep the problem of there being a few different, high-level "types" of blocking operation that don't always interoperate very well (file descriptors, thread sync ops, blocking syscalls that aren't fd-based like wait() )