Re:Nim Advocacy and Promotion Strategies
by bjourne on Tuesday December 30, 2014 @08:23PM
(#8817829)
Thank's for the explanation! Then I know Nim isn't for me because "winning the benchmark game" isn't important to me -- even Python is fast enough for almost everything I write. But I understand why it is appealing to others.
Are there any other up-to-date benchmarks of Nim? In larger programs, performance is often dominated by allocating and garbage collecting memory. It would be interesting to know if Nim performs as well in that discipline as in raw number crunching.
If you took Python but made it perform blazingly fast, and made it suitable for the most demanding of embedded and systems programming applications, in addition to game dev, you'd get Nim.
If on the other hand you're satisfied with Python, then keep using it. It was trivial for me to port a Python elliptic curve implementation to Nim. I'd certainly recommend it over Cython, because Nim is simply designed as one complete system built for writing high performance applications with a sane syntax.
Statistics (on an x86_64 Intel Core2Quad Q9300):
https://github.com/def-/LPATHBench/blob/master/nim.nimhttps://github.com/Araq/Nim/wiki/Nim-for-C-programmers