C++ vs Rust
Rust води с оценка 62.0 срещу 56.6 за C++ (5.4 точки).
В 14 общи бенчмарка C++ печели 7, а Rust печели 5.
Rust води в категория Ефективност на паметта. C++ води в категория Популярност.
Директен двубой
Общи бенчмаркове (14)
| Бенчмарк | C++ | Rust |
|---|---|---|
fannkuch-redux time (s) ↓ Programming Language Benchmarks | 0.401 | 0.413 |
nbody time (s) ↓ Programming Language Benchmarks | 0.167 | 0.163 |
nsieve time (s) ↓ Programming Language Benchmarks | 0.485 | 0.301 |
spectral-norm time (s) ↓ Programming Language Benchmarks | 0.469 | 0.492 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 1.07 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 3.33 | 3.81 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.78 | 0.78 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 2.02 | 2.57 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 0.89 | 0.95 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.15 | 2.19 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 0.71 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.14 | 0.78 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.76 | 0.55 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 0.72 |