Hacker News

Packaging a Gleam app into a single executable

64 points by todsacerdoti ago | 4 comments

sltr |next [-]

I did it with Tauri. ~14MB Windows, macOS, and Linux exe, browser app, iOS, and Android.

https://code.slater.dev/doug/praylist/

mmcclure |next |previous [-]

This is an interesting writeup, albeit not quite what I was hoping for. I love Elixir and have been following Gleam for a while now, so I clicked through hoping this was talking about Gleam baking this into their ecosystem a bit better. I was a little disappointed to see it's ultimately talking about how to build a Gleam project and then use the resulting build ecosystem to create a binary (Gleam -> JS -> JS build tool, or Gleam -> escript -> elixir-burrito).

It would have been interesting to see some high level commentary from the author on the results of each one on top of the general workflow. Build time, binary size, startup time, whatever.

lerp-io |next |previous [-]

bUn Is NoT "FaSTeR" tHan NoDe #5732368444

tbeseda |previous [-]

ratio of upvotes to comments is oddly high...