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

linear Par[t] -> read Par[t] -> linear Par[t] #3

Open
kikofernandez opened this issue Aug 22, 2017 · 0 comments
Open

linear Par[t] -> read Par[t] -> linear Par[t] #3

kikofernandez opened this issue Aug 22, 2017 · 0 comments

Comments

@kikofernandez
Copy link
Owner

A polymorphic function / method does not allow to deal with a read and linear mode at the same time. The sharable means, among other things, that it's not linear. In the current affine ParT paper, we allow linear Par[t] -> read Par[t] -> linear Par[t]. This is safe from the concurrency perspective and allows to re-use container-like data structures from the runtime, saving on allocations.

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