bkg icon indicating copy to clipboard operation
bkg copied to clipboard

How is this different with bun build --compile

Open rizrmd opened this issue 2 years ago • 2 comments

Now bun support building to single binary output. How this is different ?

rizrmd avatar Jun 22 '23 07:06 rizrmd

Sayan created bkg when nothing similar was provided on Bun, well before bun compile. What I believe is that it served as a good strategy to inspire Bun maintainers to create such feature.

Of course, only Sayan can better tell us about this :)

paulocoghi avatar Jun 22 '23 09:06 paulocoghi

In my samples as simple as console.log this builder provide more tiny binaries. At least in macOS x86_64.

In other hand I think bun does not support cross compilation at this moment.

I mean, probably at any point this package probably will be deprecated but by the moment provides some good features Bun.compile isn't supporting yet.

gtrabanco avatar Jun 22 '23 10:06 gtrabanco