3 ms·
Many examples out there are broken. As a sidenote, I've been benchmarking Zig, Rust and C++ with a fibonacci benchmark and the results basically show that C++ i
by ladyanita22 2y ago
Many examples out there are broken. As a sidenote, I've been benchmarking Zig, Rust and C++ with a fibonacci benchmark and the results basically show that C++ is the fastest, but within a 3% margin of error against Rust and Zig, which are mostly similar (Rust so ever slightly faster).
- mikemitchelldev 2y agoHave you published these benchmarks?
- ladyanita22 2y agoNot yet, but I'll soon
- steeve 2y agoCan you please share the code? On my tests late last year it was basically Zig, C++, Rust. Sorry I don’t have the code anymore.
- ladyanita22 2y agoSoon I'll write something and publish it.
- __s 2y agoWhat's compiling C++? Having faster compilers available is nice, but comparing same llvm version would be interesting
- ladyanita22 2y agoI'll write something an post it here in HN