Hacker News new | past | comments | ask | show | jobs | submit login

Anyone with experience on Rust for ESP32 controllers could chime in on whether this is feasible on rust as well?



Compared to ESP8266, there's generally pretty good ESP32 support for Rust, but you'll likely need to use in your C++ toolchain if you want to use the standard library. no-std in Rust for ESP32 isn't terrible in my experience, though, just not as fleshed out - particularly for hooking into components like wifi/networking and probably a camera as well.

Like the other commenter said, there's plenty of support for SIMD and asm in Rust.

You might ask around on a Rust embedded or Rust ESP32 chatroom before making the dive.


You can actually use the IDF system in Rust to use the std lib, at least on ESP32-C3. Probably others too.

If you are on Windows, you will need to place the project folder at the top level drive directory, and there are other quirks as well, but it works.


Haha yes, I misphrased a bit but that's what I meant when I said you'll need to use C++ to use the stdlib. It's not quite pure embedded Rust but yes it does work.


It is possible, mainly depends on LLVM/clang support as rust ASM is very easy to do




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

Search: