Nim is looking really good!
It deserves a chance definitely!
(https://en.wikipedia.org/wiki/ESP32 - for those living under a rock during the past year or so :^)
https://github.com/xyz32/boneIO
...and a while back I played too with:
https://github.com/gokr/ardunimo
Nim is quite perfect for these things since it compiles via C/C++ which makes it go anywhere.