News for hackers. Stuff that matters.
Re:Learning Go by porting a medium-sized web back end from P... by beagle3 on Thursday November 09, 2017 @05:28AM (#15661308)
Nim has everything nailed down except the ecosystem/commercial backing; It does have some of those, but not to the extent that I would blindly tell you they are there.

It's as fun as writing Python (with a similar syntax), but it has essentially all the goodies you want from Lisp when you need them, runs as fast as equally optimized C, produces standalone native binaries, _or_ standalone JavaScript if that's your thing.

Re:Learning Go by porting a medium-sized web back end from P... by narimiran on Thursday November 09, 2017 @09:51AM (#15662830)
When I started reading the feature list above, Nim was the first thing that came to my mind, until I saw the thing you mention:

> except the ecosystem/commercial backing

If this is not the most important feature on that list, here is one more vote for Nim. Give it a try, it might (pleasantly) surprise you!

Re:Learning Go by porting a medium-sized web back end from P... by reacharavindh on Thursday November 09, 2017 @08:48AM (#15662284)
Cheers to Nim. I'm learning it in my spare time for fun. However, I will not consider using it for anything more than toy projects until it hits 1.0. Hopefully soon.
Re:Learning Go by porting a medium-sized web back end from P... by narimiran on Thursday November 09, 2017 @09:47AM (#15662783)
> I will not consider using it for anything more than toy projects until it hits 1.0. Hopefully soon.

It should happen soon (TM), but from what I understand it will be just another version, just this time renamed to 1.0 - this basically means you could start using it more seriously even now.

Re:Learning Go by porting a medium-sized web back end from P... by reacharavindh on Thursday November 09, 2017 @11:55AM (#15663911)
Yeah. I understand that it will be just another version with not that many changes. Nim as it currently already feels stable and solid. But, I believe v1.0 release will carry a commitment to not introduce breaking changes at least for reasonable period of time after.
Re:Learning Go by porting a medium-sized web back end from P... by egeozcan on Thursday November 09, 2017 @05:31AM (#15661317)
I wish there was a Go->Nim compiler or a way to simply import stuff from Go :) I'm just half-joking to be honest.
Re:Learning Go by porting a medium-sized web back end from P... by beagle3 on Thursday November 09, 2017 @06:03AM (#15661438)
Go can generate .so/.dll usable from C; Nim can use them.
Re:Learning Go by porting a medium-sized web back end from P... by Santosh83 on Thursday November 09, 2017 @11:37AM (#15663782)
What's the IDE support like for Nim?
Re:Learning Go by porting a medium-sized web back end from P... by beagle3 on Thursday November 09, 2017 @01:41PM (#15664726)
va code extension, vin plugin, enacts mode all very functional. There’s aporia, written in Nim, but it is not as advanced.

Nim itself does not come with an IDE, but does include nimgrep and nimsuggest which underlie intelligence and other features in every IDE setup.

Re:Learning Go by porting a medium-sized web back end from P... by Can_Not on Friday November 10, 2017 @12:23PM (#15671368)
Does Nim have a good story for borrowing c/c++ ecosystems?
Re:Learning Go by porting a medium-sized web back end from P... by beagle3 on Friday November 10, 2017 @12:54PM (#15671609)
Yes. The most common compilation path is through C or C++, which together with the source-based FFI makes the integration mostly seamless.

There’s also c2nim which will generate the bindings for you (though it might need some hand holding if the header files make extreme use of macros)