Skip to content

asyncio vs cothreads #69

Description

@Robatronic

It seems to me that asyncio will work on both Windows and *nix.

Is there a compelling reason to use cothreads in Unix-land....?

Activity

  1. AlexanderWells-diamond commented on Dec 13, 2021

    @AlexanderWells-diamond
    Collaborator

    My recent projects have exclusively used asyncio over cothread.

    From my understanding the main reason to stick to cothread is if you need to interface with code that already uses it, as trying to mix the two different systems can easily lead to a lot of mysterious, hard-to-debug, issues.

    You can also use cothread if you wish to avoid ever having to use async/await in your code.

  2. locked and limited conversation to collaborators on Dec 13, 2021
  3. converted this issue into a discussion #71 on Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions