Fortran vs Java
Fortran 以 25.9 分领先于 Java 的 15.7 分(相差 10.2 分)。
在 9 项共同基准测试中,Fortran 胜出 7 项,Java 胜出 2 项。
Fortran 在内存效率方面领先。 Java 在流行度方面领先。
正面对比
共同基准测试(9)
| 基准测试 | Fortran | Java |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.24 | 3.9 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.67 | 9.26 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 1.36 | 1.11 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 2.72 | 3.96 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 3.39 | 6.02 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 8.09 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.98 | 1.38 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.35 | 4.05 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.47 |
将 Fortran 与以下模型对比
将 Java 与以下模型对比