Skip to content

Develop and Test Async Constructs over Suspensions #16931

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

Open
odersky opened this issue Feb 16, 2023 · 0 comments
Open

Develop and Test Async Constructs over Suspensions #16931

odersky opened this issue Feb 16, 2023 · 0 comments
Labels
Semester Project Good project to be done by an MSc or strong Bsc computer science student in one semester stat:taken This project is already worked on by a student or as part of another volunteership program

Comments

@odersky
Copy link
Contributor

odersky commented Feb 16, 2023

#16739 contains a strawman for an innovative, direct style library of futures and channels based on a postulated suspension construct. An alternative version of this library can be based on coroutines. At present this strawman simply postulates the low-level support needed.

It would be good to flesh this out further and base it on a concrete implementation of coroutines such as the ones provided by project Loom. In particular:

  • Adapt the strawman so that it runs on virtual threads/coroutines
  • Develop realistic examples and test cases
  • Develop benchmarks and identify performance bottlenecks
  • Develop documentation that motivates the new constructs

#16739 also contains an implementation of choice which requires multi-shot continuations. This part of the code base can be left out.

@odersky odersky added the Semester Project Good project to be done by an MSc or strong Bsc computer science student in one semester label Feb 16, 2023
@odersky odersky added the stat:taken This project is already worked on by a student or as part of another volunteership program label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Semester Project Good project to be done by an MSc or strong Bsc computer science student in one semester stat:taken This project is already worked on by a student or as part of another volunteership program
Projects
None yet
Development

No branches or pull requests

1 participant