Earlier quoted context omitted.
I'm sure Rust also has a way to disable bounds/overflow checks for speed. Do benchmarks utilise it?
Rust should be able to elide more checks than most other languages without impacting safety.
Nim 1.6.2
71–80 of 162 posts
Re: Nim 1.6.2
#72It has their easy-to-learn properties, but has a better type system, the generics system and macros are arguably more useful, and more usable than what is offered in either language.
It deserves far more attention than it currently gets.
Re: Nim 1.6.2
#73Genuinely curious - why should I care about Nim? There are already a plethora of general purpose languages (both compiled and interpreted). Also, is anyone using Nim today? What's the adoption?
Sure. I maintain an internal performance dashboard web app that is fully Nim. Backend uses Jester and the frontend uses Karax + Vega-lite for charts.
Re: Nim 1.6.2
#74Nim is everything Python and Go should be/want to be, as far as language features and semantics go (haha). It has their easy-to-learn properties, but has a better type system, the generics system and macros are arguably more useful, and more usable than what is offered in either language. It deserves far more attention than it currently gets.
If nim picks up pace in a few years and I already have a sense of it, it may be a good for prospects too.
Re: Nim 1.6.2
#75Earlier quoted context omitted.
Rust should be able to elide more checks than most other languages without impacting safety.
That's the assumption, but that doesn't mean it's the case. Certainly bounds checks are impossible to prove at compile-time.
Re: Nim 1.6.2
#76Nim is everything Python and Go should be/want to be, as far as language features and semantics go (haha). It has their easy-to-learn properties, but has a better type system, the generics system and macros are arguably more useful, and more usable than what is offered in either language. It deserves far more attention than it currently gets.
As someone learning programming, should I try nim for my first compiled language, instead of C++? I know it's likely harder to find answers in the Internet, but at the same time it looks easier, coming from Python and JS. If nim picks up pace in a few years and I already have a sense of it, it may be a good for prospects too.
Re: Nim 1.6.2
#77Nim is everything Python and Go should be/want to be, as far as language features and semantics go (haha). It has their easy-to-learn properties, but has a better type system, the generics system and macros are arguably more useful, and more usable than what is offered in either language. It deserves far more attention than it currently gets.
As someone learning programming, should I try nim for my first compiled language, instead of C++? I know it's likely harder to find answers in the Internet, but at the same time it looks easier, coming from Python and JS. If nim picks up pace in a few years and I already have a sense of it, it may be a good for prospects too.
Re: Nim 1.6.2
#78Nim is everything Python and Go should be/want to be, as far as language features and semantics go (haha). It has their easy-to-learn properties, but has a better type system, the generics system and macros are arguably more useful, and more usable than what is offered in either language. It deserves far more attention than it currently gets.
As someone learning programming, should I try nim for my first compiled language, instead of C++? I know it's likely harder to find answers in the Internet, but at the same time it looks easier, coming from Python and JS. If nim picks up pace in a few years and I already have a sense of it, it may be a good for prospects too.
The documentation is good enough that I don't need to google most of the stuff while writing Nim, having types definitely help with that.
Re: Nim 1.6.2
#79I'm getting tired of how cumbersome Go is and have had my eye on Crystal. Anyone have any insight on how Nim stacks up to Crystal?
Re: Nim 1.6.2
#80I see nim being compared with the same languages as zig. Does anyone has any opinios regarding how nim vs zig?
zig's IR is llvm, while Nim's IR is C/C++/javascript. C supports more platforms than llvm. zig: no macros plz nim: macros are amazing