Re:Rust on Espressif chips – 2023 Roadmap
by zozbot234 on Friday February 24, 2023 @11:59AM
(#34926697)
The whole point of the rust-embed ecosystem is to bring the ease of use found in something like Arduino to embedded development more generally. Upstreaming ESP support in LLVM (what the OP is about) is a key part of this.
[ Parent
| on HN ]
Re:Rust on Espressif chips – 2023 Roadmap
by FpUser on Friday February 24, 2023 @12:14PM
(#34926880)
Looking at my firmware code, 4 quadrant motor torque control in particular. It is plain C and at the level it is written I really doubt C++ / Rust would add any value. For all the horror safety stories: firmware runs on whole bunch of devices for close to 10 years already without single fault caused by whatever bug there might be.
Obviously not advocating plain C for business middleware servers. Those benefit greatly from C++ type of languages.
Re:Rust on Espressif chips – 2023 Roadmap
by fleventynine on Friday February 24, 2023 @01:10PM
(#34927687)
More and more firmware is using complex protocols like TCP/IP and TLS, which are risky to implement in a memory-unsafe language. Embedded Rust is very attractive for those applications.
It already exists for those willing to broaden their horizons to Python, Basic, Pascal, Java, TinyGo, Oberon-07 and .NET.
Naturally having Rust as well is a positive, the more the merrier.