ullage
ullage copied to clipboard
Parallelise Compilation with Rayon
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.
perhaps Actix?
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.
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.