News for hackers. Stuff that matters.
Re:Rust your ARM microcontroller by MrBuddyCasino on Saturday April 29, 2017 @04:36PM (#14228612)
I had no idea Rust MCU support has come so far, the generated code is indeed very lean. This is fantastic! God I'd love to use this, but ESP8266/ESP32 is where its at right now (at least for me).
Re:Rust your ARM microcontroller by wyldfire on Saturday April 29, 2017 @10:11PM (#14229831)
I think Aparicio himself is a decent-sized part of that support.

BTW, regarding ESP8266 [1]

[1] http://hackaday.com/2017/01/04/rust-running-on-the-realtek-r...

Re:Rust your ARM microcontroller by polyfractal on Sunday April 30, 2017 @08:44AM (#14231275)
++ to japaric driving embedded Rustlang development. He's built a lot of the low-level tooling, and many of the articles/tutorials are form him as well.

Re: RTL8710... That was me! :) I haven't had much chance to continue hacking on the RTL8710 (we just moved, hobbies are still packed away) but I was pleasantly surprised how easy it was to get up and running.

Especially considering how little I know about embedded development, I imagine someone with more knowledge would be a lot more productive.

Re:Rust your ARM microcontroller by axoltl on Saturday April 29, 2017 @07:17PM (#14229326)
I'd say ESP* is 'it' for a very small set of people. The Cortex M cores are significantly more ubiquitous.
Re:Rust your ARM microcontroller by kirillkh on Saturday April 29, 2017 @04:50PM (#14228667)
I take it Rust is not supported on ESP8266 yet?
Re:Rust your ARM microcontroller by MrBuddyCasino on Saturday April 29, 2017 @05:33PM (#14228888)
Some Espressif guy is said to be working on a backend for LLVM, but I wouldn't hold my breath.
Re:Rust your ARM microcontroller by kam on Saturday April 29, 2017 @04:55PM (#14228685)
Nope, LLVM doesn't have a backend for the Xtensa architecture.
Re:Rust your ARM microcontroller by DanWaterworth on Saturday April 29, 2017 @04:58PM (#14228699)
You could potentially go via C. https://github.com/draperlaboratory/llvm-cbe
Re:Rust your ARM microcontroller by johncolanduoni on Sunday April 30, 2017 @02:03AM (#14230344)
I suspect you'd be much better off with a Rust MIR -> C compiler. Rust's memory and execution model is much closer to C than C is to LLVM.
Re:Rust your ARM microcontroller by adrianN on Sunday April 30, 2017 @02:12AM (#14230365)
The C backend was expelled from LLVM several years ago because it was too buggy and nobody wanted to fix it and since then has hardly been updated. That doesn't seem like a very pleasant route.
Re:Rust your ARM microcontroller by wyldfire on Saturday April 29, 2017 @10:12PM (#14229834)
IIRC the C backend lags LLVM pretty far. Thankfully, rust tries to be compatible among a few different generations of LLVM, so maybe it's feasible.
Re:Rust your ARM microcontroller by sesutton on Saturday April 29, 2017 @11:15PM (#14229996)
Looks dead. No commits for almost 2 years.