When comparing Nim vs V, the Slant community recommends V for most people. In the question“What are the best statically typed, compiled, memory safe programming languages?” V is ranked 3rd while Nim is ranked 6th. The most important reason people chose V is:
Compile app to run on different OSes.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
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.
Pro Cross-platform
Compile app to run on different OSes.
Pro Sum types
V has sum types.
Pro GUI support
V comes with (simple) GUI support out of the box.
Pro Clear syntax
Highly understandable language.
Pro Safety
V is very safe.
Pro Fast like C
V is easier than C and fast like C.
Pro Closures
V has closures, which gives the user additional options and usefulness.
Pro Generics
V has generics.
Pro Supports concurrency and channels
Can run functions concurrently that communicate over channels.
Pro C Interop
Can import C libraries, structs, and headers.
Pro Fast compile times
Compiles programs fast, less waiting around, so more productive and fun.
Pro Lambdas
Supports using lambdas, which helps write more concise code without having to use so many lines.
Cons
