|
|
|
|
|
by mmastrac
3334 days ago
|
|
Amazing writeup. Note the previous submission here as well: https://news.ycombinator.com/item?id=14225614 Rust actually gives me some hope that we might see better low-level code portability between some of these microcontrollers. In theory I could develop a project on a beefy TI microcontroller using higher-level Rust primitives/libraries and port it over to the cheapest microcontroller I can find that still fits my I/O budget/speed/memory/timer constraints. All that without having to use a RTOS or having to drastically re-write interrupt/timer code to whatever system the new controller uses. Does Rust support Atmel AVR through LLVM yet? |
|
See http://dylanmckay.io/blog/rust/avr/llvm/2017/02/09/safer-mic... for an overview; 4.0 has been merged, but see https://github.com/rust-lang/rust/issues/37609#issuecomment-...