277 karma · joined April 12, 2016
True, but most companies care more about using popular language rather than an innovative one. You might get hired but you won't be using Nim at work.
It's the closest language to a static typed Python.
Also it uses GCC, which supports most microcontrollers.
For N-dimensional array computation: https://github.com/mratsim/Arraymancer/
You cane enable styleCheck:usages by default in the compiler. Also, most editors do variable/proc autocompletion.
Also you can use nimgrep if have to search across projects written by different people.
--styleCheck:error strictly enforces camel case.
Nim goes further there by removing the need for tools like Pandas and numpy. You don't have to write code in "Pandas-style" because native Nim is equally fast and sometimes faster.
Nim prevents that. It's that simple.
The benefit is to avoid confusing variables or procs named my_var, myVar and myvar.
It prevents bugs where a developer mistakes one variable or proc for another having similar names.
For example in another language you might have variables isReady, isready, is_ready and use the wrong one, leading to a bug.
Nim does not allow defining 3 different variables like that.
Not really. The fork looks pretty dormant.
GCC supports way more architectures than LLVM.
You can even use objects named "self" to ease the transition.
https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
This is a rephrasing of "nobody ever got fired for buying IBM".
Some organization prioritize innovation and technical acumen.
> So having a nice, performant and good language is just a small part of achieving your goals. You also need the people and the ecosystem.
Many applications don't need a large ecosystem. People can learn.
> Go, Rust, Kotlin, Swift and even Julia have the luck of having some industry heavyweights behind them
Python was never corporate-driven, thankfully, and it is successful.
No, Nim is truly among the top fastest languages when writing idiomatic code as shown in many benchmarks.
> But Nim is only one of a whole suite of languages that easily cruise to a 10x performance win over Python
...while also being very friendly to Python programmers, intuitive and expressive. Unlike many other languages.
Not at all, unless you decide to mix different styles in the same codebase.
E.g. if you import a phone from China you have to account for the energy usage and pollution as yours.
Instead, you can import and use libraries that use a different stile without breaking your convention.