3 ms·
This is awesome! More good press for Nim. There is a big variation in performance, some of which I find surprising. Do you know what exactly causes some langua
by azhenley 8y ago
This is awesome! More good press for Nim.
There is a big variation in performance, some of which I find surprising. Do you know what exactly causes some languages to be so slow (e.g., small objects being created and garbage collected frequently)?
- niofis 8y agoDid some testing and found that it boils down to three things: RNG algorithm used in the standard library, forced use of double precision floating point numbers (the case for OCaml and javascript), and like you mentioned, memory management. EDIT: forgot to mention the obvious things: compiler/interpreter maturity and inherent overhead.