3 ms·
More Rust relevant link: https://www.anyleaf.org/blog/writing-embedded-firmware-using-rust https://www.anyleaf.org/blog/writing-embedded-firmware-using...
by DerSaidin 5y ago
More Rust relevant link: https://www.anyleaf.org/blog/writing-embedded-firmware-using-rust https://www.anyleaf.org/blog/writing-embedded-firmware-using...
- snickmy 5y agothank you for the pointer. I was actually looking into this. Was wondering if rust gets transpiled to C, or just compiled into assembly. I was also curious what MCU architecture supports this and was very happy to see ESP32 is getting supported soon. I'm not sure (honestly I don't understand the space well enough) how IDF, the OS for esp32, gets incorporated with a Rust program. I'd love to also hear more from OP the business side of this venture. OP if you can read me, I'd love to talk!
- paavohtl 5y agoRust is normally always compiled directly to Assembly using LLVM. The only exception is mrustc [0], which is only intended to be used for bootstrapping a Rust compiler with a C++ compiler. It produces "very ugly C". [0] https://github.com/thepowersgang/mrustc https://github.com/thepowersgang/mrustc