Python vs Zig
vs
Zig er foran med en score på 27.5 mod 2.9 for Python (24.6 point).
I 4 fælles benchmarks vinder Python 2, og Zig vinder 2.
Zig fører i Hukommelseseffektivitet.
Head to head
Fælles benchmarks (4)
| Benchmark | Python | Zig |
|---|---|---|
edigits time (s) ↓ Programming Language Benchmarks | 0.363 | 2.263 |
fasta time (s) ↓ Programming Language Benchmarks | 3.347 | 0.089 |
lru time (s) ↓ Programming Language Benchmarks | 1.149 | 0.033 |
pidigits time (s) ↓ Programming Language Benchmarks | 1.956 | 2.446 |
Sammenlign Python med
Sammenlign Zig med