I just realized Swift has support for embedded hardware [1]. It's very niche but having a high level programming language as Swift is a great option.
[1] https://github.com/swiftlang/swift-embedded-examples/blob/ma...