60
[Discussion] Nim Programming language - thoughts?
(nim-lang.org)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
@janAkali I wonder how it compares to compiling Python code with https://github.com/Nuitka/Nuitka , which is a real compiler using C and not just a bundler. To me, from programming language perspective Nim looks like an improvement for the developer. Here is a nice overview: https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers , but this does not take Nuitka into account.
First time hearing about Nuitka and it sounds promising for Python devs. But from a quick glance it is merely an AOT compiled Python.
For me, Nim has big advantage over Python: types that are statically checked at compile time.
Types make you reason about your code more. Good LSP uses types to suggest you code without any AI and shows you errors before you have to run your script/programm.