nimmer·4 年前·議論> Any good company won't care what programming language you are specifically proficient inTrue, 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.
nimmer·4 年前·議論No, even small files. You must have issues with your setup. Are you sure your compiler is not built in debug mode?
nimmer·4 年前·議論Nim is a very good choice because it generates tiny binaries while having a very expressive syntax.It's the closest language to a static typed Python.Also it uses GCC, which supports most microcontrollers.
nimmer·4 年前·議論While this is a very ambitious goal, Nim implements formal proof for invariants using a theorem prover:https://nim-lang.org/docs/drnim.html
nimmer·4 年前·議論The latter. For most uses of Pandas you can simply use native arrays. You can use for loops and so on.For N-dimensional array computation: https://github.com/mratsim/Arraymancer/
nimmer·4 年前·議論You can use --styleCheck:usages or a linter to ensure that the style is uniform.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.
nimmer·4 年前·議論No. Nim always throws an error if you try to define multiple variables/procs that are conflicting.--styleCheck:error strictly enforces camel case.
nimmer·4 年前·議論> If Nim can work with numpy it's a plusNim 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.
nimmer·4 年前·議論This is the opposite of a footgun. Imagine if DNS was case sensitive and GMAIL.COM belonged to a domain squatter.Nim prevents that. It's that simple.
nimmer·4 年前·議論This is exactly what Nim does. If you try to define both my_var and myVar it will error out.The benefit is to avoid confusing variables or procs named my_var, myVar and myvar.
nimmer·4 年前·議論Style insensitivity is a safety feature, not a problem.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.
nimmer·4 年前·議論Nim uses GCC and works very well. Nim is among the fastest languages both in runtime and compilation time also thanks to GCC.GCC supports way more architectures than LLVM.
nimmer·4 年前·議論Clearly you never tried converting existing Python to Nim. It's quick, feels natural and you get idiomatic Nim.You can even use objects named "self" to ease the transition.https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...