Easiest lib to use for gui

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • 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.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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