3 ms·
Eh, it’s not as one-sided as that. GCC has a larger number of targets, but LLVM supports several newer targets that GCC doesn’t, like WebAssembly and eBPF (alt
by comex 7y ago
Eh, it’s not as one-sided as that. GCC has a larger number of targets, but LLVM supports several newer targets that GCC doesn’t, like WebAssembly and eBPF (although the latter is coming in GCC 10). But it would certainly be nice for Rust to support both sets of targets.
- cbmuser 7y agoCompare the number of architectures by GCC: > https://en.wikipedia.org/wiki/GNU_Compiler_Collection#Architectures https://en.wikipedia.org/wiki/GNU_Compiler_Collection#Archit... And the number of architectures by LLVM: > https://en.wikipedia.org/wiki/LLVM#Back_ends https://en.wikipedia.org/wiki/LLVM#Back_ends GCC supports vastly more targets.
- est31 7y agoThat's the current state but LLVM is adding new targets (like the newly added AVR target), while the AVR target in GCC is under threat of removal: https://www.bountysource.com/issues/84630749-avr-convert-the-backend-to-mode_cc-so-it-can-be-kept-in-future-releases https://www.bountysource.com/issues/84630749-avr-convert-the...
- vunie 7y agoGCC still supports more architectures even if AVR support is removed.
- comex 7y agoWhat part of my comment does that contradict?