Zig seems promising too! But it’s still LLVM based (?), which seems to be a limitation in the embedded world. Nim’s templates/macros are nice for fiddly stuff. Not sure how Zig handles places where compile time macros can make things nice. Yah I figure in ~5 years Rust might be better positioned in embedded work as a goto solution.
Re:Rust on the ESP32 (2019)
by MrBuddyCasino on Monday July 06, 2020 @06:10AM
(#23746284)
If you like macros, Zig might not be for you. Part of its mission statement:
"There is no hidden control flow, no hidden memory allocations, no preprocessor, and no macros."
Rust might just be a leap too big and can only work in blank-slate scenarios.