Re:A single line of code made a 24-core server slower than a...
by dagmx on Friday December 31, 2021 @02:47PM
(#29751822)
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.
[ Parent
| on HN ]
Re:A single line of code made a 24-core server slower than a...
by hinkley on Friday December 31, 2021 @03:12PM
(#29752057)
Basically 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.