how to compile and run greetings.nim with args: arg1, arg2
nim compile –run greetings.nim arg1 arg2
how to compile and run greetings.nim with args: arg1, arg2 shortly
nim c r greetings.nim arg1 arg2
how to compile optimized greetings.nim
nim c -d:release greetings.nim
Whats special by compiling to release
By default the Nim compiler generates a large amount of runtime checks aiming for your debugging pleasure. With -d:release these checks are turned off and optimizations are turned on.