News for hackers. Stuff that matters.
Re:My first experience with Gleam Language by windlep on Saturday August 31, 2024 @09:46PM (#41413539)
The mix package manger for Elixir has a release option which compiles and bundles everything to a single binary. It appears possible to use Gleam libraries/code with mix, which should allow one to compile it all down to a single binary as well (though I haven't attempted this myself).
Re:My first experience with Gleam Language by karmajunkie on Saturday August 31, 2024 @10:21PM (#41413697)
notably though, a release isn’t itself runnable in the same way a go binary artifact is, for example. there are a couple of projects like burrito that create runnable artifacts but in my (limited) experience with them they can be a little finicky.
Re:My first experience with Gleam Language by pmarreck on Monday September 02, 2024 @01:28PM (#41427232)
I don't think that's true, or at least, I'd be surprised that I've never heard of it; it's my understanding that due to the multilayered nature of running Elixir, this is actually difficult to do. I know about Burrito, but that's not the same thing.