Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2021 (2)
20082026
  1. I found Zig implementation of json parsing is interesting. The code is free from hidden control flow !. https://github.com/hanabi1224/Programming-Language-Benchmark...
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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