4 ms·
> safety-critical applications Nope, Rust is also not suitable for these tasks since it doesn't have a certified toolchain (e.g. ISO26262 for automotive or DO-
by kzhukov 5y ago
> safety-critical applications
Nope, Rust is also not suitable for these tasks since it doesn't have a certified toolchain (e.g. ISO26262 for automotive or DO-178 for aerospace).
> embedded
Current LLVM-based compiler lacks support for some platforms (e.g. Xtensa for some ESP32 MCUs).
- wyldfire 5y ago'Embedded' doesn't require supporting everyone's favorite microcontroller. Even if ESP32 is really popular, there's plenty of others. OBTW experimental xtensa backend is landing in upstream llvm lately.
- kzhukov 5y agoThat were just the examples when Rust is not really suitable as a drop-in replacement for C/C++. Of course, if your platform is well-supported by Rust compiler and you don't have to write safety critical applications, then using Rust is just a matter of choice. I don't argue whether it's good or bad language. It's a quite interesting one with its own pros and cons. If it fits you, then it's great, but you should know its limitations.
- fzzzy 5y agoIt took me two hours to compile the esp32 fork of rustc on a 2015 macbook pro. Not ideal, but it works just fine.
- gte525u 5y agoCertified toolchains only factor into play in DAL A for DO178. Either that or manually inspecting the compiler output and tracing it to the source.