News for hackers. Stuff that matters.
Re:A Programming Language Underdog by nicoburns on Saturday September 22, 2018 @06:53AM (#18045469)
A biggy is that it only really has a single developer, and no big corporate users. And relatedly the library ecosystem is relatively weak. It also has a GC, so it can't be used for really low-level stuff where that is a problem.

It's looking pretty promising though. Especially if you are a fan of python's syntax.

Re:A Programming Language Underdog by andrewchambers on Saturday September 22, 2018 @07:11AM (#18045515)
That is not totally true. Nim's own GC is written in Nim. You can turn the GC off.
Re:A Programming Language Underdog by mratsim on Saturday September 22, 2018 @07:37AM (#18045600)
I use Nim for Cuda, OpenCL and cache-sensitive/memory-bound multithreaded computation.

You can mix and match manual memory management and GC-managed types in the same codebase.

Re:A Programming Language Underdog by recursive on Saturday September 22, 2018 @08:06AM (#18045675)
In this very article, which is pretty light on details, one of the few facts presented is that you can disable GC.
Re:A Programming Language Underdog by skellock on Saturday September 22, 2018 @09:37AM (#18045908)
Agreed. I purged a bunch of stuff and still feel like I left too much in.

A couple of bonus facts for you:

- they've got an effects tracking system where you can have the compiler track (and whistleblow!) which functions are pure or not

- their multi-phase compiler allows you to read in source code at build time (from files or external programs!)

- their macro system is typesafe as it operates at the AST level

- the guy who created it will always tell you how he feels

- again with their macro system... there are FP libs, pattern matching libs, and OO libs that can "literally" transform the language to fit your preference

- and one more just for you: they don't support tail call optimization (ducks)

Re:A Programming Language Underdog by antonkm on Saturday September 22, 2018 @04:38PM (#18047868)
> - the guy who created it will always tell you how he feels

What does this mean?

Re:A Programming Language Underdog by dom96 on Saturday September 22, 2018 @11:43PM (#18049274)
I'm guessing, but I think the OP means that the Nim creator is a bit like Linus Torvalds. He will tell you if he feels your idea is silly, especially if he's argued against that idea hundreds of times already.
Re:A Programming Language Underdog by anentropic on Saturday September 22, 2018 @10:20AM (#18046060)
it sounds awesome
Re:A Programming Language Underdog by interfixus on Saturday September 22, 2018 @07:59AM (#18045652)
Two developers at least. One of whom is in this very thread. It's a concern, yes, but actually has been around for more than a decade, and is showing absolutely no sign of slowing down or going into hibernation.

I have just seen a ... competing language team spending developer time on purging the code of what they call ableism. apparently it's now offensive to talk of a sanity check ot to facetiously refer to OCD in a comment.

At least we may hope the Nim team lacks manpower for such idiocy.

Re:A Programming Language Underdog by tzs on Saturday September 22, 2018 @10:39AM (#18046136)
Which competing language team?

All I found on Google was this gist of someone saying "sanity check" should be avoided. ("health check, too) [1], and some issues and pull requests in projects that were not languages.

One of the latter is clearly trolling to test Linus Torvalds' resolve to be polite [2][3][4][5], complaining about "ableist/saneist" terms, including "silly", on several of Linus' repositories.

You can tell it is a troll because it is just copying/pasting the exact same complaint, just changing the name of the project. It is not even bothering to change the list of alleged problematic words and their counts, so for example it is claiming that perconvert has 144 occurrences of "sanity check" when it actually has 0. In fact every single claim on that one is wrong. The only word from the complaint actually in pesconvert is stupid, which occurs one time, not the six times claimed. Second sign it is a troll is that it is from a GitHub account created just before the complaints were posted.

[1] https://gist.github.com/seanmhanson/fe370c2d8bd2b3228680e388...

[2] https://github.com/torvalds/uemacs/issues/16

[3] https://github.com/torvalds/linux/pull/595#issuecomment-4236...

[4] https://github.com/torvalds/pesconvert/issues/4

[5] https://github.com/torvalds/test-tlb/issues/5

Re:A Programming Language Underdog by interfixus on Saturday September 22, 2018 @10:47AM (#18046172)
Re:A Programming Language Underdog by tzs on Saturday September 22, 2018 @10:52AM (#18046192)
Submitted by the same person who is trying to troll Linus. Looks like the troll is happy with the result:

> Thank you so much, it's so much more inclusive now. My rabbi will be pleased.

Re:A Programming Language Underdog by interfixus on Saturday September 22, 2018 @10:58AM (#18046222)
Trouble is the commit is there: The thing has been taken at face value.

This galloping madness is beginning to scare the shit out of me.

Re:A Programming Language Underdog by dTal on Sunday September 23, 2018 @01:58PM (#18052271)
No it hasn't.

>We realise it's a troll, but we had an internal discussion and we decided that we wanted to remove these anyway. We're not being terrorised into change just because a (bad) troll appeared, they just happened to bring attention to a real issue.

Re:A Programming Language Underdog by interfixus on Sunday September 23, 2018 @02:16PM (#18052363)
"We didn't do it because the troll said so, but because the troll said so".

Either way, the decision is ... whichever derogative may not yet be blacklisted, sorry, interdicted.