Follow

real world ocaml (-) 

I really want to use real world ocaml to learn, but... because the library they use isn't compatible with windows, I'm hesitant - not because I use windows, but because I might want to make an executable for windows someday

real world ocaml (-) 

@lizardsquid where is the problem? Maybe it could be ported somehow?

real world ocaml (-) 

@saper none of the development tools recommended by the book, or the core library (literally a replacement for the standard library) work on windows

real world ocaml (-) 

@lizardsquid oh I see that even package manager does not work. Probably you'd be better off to use a virtual machine or some other computer (like a BSD/Linux/whatever box via ssh or something)

real world ocaml (-) 

@saper the problem is not that I want to use windows for development, but rather that I might want to distribute an ocaml app for windows in the future

real world ocaml (-) 

@lizardsquid What I see it is mostly packaging stuff and IDE that is not running on Windows. I would try to set up a cross-compiler so that you can build Windows native .EXEs on UNIX.

github.com/waneck/cross-ocaml might something in this direction.

I was using mingw32 to create native EXE binaries for one of my #Forth projects and it worked very well.

real world ocaml (-) 

@lizardsquid This is, historically, a terrible reason not to use something you like. You can always find a way to get it running in a windows environment.

real world ocaml (-) 

@Fumon the problem is that the standard library would be completely different, so I'd rather learn with a tutorial using a standard library that supports all platforms

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!