Stream: wg-async-foundations/book

Topic: guessing game example


nikomatsakis (Jun 25 2019 at 19:13, on Zulip):

So @Yoshua Wuyts I am having a few unanticipated concerns arise as I try to move my "guessing game" edits into proper testable snippets. Here are a few of them:

Jake Goulding (Jun 25 2019 at 19:37, on Zulip):

hoping to avoid referencing failure

Shameless self-promotion, but SNAFU has built-in futures 0.1 and 0.3 support :-)

I’m sure that you just want to avoid using any crates, though.

nikomatsakis (Jun 25 2019 at 19:48, on Zulip):

I've not really looked at SNAFU, I must admit

Nemo157 (Jun 26 2019 at 17:35, on Zulip):

@nikomatsakis you can use Box<dyn Error + Send + Sync>

Jake Goulding (Jun 26 2019 at 19:01, on Zulip):

I’d appreciate an aside about “we are doing convenient error handling to focus on async and not advocating any particular style” (so long as that’s true). People tend to copy-paste and then treat as gospel such examples.

nikomatsakis (Jun 26 2019 at 19:37, on Zulip):

I think the sad truth is I wouldn't know what error handling style to recommend

Yoshua Wuyts (Jun 27 2019 at 01:25, on Zulip):

Do you think we'd be considering a 1.0 [runtime release] at any point?

@nikomatsakis Yeah definitely, though I think the first milestone is to get us off alpha.x releases. Which kind of depends on futures-rs moving off there too.

nikomatsakis (Jun 28 2019 at 16:08, on Zulip):

K

Last update: Nov 15 2019 at 10:15UTC