News for hackers. Stuff that matters.
Re:Nim 1.0 by _0ffh on Monday September 23, 2019 @07:53PM (#21055046)
For me, personally, the biggest points for Nim are:

- "Transpiled" to C, with some options regarding runtime library, which means you can target any uController out there

- Good metaprogramming support

- Static and _strong_ typing

- Consequently, precise type aware function dispatch

- Type inference

- Good generics

Also, more stuff like covariants and contravariants and... maybe you just have a look-see? ;-)

Re:Nim 1.0 by nfrankel on Tuesday September 24, 2019 @02:11AM (#21057025)
I'm already quite invested in Kotlin, and having a look at Elixir... on top of my regular work. Time is a limiting factor :-)
Re:Nim 1.0 by egeozcan on Tuesday September 24, 2019 @07:59AM (#21059030)
There are "concepts" which are like generics but still experimental. Are there any other generic programming facilities in nim?

https://nim-lang.org/docs/manual_experimental.html#concepts

Re:Nim 1.0 by narimiran on Tuesday September 24, 2019 @09:04AM (#21059661)
> Are there any other generic programming facilities in nim?

https://nim-lang.org/docs/manual.html#generics

Re:Nim 1.0 by egeozcan on Tuesday September 24, 2019 @10:08AM (#21060331)
What I wanted to write was something like type restricted generics, apparently I ended my comment prematurely. Without concepts (interfaces), I find it hard to call this system "good generics" but there might be something I'm missing.