Skip to content

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