2 ms·
Zig is still "not production ready," embedded is still rough, and you might have to contribute to Ziglang itself to get any particular architecture working appr
by hansvm 6y ago
Zig is still "not production ready," embedded is still rough, and you might have to contribute to Ziglang itself to get any particular architecture working appropriately. That said, yes people are using Zig a little for embedded stuff:
https://codelv.com/blog/2020/5/using-zig-and-the-stm32h7-to-drive-stepper-motors https://codelv.com/blog/2020/5/using-zig-and-the-stm32h7-to-...
https://www.mdeditor.tw/pl/2Ap9 https://www.mdeditor.tw/pl/2Ap9
Xtensa is less supported. M0 might also have some issues: https://github.com/Schroedingers-Hat/xtensa-zig https://github.com/Schroedingers-Hat/xtensa-zig
I've been meaning to try it out for embedded myself; I'll let you know how it goes.