Does anyone use SML or OCaml to build a real-world GUI?

After looking at some of the graphic projects of OCaml projects, it seems that no one is using it to create a GUI.

  • why?
  • Are there any modern alternatives to obsolete libraries?
+4
source share
3 answers

My colleagues and I use OCaml to create the iOS apps we sell. Everything is encoded in OCaml, including a graphical interface. However, making OCaml fully linked to Cocoa Touch will be a very big task, so we will focus on creating the parts we need. It is definitely possible (and really nice) to use OCaml to create real GUIs, but it will take some serious support or quite a lot of community effort to get a really comfortable environment. (If you are interested in our efforts, follow the link in my profile.)

+3
source

I don’t think you will find the latest GUI bindings on the old OCaml website. As a rule, you should consider everything that is not accessible through OPAM as obsolete. The most “mature” and “wall-bound” bindings for OCaml, apparently LablGtk, are found here: http://lablgtk.forge.ocamlcore.org/

+1
source

Many people today believe that the only GUI library that is not outdated is the Internet. Regardless of your position on this issue, it is good to know that the web is a portable alternative to the traditional graphical interface, and that there are very serious libraries and tools available for working on the Internet with OCaml (from Ocsigen to Ocamlnet).

+1
source

All Articles