Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

thank 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!



Rust 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: