4 ms·
Nim is looking really good! It deserves a chance definitely!
by joseluisq 9y ago
Nim is looking really good!
It deserves a chance definitely!
- squarefoot 9y agoAll it needs is a killer app, or more appropriately a killer port. Make the compiler generate code for the ESP32 and it gets world fame in no time. (https://en.wikipedia.org/wiki/ESP32 https://en.wikipedia.org/wiki/ESP32 - for those living under a rock during the past year or so :^)
- mixedCase 9y agoNim compiles to C source code. Isn't the ESP32 SDK just C?
- squarefoot 9y agoI believe so, but on a ucontroller it also needs to know the machine data types, memory structure, internal peripherals etc, where is this or that pin, how to start a timer or read the ADC etc. Probably all it needs is a good set of .h files to generate appropriate code.
- gokr 9y agoJust as a sidenote, there is: https://github.com/xyz32/boneIO https://github.com/xyz32/boneIO ...and a while back I played too with: https://github.com/gokr/ardunimo https://github.com/gokr/ardunimo Nim is quite perfect for these things since it compiles via C/C++ which makes it go anywhere.
- gokr 9y agoI have been wanting to play with wrapping the ESP-IDF for Nim (using the excellent c2nim tool), but ... it appears to be a fairly hefty job. Although I am sure Araq could do it in no time :)