Saturday, 11 June 2016

OCaml faster than Rust

Rust is a new "systems programming language" that is claimed to be "blazingly fast". We put it to the test, pitting it against the F# programming language and Rust was slower on every benchmark. Our code was recently ported to OCaml which showed that Rust is also slower than OCaml on this benchmark.

However, we should note that someone has suggested that Rust's poor performance is because its hash table collections use integral power of two sizes rather than prime sizes.