#Building to Native Desktop Applications

1 messages · Page 1 of 1 (latest)

sturdy walrus
#

I'm interested in starting a new pet project using pure Gleam, potentially with bindings to external libraries. I need to to be reasonably fast, and run on as many platforms as possible as a native application. Some things I've explored currently are:

  • Lustre (but I cannot figure out how to deploy as a desktop application)
  • Electron and similar desktop JS runtimes (but I'm concerned about the speed)
  • Tauri (I would need to use Rust, which I'm okay with as a last resort)
  • Bindings to Erlang/Elixir graphics modules like GS, wx, etc. (I would probably have to write most of the binding myself)
    Does anyone have any suggestions or ideas for this? Or maybe some library that I've missed completely?
naive sorrel
#

If you don't need native native, it's quite easy to use Lustre as a progressive web app, which is what I'm doing. It acts native and browsers have lots of APIs to OS things like notifications.

#

Nice thing about a PWA is that it automatically runs on desktop and mobile with no extra effort