hanabi1224/Programming-Language-Benchmarks
View on GitHub ↗ ★ 802 C#
Yet another implementation of computer language benchmarks game
6 mentions on Hacker News by 6 people: 0 stories, 6 comments · first 2021-12-18 · latest 2023-06-19
20082026
-
I found Zig implementation of json parsing is interesting. The code is free from hidden control flow !. https://github.com/hanabi1224/Programming-Language-Benchmark...
comment by revskill · 2023-06-19 · in Ask HN: What are some of the most elegant codebases in your favorite language? -
The optimizations both looked correct. Both told the compiler to target broadwell. The fastest nbody was rust, but it was non-portably using x86 intrinsics. Zig has explicit simd vectors in the stdlib and so did better than the portable…
comment by galangalalgol · 2023-06-17 · in Rust vs Zig Benchmarks -
It appears helloworld is the only test with any repeats, and it only has 5 repeats. https://github.com/hanabi1224/Programming-Language-Benchmark... (Also, you can't average out the VM scheduling something else during the test, if it is…
comment by cormacrelf · 2022-02-07 · in Nim vs Rust Benchmarks -
For the spectral-norm one I think it's a failed attempt at parallelism. This code spawns 4000 tasks: parallel: for i in 0..<n: spawn times_i(v, u, i, n, reverse) ( https://github.com/hanabi1224/Programming-Language-Benchmark... ) It's…
comment by duckerude · 2022-02-07 · in Nim vs Rust Benchmarks -
Because it's not C++ code: https://github.com/hanabi1224/Programming-Language-Benchmark...
comment by sdfdf4434r34r · 2021-12-18 · in Which programming language or compiler is faster -
There is no reason, the fasted C++ code is actually C - I really don't know why somebody wrote that as C++. https://github.com/hanabi1224/Programming-Language-Benchmark... https://github.com/hanabi1224/Programming-Language-Benchmark...
comment by ReleaseCandidat · 2021-12-18 · in Which programming language or compiler is faster