When comparing Hy vs Nim, the Slant community recommends Nim for most people. In the question“What are the best programming languages for data science?” Nim is ranked 4th while Hy is ranked 17th. The most important reason people chose Nim is:
Nim gains portability and optimization because it compiles to C, which offers a lot of choices from modern C compilers.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Python interop
Hy compiles to Python's abstract syntax trees. Python can import Hy modules, and Hy can import Python modules.
Pro Easier to read
Distinguished between arrays (or vectors) and function calls by using [] and (), respectively.
Pro Copyfree and open source
Uses the MIT (expat) license.
Pro Great portability and optimization
Nim gains portability and optimization because it compiles to C, which offers a lot of choices from modern C compilers.
Pro Python-like syntax
Readable, clean and familiar to Python developers.
Pro Cross-platform
Works on Windows, macOS, and Linux.
Cons
