News for hackers. Stuff that matters.
Re:A Programming Language Underdog by skellock on Saturday September 22, 2018 @09:23AM (#18045873)
Post author here. A few things that make me sad in the pants:

- js doesn't have source maps (kinda of a big deal to me)

- some error messages are head scratchers (seem to remember trying to add things to an immutable array not being clear)

- docs could use love (eg seeing more examples of macros in action)

- devel (their nightly compiler) can be rough (e.g. i found the "strings cannot be null" cutover a bit rocky -- my own damn fault, i can't go back to 0.18 after being on 0.18.1)

- the big one I think, however, is adoption. I keep hearing "i'll just use rust or go". That's legit as they're also awesome.

nim's stdlib is massive (too big?) and there's tonnes of high quality packages out there. You won't be left thinking... well, crap, looks like I need to talk to roll this redis layer myself.

EDIT: Formatting. How does it even work?

Re:A Programming Language Underdog by alehander42 on Saturday September 22, 2018 @04:47PM (#18047901)
I have implemented source maps for the js backend : https://github.com/nim-lang/Nim/pull/7508

They aren't merged yet in the upstream compiler because I wasn't sure if I wanted to refactor the jsgen with them, but otherwise they are almost there: I use them in a personal project in a forked branch

Re:A Programming Language Underdog by kungtotte on Saturday September 22, 2018 @01:13PM (#18046832)
The docs issue and devel being rough are both due to the pre-1.0 status and the smaller community. It's a little bit of a catch-22; you need adoption to gain contributors but people won't adopt until there's enough contributions to make it stable.
Re:A Programming Language Underdog by dom96 on Saturday September 22, 2018 @11:39PM (#18049266)
yeah, which is usually where big companies help out. Their respect in the tech communities makes people take note of the new technology.

I really really think "underdog" is the best way to describe Nim because of this.

Re:A Programming Language Underdog by eeZah7Ux on Saturday September 22, 2018 @06:38PM (#18048370)
> nim's stdlib is massive (too big?)

It has less modules than Python.