brisk icon indicating copy to clipboard operation
brisk copied to clipboard

Possible strategy for Windows development ?

Open harsh-vardhhan opened this issue 7 years ago • 6 comments

Is there is any roadmap for Windows desktop development? Since there is no content for WPF development in C, not possible to reuse the cocoa binding concept.

the one possibility I see is ReasonML <==> C <==> C#. Since majority of WPF development community is on c#.

harsh-vardhhan avatar Sep 28 '18 05:09 harsh-vardhhan

Tbh, I have no idea about the current state of Windows environment. I thought there was win32 api?

rauanmayemir avatar Sep 28 '18 08:09 rauanmayemir

Yeah my approach seems to be overcomplicated. Win32 using C seems approachable. I'll give it a try and see.

harsh-vardhhan avatar Sep 28 '18 08:09 harsh-vardhhan

I suggest we bind to the “most modern“ API so that we have full api surface in our hands in the future. I just noticed https://github.com/LexiFi/csml/blob/master/README.md. Maybe it’s also possible to bind directly to C sharp? I’d do some research. There are quite a few OCaml on windows users. You might want to ping people from opam-cross-windows repo.

wokalski avatar Sep 28 '18 08:09 wokalski

Looks like a good possible solution. They have a really neat mapping between OCaml <==> C#.

harsh-vardhhan avatar Sep 28 '18 09:09 harsh-vardhhan

@wokalski can you try running the getting_started example. I tried but facing this issue when running the make file

$ make
\../../src/csml.exe getting_started.csml
make: ../../src/csml.exe: Command not found
make: *** [../../Makefile.examples:50: build_addin_byt] Error 127

The project doesn't seem to have any active contributor to help.

harsh-vardhhan avatar Sep 28 '18 12:09 harsh-vardhhan

It seems like you need to run make in src first. Sorry for the delayed responses but I’m on a vacay. I’d also ask on discuss OCaml. A lot of folks are hanging out there.

wokalski avatar Sep 28 '18 12:09 wokalski