Hacker News new | ask | show | jobs
by systems 184 days ago
why is ocaml so low, didnt expect this
1 comments

As with all the ahead-of-time compiled languages that I checked, the answer is that it generates non-SIMD code for the hot loop. The assembly code I see in godbolt.org isn't bad at all; the compiler just didn't do anything super clever.