Re:Show HN: Coerce – Actor runtime for Rust using async/awai...
by xiphias2 on Sunday December 15, 2019 @12:03PM
(#21797239)
I think the main clash was not about runtime differences but about the interface incompatibility (futures.rs)
There's a bug for it in Tokio, but it's low priority as far as I know.
Re:Show HN: Coerce – Actor runtime for Rust using async/awai...
by steveklabnik on Sunday December 15, 2019 @12:20PM
(#21797383)
It's not particularly low priority https://github.com/tokio-rs/tokio/pull/1744
(See the last section in particular)
Re:Show HN: Coerce – Actor runtime for Rust using async/awai...
by twic on Sunday December 15, 2019 @04:17PM
(#21799052)
This is a great thread! Lots of different perspectives on a difficult technical problem, plus appearances from many of my favourite Rust characters: we've got Ralf telling everyone that only abstract machines exist, boats turning up halfway through to contradict everyone, and Douman dropping by to offer the unhelpful C++ perspective.
Re:Show HN: Coerce – Actor runtime for Rust using async/awai...
by xiphias2 on Sunday December 15, 2019 @12:54PM
(#21797648)
Oh, so there's a pull request that I didn't see, the bugs don't show that it's being worked on.
I understand that there are lots of hard technical issues to be resolved, it's just the visibility of this pull request wasn't that good.
Thanks for the answer!
Very interesting thread.
Re:Show HN: Coerce – Actor runtime for Rust using async/awai...
by Argorak on Sunday December 15, 2019 @12:44PM
(#21797570)
> I think the main clash was not about runtime differences but about the interface incompatibility (futures.rs)
There is a huge amount of complaints just fundamentally about async-std's existence, though.
I'm not sure having multiple runtimes is such a problem. The Rust async IO model was explicitly designed to accommodate different runtimes. There are a lot of tradeoffs around how a runtime does multi-threading, for example, and embedded systems may also do their own thing. Tokio vs async-std might or might not make sense as a long term split, but I think it's too early to say.