The binary size difference is quite striking. Linux distro packagers are going to like Nim, I think.
@if musl:
passL = "-static"
gcc.exe = "/usr/local/musl/bin/musl-gcc"
gcc.linkerexe = "/usr/local/musl/bin/musl-gcc"
@end
Now it compiles like this (SDL2 is still dynamically loaded, +1 MB for that): $ nim -d:release -d:musl c src/nimes
$ ls -lha src/nimes
-rwxr-xr-x 1 def users 219K Mai 1 22:00 src/nimes*The Nim -> C -> emscripten path is very impressive. Kudos.
I'm not sure what Go does on OS X, but I know that it's not possible to statically link the c library on OS X.