Skip to content

Make sure it's super clear that async != threading #11

@jwatzman

Description

@jwatzman

There has been lots of confusion on this point. See, e.g., this SO question: http://stackoverflow.com/a/32937733/3395144

There's a brief discussion of this in the current draft but I think there is still room for improvement. A paragraph discussing this point might be worth it, and I'm especially worried about this sentence:

It allows code that utilizes the async infrastructure to cede CPU time to one another in an explicit and knowing fashion.

This is not typically true; you're going and doing something else instead of blocking on IO, which is not "CPU time" (and the "something else" is probably more IO). Even when it's technically true, when you're busy-waiting, it still gives the wrong impression.

Sorry to nitpick, this is just such a common confusion and such a core feature I think it's worth spending a good bit of time to get this perfect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions