Packaging a Gleam app into a single executable
19 points by pushcx
19 points by pushcx
Bun compile is amazing. I’ve used it for a couple of projects now. Even just to share with friends for testing.
Loosely related, if you don't mind me asking, how would you evaluate less mature projects like Bun for use? I've seen a few companies using it. More famously, Anthropic acquired the startup making Bun.
But at the same time, if I look at the issue tracker, I currently see 4.8K open issues, with (as one example) "segmentation fault" returning a hit for 333 open issues, and 2070 closed issues. At a previous job, I think people did run into segfaults in some cases, but I don't remember the details.
I found a way to get bun to run off the stack and execute arbitrary data as code just by looking at a javascript file, it didn’t even get to the point of trying to run it. That issue is still open with no sign of resolution. That told me enough to move away from using it.