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

Parallel execution #52

Open
thibran opened this issue Mar 7, 2019 · 4 comments
Open

Parallel execution #52

thibran opened this issue Mar 7, 2019 · 4 comments

Comments

@thibran
Copy link

thibran commented Mar 7, 2019

It would be nice if loop-rs could run the loop body in parallel (using num-cpu).
Suggestion for the flag name: --parallel -p.

@Miserlou
Copy link
Owner

Miserlou commented Mar 7, 2019

I think I'd be fine with this, although it introduces some questions - what happens to $COUNT, etc.

I'd be happy with this if it could be implemented in a simple way with strong bounds on the requirements that don't creep into a huge mess. At a certain point, just use parallel rather than loop.

Want to try a PR?

@thibran
Copy link
Author

thibran commented Mar 7, 2019

First thought was: well this will be a lot of work and I shouldn't start yet another project, but then looking at the code I think I can give it a try 😃

@thibran
Copy link
Author

thibran commented Mar 7, 2019

Do you have a reason not to use the Rust 2018 edition?

@Miserlou
Copy link
Owner

Miserlou commented Mar 7, 2019

One of the goals for the year is to have this included in Debian, which means targeting specific version. However, I don't have specific information that would prevent us using newer Rust.

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