That's correct, as the nim's generated C code is not idiomatic.
Yeah, I've meant to update it and add more language implementations, but haven't really got the time. Might as well do so soon as almost all compilers/interpreters have new versions which I suspect have many nice…
Did 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…
This seems like a nice improvement, could you send a PR for it?
It got me thinking as well, so I ventured and did some experiments on this, and found that the main difference is the algorithm used for the RNG; C's std lib uses a slower one (which also is thread safe, and butchered…
Location: Sonora, Mexico Remote: Yes Willing to relocate: Yes Technologies: node.js, angular, c/c++, apache cordova, ionic framework, javascript, linux, windows, raspberry pi, SQL Server, Azure Résumé/CV:…
That's correct, as the nim's generated C code is not idiomatic.
Yeah, I've meant to update it and add more language implementations, but haven't really got the time. Might as well do so soon as almost all compilers/interpreters have new versions which I suspect have many nice…
Did 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…
This seems like a nice improvement, could you send a PR for it?
It got me thinking as well, so I ventured and did some experiments on this, and found that the main difference is the algorithm used for the RNG; C's std lib uses a slower one (which also is thread safe, and butchered…
Location: Sonora, Mexico Remote: Yes Willing to relocate: Yes Technologies: node.js, angular, c/c++, apache cordova, ionic framework, javascript, linux, windows, raspberry pi, SQL Server, Azure Résumé/CV:…