I've translated the Euler problem #21 solution (C and Rust versions lifted off the net) to Nim and benchmarked the binary.
Time to solution for C/Nim/Rust on my Cortex A5 cpu: 1.5s/1.5s/2.5s Two questions about compiling the generated C immediately spring to mind. Does the nim compiler use $CFLAGS in release mode, if present, and is there a switch for performing a PGO build automatically? C: [http://pastebin.com/X3ZTp1c0](http://pastebin.com/X3ZTp1c0) Rust: [http://pastebin.com/u2TixCiV](http://pastebin.com/u2TixCiV) Nim: [http://pastebin.com/drhfFJGW](http://pastebin.com/drhfFJGW)