News for hackers. Stuff that matters.
Re:Rust compiler walk-through – Introduction by wyldfire on Wednesday August 10, 2016 @09:28AM (#12261508)
I doubt it. Unless the GNU team decided to add it, I don't think there's much incentive. Are there targets out there that gcc supports which aren't supported by LLVM? Probably not too many. Commercially, LLVM is much more attractive than GCC, so semiconductor companies which make CPUs/uCs/DSPs/GPUs/FPGAs/etc are probably more likely to create an LLVM backend than a gcc one.
Re:Rust compiler walk-through – Introduction by yaantc on Wednesday August 10, 2016 @11:10AM (#12262325)
> Are there targets out there that gcc supports which aren't supported by LLVM? Probably not too many

Plenty in the embedded space. Just compare the GCC backend list at https://gcc.gnu.org/backends.html to what LLVM supports ("only" X86, X86-64, PowerPC, PowerPC-64, ARM, Thumb, SPARC, Alpha, CellSPU, MIPS, MSP430, SystemZ, and XCore).

The embedded space is very diverse, and even if LLVM backend support is good it's still nowhere near GCC. They're pretty niche of course and LLVM does a good job of supporting the mainstream architectures (and even a bit more). Still, if you're in embedded development not being supported by GCC is limiting.

Re:Rust compiler walk-through – Introduction by monocasa on Wednesday August 10, 2016 @11:16AM (#12262376)
Yeah. Trunk LLVM doesn't even have AVR support, so no Rustduino.
Re:Rust compiler walk-through – Introduction by untothebreach on Wednesday August 10, 2016 @11:29AM (#12262466)
A prominent member of the rust community has been publishing a series on getting rust to target their Uno: http://jakegoulding.com/blog/2016/01/02/rust-on-an-arduino-u...
Re:Rust compiler walk-through – Introduction by wyldfire on Wednesday August 10, 2016 @11:16AM (#12262374)
I could be wrong but I'd wager that there's some support for many of those backends that's just not upstreamed to LLVM.
Re:Rust compiler walk-through – Introduction by monocasa on Wednesday August 10, 2016 @11:29AM (#12262462)
You can say the same thing for GCC too, it's just that both of the pools (merged into trunk and not) are much larger.
Re:Rust compiler walk-through – Introduction by jdeeny on Wednesday August 10, 2016 @11:22AM (#12262410)
If a compiler supports ARM and Thumb, it covers a majority of modern embedded platforms. The days of 8- and 16-bit microcontrollers are coming to an end -- 32-bit Cortex-Mx chips are very competitive on price and power consumption and much more capable.