6 ms·
Smoke C by several orders of magnitude? Citation needed.
by bloomer 7y ago
Smoke C by several orders of magnitude? Citation needed.
- gavinray 7y agoEntirely reasonable doubt, you can find well-commented benchmark output of the Laser High-Performance Computing lib and Arraymancer lib in their source: https://github.com/numforge/laser/blob/d1e6ae6106564bfb350d4e566261df97dbb578b3/benchmarks/vector_math/bench_exp.nim#L204 https://github.com/numforge/laser/blob/d1e6ae6106564bfb350d4... https://github.com/mratsim/Arraymancer/blob/6fddfa9a734ac01c13a9595adccaac571aa75093/benchmarks/integer_matmul.nim#L21 https://github.com/mratsim/Arraymancer/blob/6fddfa9a734ac01c... To qualify the statement, it would be more accurate to say that Nim can smoke C by several orders of magnitude unless you devote significant engineering efforts into replicating the equivalent Nim (as Nim targets C/C++ regardless, so this is just heavy lifting and optimizations)
- nimmer 7y agoWhile all you say is true, "on order of magnitude" mean 10x and "several orders of magnitude" mean 1000x or more.