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

[WIP]: Add experimental fibers #42

Draft
wants to merge 33 commits into
base: master
Choose a base branch
from

Conversation

zetanumbers
Copy link
Contributor

I've found that using value semantics in affine type system (such as rust's one) you can express sort of a "suspended execution" via an object I have called fiber. I intend to use it as a mechanism to prevent rayon's work-stealing related deadlocks and maybe see a performance benefit in projects utilizing rayon for more-than-awkwardly parallel algorithms like rustc.

This code is not ready aside from using it for experiments, but I'm putting it here for anyone else interested.

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

Successfully merging this pull request may close these issues.

1 participant