miniblog.
← Back to all posts
May 8, 2021 at 19:14
1
How to make Rust code faster, including profiling, LLVM whole-crate optimisation, and avoiding costly error checks:
https://likebike.com/posts/How_To_Write_Fast_Rust_Code.html
Wilfred Hughes
1 Like
Michael Connor Buchan
@TheFake_VIP@linuxrocks.online
Related Posts
Dec 5, 2019 at 04:44
Rust is doing constant propagation on its internal IR before monomorphisation. This can give faster compiles because LLVM is given less code!
Redirect
blog.rust-lang.org/inside-rust/2019/12/02/const-prop-on-by-default.html
Wilfred Hughes
Shared words: Rust, LLVM, code, faster Score: 170.6
Jan 29, 2016 at 19:30
I'm deeply impressed that Rust is not just using LLVM, it's monitoring optimisations and upstreaming improvements!
⚙ D16402 Simplify (x >> y) <= x
reviews.llvm.org/D16402
Wilfred Hughes
Shared words: Rust, LLVM, optimisation Score: 135.7
Jun 10, 2020 at 04:24
Rust introducing a friendlier inline assembly syntax, and avoiding LLVM assumptions:
Redirect
blog.rust-lang.org/inside-rust/2020/06/08/new-inline-asm.html
Wilfred Hughes
Shared words: Rust, LLVM, avoiding Score: 124.2