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

Delimited continuations #15

Open
rrthomas opened this issue Dec 9, 2023 · 1 comment
Open

Delimited continuations #15

rrthomas opened this issue Dec 9, 2023 · 1 comment
Milestone

Comments

@rrthomas
Copy link
Collaborator

rrthomas commented Dec 9, 2023

Adding static continuations with shift/reset to Ark allows me to implement exceptions, generators, coroutines etc.

For JavaScript-based implementations, there's a limitation: continuations are one-shot. The immutagen library hacks around this: https://github.com/pelotom/immutagen with a quadratic performance penalty.

@mk270
Copy link

mk270 commented Dec 11, 2023

I'm going to need to be able to use chains of lazy generators, as I can in Python

@rrthomas rrthomas added this to the 0.3 milestone Dec 12, 2023
@rrthomas rrthomas modified the milestones: 0.3, 0.4 Feb 3, 2024
@rrthomas rrthomas changed the title Continuations Delimited continuations Aug 26, 2024
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

2 participants