"CppNow 2023:Introducing a Memory-Safe Successor Language in Large C++ Code Bases"
> Swift was designed from the outset to be safer than C-based languages, and eliminates entire classes of unsafe code.
-- https://www.swift.org/about/
> Swift is a successor to the C, C++, and Objective-C languages
> Swift is a successor to the C, C++, and Objective-C languages -- https://developer.apple.com/swift/
They also mention plans for kernel and firmware targets on that talk.
https://discourse.llvm.org/t/rfc-enforcing-bounds-safety-in-...
> I've mostly given up on the standard C library. Many of its facilities, particularly stdio, seem designed to encourage bugs. A big chunk of qmail is stolen from a basic C library that I've been developing for several years for a variety of applications. The stralloc concept and getln() make it very easy to avoid buffer overruns, memory leaks, and artificial line length limits.
EDIT: Thought OP was talking about writing iOS apps using Rust.
Regardless though, I don't see how the implementation language of your firmware is locking you into a specific ecosystem, so this criticism seems misguided to me.