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

Data parallelism #15712

Closed
larsbergstrom opened this issue Jul 16, 2014 · 3 comments
Closed

Data parallelism #15712

larsbergstrom opened this issue Jul 16, 2014 · 3 comments
Labels
A-concurrency Area: Concurrency

Comments

@larsbergstrom
Copy link
Contributor

We have attempted to gain parallelism in Servo, but in all cases where we operate over a shared data structure, this requires a significant amount of unsafe code. We'd like to support:

  • Basic data-parallel operations
  • More complicated traversals (top-down, bottom-up, weighted-edge priority, topological, etc.) of either DAGs or graphs

Note that the key here is being able to define kernels of computation that work on the elements stored in these structures that ensure at least the illusion of ownership transfer between the shared data structure and kernel function and back is maintained.

CC: @pcwalton @nikomatsakis

@alexcrichton
Copy link
Member

cc @aturon

@aturon
Copy link
Member

aturon commented Jul 16, 2014

@larsbergstrom I would love to chat with you about this in detail. I've been doing some work building lock-free data structures with an ownership transfer interface, but it's still in the early stages.

@rust-highfive
Copy link
Collaborator

This issue has been moved to the RFCs repo: rust-lang/rfcs#315

bors added a commit to rust-lang-ci/rust that referenced this issue Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-concurrency Area: Concurrency
Projects
None yet
Development

No branches or pull requests

6 participants