Re:GCC now includes Modula-2 and Rust. Do they work on OpenBSD?
by locusofself on Tuesday December 20, 2022 @02:01AM
(#34062569)
Stupid question, but doesn't rust have it's own, highly praised compiler? I'm just genuinely curious - would using gcc be better under any practical circumstance? Do they both generate low level code with/for LLVM?
[ Parent
| on HN ]
Re:GCC now includes Modula-2 and Rust. Do they work on OpenBSD?
by rob74 on Tuesday December 20, 2022 @02:22AM
(#34062701)
Rust-GCC has an FAQ section that lists the benefits of having a GCC frontend:
https://github.com/Rust-GCC/gccrs/wiki/Frequently-Asked-Ques...
I'm in no way a compiler expert, but from what I understood, they specifically want to avoid mixing GCC and LLVM: https://github.com/Rust-GCC/gccrs/wiki/Frequently-Asked-Ques...
Re:GCC now includes Modula-2 and Rust. Do they work on OpenBSD?
by kramerger on Tuesday December 20, 2022 @02:20AM
(#34062680)
Actually, if they can provide a stable release with the most important nightly features I might pick this over rustc.
The rust team don't seem to understand anything about production software, quality assurance and maintenance. Hopefully competing with a more organised compiler with TLS support that is not crippled will put some pressure on them.