3 ms·
When I see that Zig is slower than Go, I know for a fact that something's off. This benchmark really looks biased. Rant: As with many benchmarks, this suffers
by qweqwe14 3y ago
When I see that Zig is slower than Go, I know for a fact that something's off. This benchmark really looks biased.
Rant: As with many benchmarks, this suffers from the fact that there are multiple ways to do the same thing in multiple languages, and the most common one isn't necessarily the best for a particular use case.
In an ideal world, you would have the benchmark in each language written by people that work with that language on daily basis and have all the necessary knowledge to produce a fair benchmark, which is something that a naive implementation often fails to do.