4 ms·
There is work underway to create an LLVM backend for the Tensilica Xtensa, so Rust on the ESP32 / ESP8266 might soon be a reality!
by MrBuddyCasino 10y ago
There is work underway to create an LLVM backend for the Tensilica Xtensa, so Rust on the ESP32 / ESP8266 might soon be a reality!
- pjmlp 10y agoThere is nothing that I could do with them, but I love their specs, specially when I think about my first MS-DOS computer. So I imagine there would be lots of nice maker opportunities when that support comes out, not only for Rust, but for other LLVM frontends as well.
- MrBuddyCasino 10y agoTotally, I like to think of them as this generations C64, though some might argue that the Arduino Uno or the Raspberry Pi deserve that title.
- jononor 10y agoDo you know of any place one can track this work? Best reference google brought me was https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk/gcc/config/xtensa/ https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk/gcc/con... - but pretty hard to decipher current state from that...
- MrBuddyCasino 10y agoGot that directly from an Espressif employee as inofficial info, but it has since been confirmed: https://twitter.com/buddy_casino/status/824299718104743938 https://twitter.com/buddy_casino/status/824299718104743938 So I guess its not in the open right now. I wonder if its going to be specific to their chips, because the Xtensa architecture is highly configurable and so there isn't really a single target, but potentially many.
- masklinn 10y agoProbably not "soon", AVR took a really long time to get merged into LLVM, and that's a pre-requisite for Rust support.
- steveklabnik 10y agoI can't comment on timelines but I know someone has been working on AVR support for Rust.
- masklinn 10y agoOh yeah the micro folks are definitely working on it, I meant that if work is just starting on the LLVM Xtensa backend, the Rust merge is nowhere near, and as example submitted that the AVR backend had taken a long time to be merged into LLVM and still needs to be finished & merged for Rust.
- deleted 10y ago[deleted]
- richchurcher 10y agoNot the ESP8266 of course, but in the same vein you may be interested in effots to get Rust working on the RTL8710: https://polyfractal.com/post/rustl8710/ https://polyfractal.com/post/rustl8710/