For those (few? many?) who haven’t heard, I ask because of today’s announcement:
https://arstechnica.com/gadgets/2020/06/this-is-apples-roadmap-for-moving-the-first-macs-away-from-intel/
First problem: OCaml supports ARM but only on Linux, any idea how hard it’d be to add the new platform? https://ocaml.org/learn/portability.html
Any other problem? I guess native compilation might take some work (but I’m not using it anyway!).
ocaml will probably add it
I don't think that native compilation will be harder, as long as the OCaml runtime provides dynlink
Cool to hear. FWIW, now I also asked on https://discuss.ocaml.org/t/ocaml-for-arm-macos/6019?u=blaisorblade.
There has been ocaml cross compilers for ios/Arm64 for a while already, so this shouldn't be too hard to get it in the main release, as soon as somebody can get her hand on a working machine.
https://github.com/ocaml/ocaml/pull/9699
Last updated: Oct 13 2024 at 01:02 UTC