3 ms·
I think it could be something built upon lifetime analysis. I think a sufficiently complex compiler could use the data available already today to infer thread a
by dagmx 5y ago
I think it could be something built upon lifetime analysis. I think a sufficiently complex compiler could use the data available already today to infer thread affinity and other rules.
- hinkley 5y agoBasically what I was thinking. In the near term it doesn't even have to be that precise to have a benefit (Rust builds on escape analysis that helped with distributed garbage collection, even when it wasn't that exhaustive). Even ranking threads by suspected degree of interaction is a lot of data. These definitely don't talk. Offload. These definitely talk. Colocate. These probably talk. Bin pack.