OCaml vs Zig
Vedie Zig so skóre 27.5 oproti 8.7 (OCaml) – rozdiel 18.8 bodov.
V spoločných benchmarkoch (8): OCaml – víťazstvá 0, Zig – víťazstvá 8.
Zig vedie v kategórii: Pamäťová efektivita.
Priame porovnanie
Spoločné benchmarky (8)
| Benchmark | OCaml | Zig |
|---|---|---|
binarytrees time (s) ↓ Programming Language Benchmarks | 3.02 | 1.735 |
fannkuch-redux time (s) ↓ Programming Language Benchmarks | 2.91 | 0.639 |
fasta time (s) ↓ Programming Language Benchmarks | 0.346 | 0.089 |
lru time (s) ↓ Programming Language Benchmarks | 0.187 | 0.033 |
merkletrees time (s) ↓ Programming Language Benchmarks | 1.113 | 0.86 |
nbody time (s) ↓ Programming Language Benchmarks | 0.373 | 0.198 |
nsieve time (s) ↓ Programming Language Benchmarks | 0.932 | 0.267 |
spectral-norm time (s) ↓ Programming Language Benchmarks | 4.574 | 3.687 |
Porovnať OCaml s
Porovnať Zig s