News for hackers. Stuff that matters.
Re:Nim Programming Language v0.17.0 released by joseluisq on Thursday May 18, 2017 @04:15AM (#14365621)
Nim is looking really good! It deserves a chance definitely!
Re:Nim Programming Language v0.17.0 released by squarefoot on Thursday May 18, 2017 @09:45AM (#14367114)
All 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 - for those living under a rock during the past year or so :^)

Re:Nim Programming Language v0.17.0 released by gokr on Monday May 22, 2017 @05:33PM (#14397106)
I 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 :)
Re:Nim Programming Language v0.17.0 released by mixedCase on Thursday May 18, 2017 @10:22AM (#14367425)
Nim compiles to C source code. Isn't the ESP32 SDK just C?
Re:Nim Programming Language v0.17.0 released by squarefoot on Thursday May 18, 2017 @08:21PM (#14372145)
I 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.
Re:Nim Programming Language v0.17.0 released by gokr on Monday May 22, 2017 @05:38PM (#14397141)
Just as a sidenote, there is:

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.