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.
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.