November 2017
Beginner
316 pages
6h 40m
English
We mentioned the speed of Julia above, and that's what sets this language apart from traditional dynamically typed languages. Speed is its specialty. So, how fast can Julia be? The following micro-benchmark results were obtained on a single core (serial execution) on an Intel(R) Xeon(R) CPU E7-8850 2.00 GHz CPU with 1 TB of 1067 MHz DDR3 RAM running Linux:
| Julia 0.4.0 | Python 3.4.3 | R 3.2.2 | MATLAB R2015b | Go go1.5 | Java 1.8.0_45 | |
| fib | 2.11 | 77.76 | 533.52 | 26.89 | 1.86 | 1.21 |
| parse_int | 1.45 | 17.02 | 45.73 | 802.52 | 1.20 | 3.35 |
| quicksort | 1.15 | 32.89 | 264.54 | 4.92 | 1.29 | 2.60 |
| mandel | 0.79 | 15.32 | 53.16 | 7.58 | 1.11 | 1.35 |
| pi_sum | 1.00 | 21.99 | 9.56 | 1.00 | 1.00 | 1.00 |
| rand_mat_stat | 1.66 | 17.93 | 14.56 | 14.52 | 2.96 | 3.92 |
| rand_mat_mul | 1.02 | 1.14 | 1.57 | 1.12 | 1.42 |
Read now
Unlock full access