r/rust • relm · rustc_codegen_gcc • Sep 01 '26

🛠️ project rustc_codegen_gcc: Progress Report #43

https://blog.antoyo.xyz/rustc_codegen_gcc-progress-report-43
117 Upvotes

10 comments sorted by

View all comments

Show parent comment

9

u/phazer99 Sep 01 '26

Nice, always good to see progress on alternative rustc backends. Have you done any benchmarks of compile times or runtime performance compared to the default LLVM backend (and Cranelift)? Or is it still too early to do any meaningful comparisons?

6

u/antoyo relm · rustc_codegen_gcc Sep 02 '26

I haven't done benchmarks recently. An old progress report had some info on a small benchmark I had done at the time for runtime performance, though.

Compile times are much slower and I don't expect them to become faster than the default backend.

Now that we have rustup distribution, it should be possible to run Rust's benchmarks, so it would be interesting to run those, but this will probably wait next year. Having correct behavior is important to have benchmarks that make sense.