7 ms·
> At this time, Rust is the only viable alternative to C and C++ in these domains. No, it’s not. See Ada/Spark.
by kahlonel 5y ago
> At this time, Rust is the only viable alternative to C and C++ in these domains.
No, it’s not. See Ada/Spark.
- the__alchemist 5y agoCorrected that line. Thanks! Updated line: > At this time, Rust is one of few viable alternatives to C and C++ in these domains. (Other alternatives include ADA, Spark, and Zig)
- snoopen 5y agoAlso there is Circuitpython and MicroPython. Probably less ideal for production. But capable enough for those less familiar with programming.
- the__alchemist 5y agoI need to think on this one - I don't think they're suitable for embedded beyond the scope of learning. Eg a non-starter for anything battery powered, or with minimal latency requirements, which are both common in embedded. More subjectively, they strike me as something designed for people who approach problems with a mindset of "I'm a Python programmer - how do I do this without learning a new language?". I'm writing Python code now to prototype DSP algorithms and generate coefficients for embedded, but I wouldn't run Python on the MCU.