Nim compiles to C and therefore should be able to run on anything which has a C compiler available.
To my knowledge it's been demonstrated on AVR, ARM Cortex-M and ESP32.
It's macro system comes in handy for embedded, too, as you can precompute so much stuff at compile time.
Re:Cello – High Level C
by eternityforest on Saturday March 05, 2022 @04:01PM
(#30571827)
Oh yeah, I forgot about that awesome Nim feature. Kinda surprised Nim isn't 10x bigger than Zig and Go
Could it possibly be useful there?
I suspect just using a tiny Lua/JS/Python would be better but maybe in some super niche case this could have a use. Probably not though.