3 ms·
I love ML based languages, but it's definitely hard to get excited about new features when even just installing ocaml on windows starts with reading a chart of
by hyperhopper 5y ago
I love ML based languages, but it's definitely hard to get excited about new features when even just installing ocaml on windows starts with reading a chart of what tradeoffs you're going to have to make.
https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc
- x0re4x 5y agoTry F#. It's not exactly ocaml, but close enough if you want to stay on windows.
- Scarbutt 5y agoOr Scala3
- rejectedandsad 5y agoI’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.
- hyperhopper 5y agoI 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.
- phillipcarter 5y agoWhich 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.
- vrotaru 5y agoWell, installing OCaml from sources was always considered the hard way. Now there is https://fdopen.github.io/opam-repository-mingw/installation/ 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.
- heavyset_go 5y agoAre binaries compiled with Cygwin Ocaml portable? As in, can they be distributed to other Windows systems that don't have Cygwin installed?
- vrotaru 5y agoThe 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.
- heavyset_go 5y agoCool, thanks.
- solmag 5y agoI use WSL2 with Ocaml, works fine.
- hydroxonium 5y agoI use WSL2 as much as possible. It's great.
- jcelerier 5y agoIs 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
- lou1306 5y agoWSL is a Windows component, so I'd say "yes"? Parallels, instead, is 3rd party software.