Rust vs Go vs C on Apple Silicon and Linux — benchmarks on real hardware (2026)
Four benchmarks on two machines — Apple M1 Pro (macOS/clang) and Intel i5-13400F (Linux/gcc). Rust ≈ C on the M1; on x86 Linux, Rust is 1.5× slower than gcc on recursive fib and Go is 2.9× slower. Go's matrix multiply gap is 4.7× on Linux (vs 3.3× on arm64). The surprise: Rust's concurrent sum on x86 is 2.8× faster than C pthreads — LLVM likely folds the range into a closed-form sum.