bkg

Package Bun apps into a single executable

Downloads
3
Stars
291
Committers
3

Bot releases are hidden (Show)

bkg - v0.0.4 Latest Release

Published by theseyan almost 2 years ago

Features implemented since v0.0.3:

  • Experimental Link-Time Optimizations (LTO) mode: shrink executable size and reduce startup time drastically by bundling & minifying at compile time. Enable with --lto.
  • Faster compile times: directly stream archive buffer to LZ4, without touching the filesystem
  • Upgraded project to Zig stage2 master, compiled with -Drelease-safe
  • Runtime debug logs can be enabled with --debug flag

Bug fixes:

  • Fix error: RenameAcrossMountPoints when output path and /tmp are on different filesystems
  • Fix buffer overflow panic in compiler by implementing custom write callback for microtar
  • Fix panic: access of inactive union field during optimization pass
  • Fix unreachable code scenario when bOptimizer reports warnings
  • Fix panic when CRC32 returns hash of length < 10 characters
bkg - v0.0.3

Published by theseyan almost 2 years ago

Features implemented since v0.0.2:

  • Multithreaded extraction (for cold starts), improving first-time startup performance by ~30x on a 12 threads CPU
  • Add --baseline flag to force usage of Bun's non-AVX2 baseline builds (for greater compatibility with old hardware)
  • Fixed multiple bugs and cleaned up code
bkg - v0.0.2

Published by theseyan about 2 years ago

Canary release. Features implemented since v0.0.1:

  • Use zfetch instead of cURL
  • JSON configuration file
  • Pass CLI args to javascript
  • Named app directory containing the CRC32 hash of project sources
bkg - v0.0.1

Published by theseyan about 2 years ago

This release is only for serving the initial runtime binaries. NOT ready for production.

Package Rankings
Top 23.43% on Npmjs.org