Re:GCC Rust Monthly Report #9 August 2021
by bestouff on Tuesday August 31, 2021 @04:37AM
(#28365299)
Rustc is based on LLVM. A GCC backend would target more architectures and be somewhat more optimized. Plus, a different implementation of a compiler frontend is, for some, a good thing to have for a language.
[ Parent
| on HN ]
Re:GCC Rust Monthly Report #9 August 2021
by volta83 on Tuesday August 31, 2021 @07:14AM
(#28366370)
rustc is backend agnostic, and currently has: an LLVM backend, a Cretonne backend, and a GCC backend.
So rustc can already target _more_ architectures than this new GCC frontend, because it supports LLVM and Cretonne.
Re:GCC Rust Monthly Report #9 August 2021
by bestouff on Wednesday September 01, 2021 @02:59AM
(#28377113)
For now the only production-ready backend is the historical LLVM backends.
Re:GCC Rust Monthly Report #9 August 2021
by PoignardAzur on Tuesday August 31, 2021 @12:38PM
(#28370224)
> a Cretonne backend
I think you mean Cranelift?