Yes. And generics systems on statically typed languages tend to be designed around the assumption there's a JIT
-
-
But note that Rust has PGO too: https://doc.rust-lang.org/rustc/profile-guided-optimization.html … Not sure if we’ve turned Rust PGO on in Firefox yet, though.
-
we turned rust pgo on a month ago and it had literally no effect on our performance metrics. there is a vague hunch that our profiling workloads don't really stretch the rust code's muscles, but it needs investigation.
- 1 more reply
New conversation -
-
-
Well one place PGO could help a language like Rust (but which supported dynamic unspecialized generic functions) could be to limit generic specialization to hot paths, to avoid template blowup from eagerly generating every necessary specialization
-
Could also just move cold functions to the end of the binary, which does mostly the same thing except for compilation time.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.