Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async #77

Open
Rudxain opened this issue Apr 7, 2024 · 0 comments
Open

async #77

Rudxain opened this issue Apr 7, 2024 · 0 comments

Comments

@Rudxain
Copy link
Member

Rudxain commented Apr 7, 2024

This isn't a new proposal. I've just opened this to organize stuff. Other issues have already mentioned it: #32 and #74.

However, I'll take this opportunity to explain why I believe asynchronous code should be part of std rather than core or as a reserved Keyword. I've took inspiration from Gleam:

This lack of lock-in is important as typing message passing is an area of active research, we may discover an even better approach at a later date!

This way, std can have its own API, while the community can make different APIs designed for different use-cases. It can be:

  1. Colorblind
  2. "Somewhat" colored
  3. 🌈Colorful

https://www.thecodedmessage.com/posts/async-colors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant