miniblog.
← Back to all posts
Feb 7, 2015 at 17:50
Interesting to see a Rust raytracer compile faster than the equivalent C++:
https://ruudvanasseldonk.com/2014/10/20/writing-a-path-tracer-in-rust-part-7-conclusion
- that itself is a compelling advantage.
Writing a path tracer in Rust, part 7: conclusion
After porting a reasonably-sized application to Rust, I still like the language a lot. C++ has a worthy opponent here.
Wilfred Hughes
Related Posts
Jan 21, 2023 at 20:48
Defining a separate tests module so rust tests compile faster:
Delete Cargo Integration Tests
Click bait title! We'll actually look into how integration and unit tests are implemented in Cargo. A few guidelines for organizing test suites in large Cargo projects naturally arise out of these implementation differences. And, yes, one of those guidelines will turn out to be: delete all integration tests but one.
Wilfred Hughes
Shared words: Rust, compile, faster Score: 70.7
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, compile, faster Score: 70.7
Sep 25, 2022 at 18:16
Is there a good mnemonic for remembering borrowed : owned types in Rust? &str : String &[u8] : Vec<u8> These are easy because I see them often. Knowing the owned equivalent of Path (it's PathBuf) is harder.
Wilfred Hughes
Shared words: Rust, see, equivalent Score: 67.5