3 ms·
Anyone knows what kind of project would nim be a good choice for at the moment ? I mean both the language feature as well as available libs. I think i've read s
by bsaul 12y ago
Anyone knows what kind of project would nim be a good choice for at the moment ? I mean both the language feature as well as available libs. I think i've read somewhere that web server coding isn't a target yet (at least regarding websockets use, which was my primary concern at the time i looked).
- dom96 12y agoIt's definitely a good time to get started with web server coding. While a websockets Nimble package is still not available there is a good excuse to write one now that the new async await support is implemented. As far as web frameworks go I have written one called Jester (https://github.com/dom96/jester https://github.com/dom96/jester). I'll be releasing version 0.1.0 of it soon.
- Symmetry 12y agoWell, I'm going to be starting on a project involving Arduino and pretty LEDs soon. Being able to do do stuff like when version == A const numLeds = 10 type LedArray = array[LedState, numLeds] And then have the number of Leds and the size of the array being passed around typechecked and having all of this done at compile time seems really interesting and useful. And it seems easy to just allocate everything statically or on the stack and then turn off the garbage collector.
- dom96 12y agoPlease announce it on the forum once you get it working. I am considering buying an Arduino and seeing this in Nim would certainly push me to buy it!