Try F#. It's not exactly ocaml, but close enough if you want to stay on windows.
Re:Multicore OCaml: May 2021
by rejectedandsad on Saturday June 12, 2021 @01:14AM
(#27481731)
Iād even argue F# might be better than OCaml thanks to the better library support, availability on Win/Mac/Linux and pre-existing multi core support.
Re:Multicore OCaml: May 2021
by hyperhopper on Saturday June 12, 2021 @03:09AM
(#27482303)
I love F#! I have used it professionally for years!
Unfortunately, it has the same problem, but for Linux instead; dot net core is not the same as dot net.
Re:Multicore OCaml: May 2021
by phillipcarter on Wednesday June 16, 2021 @11:23AM
(#27529552)
Which issues did you run into? .NET 5 is the same across all operating systems, modulo access to winforms/wpf if you're on windows only.
Or Scala3
Well, installing OCaml from sources was always considered the hard way.
Now there is https://fdopen.github.io/opam-repository-mingw/installation/
Basically you just need Cygwin and you are good. It worked for me when I last tried it.
Re:Multicore OCaml: May 2021
by heavyset_go on Saturday June 12, 2021 @12:32AM
(#27481559)
Are binaries compiled with Cygwin Ocaml portable? As in, can they be distributed to other Windows systems that don't have Cygwin installed?
The documentation say yes.
With a caveat. If you depend on some cygwin libs for your ocaml program you need them on the other machine too.
Maybe you can copy them over as well. Or not. Not a win dev, sorry.
Re:Multicore OCaml: May 2021
by heavyset_go on Saturday June 12, 2021 @06:08PM
(#27487815)
Cool, thanks.
I use WSL2 with Ocaml, works fine.
Is installing OCaml on a Linux VM with shared folders really installing "on windows", that like saying that windows app are installed "on a Mac" when they need Parallels to run
WSL is a Windows component, so I'd say "yes"? Parallels, instead, is 3rd party software.
Re:Multicore OCaml: May 2021
by hydroxonium on Saturday June 12, 2021 @12:40AM
(#27481584)
I use WSL2 as much as possible. It's great.
https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc