miniblog.
← Back to all posts
Oct 30, 2022 at 23:47
Applying different profile guided optimisation techniques to the rust compiler:
Speeding up the Rust compiler without changing its code
…Yes, I know that the title looks like a clickbait. But it’s actually not that far from the truth :)
Wilfred Hughes
Related Posts
Nov 11, 2017 at 23:00
C++ is adding a [[likely]] annotation to mark which branches are more/less probable to execute! Handy, and a nice alternative to profile guided optimisation.
https://twitter.com/blelbach/status/929416940715569152
Wilfred Hughes
Shared words: optimisation, profile, guided Score: 69.8
Nov 13, 2019 at 20:55
Writing a fast lexer: many parts of a compiler toolchain (other than optimisation) are O(N), and the lexer has the largest values of N. A walkthrough showing different designs and performance considerations.
Some Strategies For Fast Lexical Analysis when Parsing Programming Languages
nothings.org/computer/lexing.html
Wilfred Hughes
Shared words: optimisation, different, compiler Score: 50.4
Jun 5, 2018 at 18:33
Really interesting post on optimising the Rust compiler:
https://blog.mozilla.org/nnethercote/2018/06/05/how-to-speed-up-the-rust-compiler-some-more-in-2018/
I love that the author comments that he still finds lifetimes somewhat scary. You can even work on the compiler without needing to master advanced Rust techniques!
How to speed up the Rust compiler some more in 2018 – Nicholas Nethercote
blog.mozilla.org/nnethercote/2018/06/05/how-to-speed-up-the-rust-compiler-some-more-in-2018/
Wilfred Hughes
Shared words: rust, techniques, compiler Score: 42.3