Easiest lib to use for gui

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/ocaml

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • GitHub repo revery

    :zap: Native, high-performance, cross-platform desktop apps - built with Reason!

    Revery is promising and its way of handling GUIs matches the current trend of using a React-like virtual DOM style. Unfortunately, I found it to be a pain in the ass to actually attempt to install and use because of dependency on esy (which in turn depends on npm and caused nothing bug headaches) though so I haven't been able to actually try using it for anything.

  • GitHub repo Godot

    Godot Engine – Multi-platform 2D and 3D game engine

    For something OCaml-like but more approachable, it'd probably make more sense to try using the Godot game engine with F#. You can build the GUI itself visually, the godot-fsharp-tools plugin lets you piggyback on the C# support to write code in F#, and it's pretty easy to build for different platforms. The learning curve of figuring out how things work and translating it to F# is a bit steep, but can be mitigated by starting with the built-in GDscript and working in F# code where it makes sense as comfort and familiarity increases.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo godot-fsharp-tools

    A Godot Engine plugin to simplify using F# through the C# Mono language.

    For something OCaml-like but more approachable, it'd probably make more sense to try using the Godot game engine with F#. You can build the GUI itself visually, the godot-fsharp-tools plugin lets you piggyback on the C# support to write code in F#, and it's pretty easy to build for different platforms. The learning curve of figuring out how things work and translating it to F# is a bit steep, but can be mitigated by starting with the built-in GDscript and working in F# code where it makes sense as comfort and familiarity increases.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts