Skip to content

Asynchronous everywhere #8

Description

@SrimantaBarua

Polling is slow and burns CPU cycles. Especially in something like a text editor where there's not much processing going on, and more time is spent waiting for user input. So we shouldn't be read()ing or polling, and instead should be looking at something like select() (meh), or a full blown asynchronous library like libevent().

I'd personally prefer the second. It's cross-platform and picks the best event loop system per platform.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions