Re:OxCaml - a set of extensions to the OCaml programming lan...
by TheNumbat on Friday June 13, 2025 @11:44AM
(#44269574)
Yeah, this would be great! Currently only 128-bit SSE/NEON is working but AVX is coming very soon. There's also nothing blocking Windows, but it will require some work. (I added the SIMD support in OxCaml)
[ Parent
| on HN ]
Re:OxCaml - a set of extensions to the OCaml programming lan...
by debugnik on Friday June 13, 2025 @12:08PM
(#44269806)
Cool to hear there aren't any technical blockers to add Windows support! You just convinced me into giving OxCaml a try for a hobby project. 128-bit SSE is likely to be enough for my use case and target specs.
Re:OxCaml - a set of extensions to the OCaml programming lan...
by avsm on Friday June 13, 2025 @01:43PM
(#44270546)
David Allsopp had an oxcaml branch compiling on Windows a few months ago, so it’s in the queue…
Re:OxCaml - a set of extensions to the OCaml programming lan...
by aseipp on Friday June 13, 2025 @12:00PM
(#44269721)
FWIW, the "Get OxCaml" page actually says that SIMD on ARM isn't supported yet. If it actually works it would be worth removing that from the known issues list https://oxcaml.org/get-oxcaml/
Re:OxCaml - a set of extensions to the OCaml programming lan...
by TheNumbat on Friday June 13, 2025 @12:08PM
(#44269801)
Indeed, it says that because we don't have a library of NEON intrinsics (like ocaml_simd_sse) yet, but the extension itself works.
Re:OxCaml - a set of extensions to the OCaml programming lan...
by aseipp on Friday June 13, 2025 @12:15PM
(#44269855)
Ah, that clears it up a bit. Thanks! Looking forward to all of this. (For the interested readers, here's the SSE library: https://github.com/janestreet/ocaml_simd/tree/with-extension...)