frol / completely-unscientific-benchmarks

Naive performance comparison of a few programming languages (JavaScript, Kotlin, Rust, Swift, Nim, Python, Go, Haskell, D, C++, Java, C#, Object Pascal, Ada, Lua, Ruby)
Apache License 2.0
547 stars 68 forks source link

Update Nim to 0.19 #66

Closed mratsim closed 5 years ago

mratsim commented 6 years ago

Can you redo the benchmark with Nim 0.19?

Several improvements were added especially this one https://github.com/nim-lang/Nim/issues/8745 is partially addressed, Nim was zero-ing memory needlessly when constructing the (Node, Node) (tuple of ref types) result value.

I've noticed perf degradation of 30% to 6x, and 1.82x on this specific bench.

Thank you!

frol commented 6 years ago

I will do this!

frol commented 5 years ago

I am still waiting for Nim 0.19 release for ArchLinux...

frol commented 5 years ago

Updated in https://github.com/frol/completely-unscientific-benchmarks/commit/ebd73814f90d94ef0d1be0a1c3ed4485a0760b03