Where to start to integrate some Rust into Particle Project

Rust may not be in prime time for embedded systems, but I do see the probability of it being there relatively soon.

I have already migrated other sections of our overall IoT systems to Rust with great results. Frankly, it’s just a better language, packaging system and tooling than c/c++, in my opinion.

I would like to start with small subsections of our embedded code, to migrate them to Rust. This would be essentially still running the Particle device OS and the primary hardware interactions in C/C++. My end goal would be to run all logic in Rust while still depending on C for actual hardware manipulation and cloud interactions in DeviceOS.

This article/chapter gets into running rust within C projects. A little Rust with your C - The Embedded Rust Book . Has anyone tried this in a particle project before?