athas / raytracers

Performance comparison of parallel ray tracing in functional programming languages
303 stars 19 forks source link

Multicore OCaml raytracer, ported from F# version #1

Closed rand00 closed 4 years ago

athas commented 4 years ago

Looks fun! I'll see if I can get multicore OCaml working. Hopefully someone has a Nix derivation somewhere...

rand00 commented 4 years ago

(: Yes that would be practical, but I think the multicore OCaml switch is too new to be in Nix. It should be simple enough to follow the guides linked in the readme

athas commented 4 years ago

I managed to run and measure the performance (using the C FFI to access gettimeofday()). Performance is awful! I really hope this is going to improve a lot in the future.

rand00 commented 4 years ago

(: It should improve a lot - it is not nearly finished. Seems to me that they are gaining pace though. Should be interesting to follow their progress by running the raytracer in the future. They have a repo with other benchmarks here: https://github.com/ocaml-bench/sandmark