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

Parallelise Compilation with Rayon #15

Open
iwillspeak opened this issue Nov 1, 2018 · 3 comments
Open

Parallelise Compilation with Rayon #15

iwillspeak opened this issue Nov 1, 2018 · 3 comments
Labels

Comments

@iwillspeak
Copy link
Owner

Update the compilation transformation and emit code to work on chunks (probably functions) in parallel. The Rayon crate should provide a good framework for this.

@iwillspeak iwillspeak added this to TODO in Ullage 0.1 Dec 21, 2018
@naturallymitchell
Copy link

perhaps Actix?

@iwillspeak
Copy link
Owner Author

Interesting idea. My gut reaction was an immediate “no”, but the more I think about it actor based compilation might be an interesting thing to mess about with.

Tempted to have a mess about with that idea on a stand-alone project first.

@iwillspeak
Copy link
Owner Author

I guess it could work similar to the query-based compilation model fron Rust. You’d have to be carful that you don’t contend around single-threaded access to actors though.

@iwillspeak iwillspeak removed this from TODO in Ullage 0.1 Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants