Fortran vs Swift
Fortran is ahead with a score of 25.9 versus 14.4 for Swift (11.5 points).
In 9 shared benchmarks, Fortran wins 6 and Swift wins 3.
Fortran leads in Memory efficiency. Swift leads in Popularity.
Head to head
Shared benchmarks (9)
| Benchmark | Fortran | Swift |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 17.6 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 8.2 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 2.2 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 1.35 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 5.45 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 0.76 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 18.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 2.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.45 |
Compare Fortran with
Compare Swift with