by tutfbhuf · 5y ago · 0 comments
I would like to have something similar for Python.
Also, the FFI in Nim is basically just declaring some C function as a `proc`. So, wrapping existing C libraries is as easy as Cython for Python. You can even jump start things by running `c2nim` on a header file.
Depending on the application, F# is a fantastic alternative to Python if you want some succinct code (with advanced types too) and fast runtime performance.
For anything 'scientific' there is Julia (with PyCall and RCall).
That said, it's a completely different language from Python, so the comparison to Ruby/Crystal is not very apt.