Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you're interested to see a comparison of parallel programming in a number of functional languages check this repo out [0]. It includes multicore OCaml, parallel MLton (but not Poly/ML, which has been around and parallel longer), Haskell, Futhark, F#, Scala, and Rust.

Credit to Sam Westrick for turning me on to this [1].

[0] https://github.com/athas/raytracers

[1] https://twitter.com/shwestrick/status/1480587660691480579



One thing that I think is missing is the compilation time. Those can vary widely depending on the languages. Other than that it's a nice repo, thanks for sharing it!


Multicore OCaml seems quite slow compared to the others. I wonder how many low hanging fruit there are in the backend to speed those numbers up a bit.


I wondered the same, but it seems the multicore OCaml implementation of those benchmarks was last touched 2 years ago, and the top level README with the benchmark results was also last updated for the OCaml results around that same time. So maybe just rerunning those tests with the latest version would give better results?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: