GCC and Rust
GCC and Rust
Posted Sep 1, 2024 11:38 UTC (Sun) by ralfj (subscriber, #172874)In reply to: GCC and Rust by corbet
Parent article: Rust-for-Linux developer Wedson Almeida Filho drops out
gccrs is attempting an entirely independent second Rust implementation -- that's orders of magnitude more work than rustc_codegen_gcc, and I don't think there are significant benefits that would justify the cost. (This is not to say the gccrs devs should stop, if they're having fun doing what they do then by all means continue, but in terms of where to allocate resources and where to watch for medium-term results, I think rustc_codegen_gcc is clearly the better choice.)
rustc_codegen_gcc is unfortunately held back by GCC's reluctance to provide a nice library API for accessing its backends, but it seems using the libgccjit library works reasonably well.
