Re:
by babarot on Wednesday March 18, 2026 @10:53AM
(#47426547)
The binary size is my main hesitation with Bun-based CLIs too. For comparison, a typical Go CLI with cobra compiles to ~10MB statically linked, and you get cross-compilation for free. The plugin system and compile-time validation here are genuinely nice though — Go's CLI ecosystem doesn't have anything equivalent to that.
[ Parent
| on HN ]
Re:
by derodero24 on Thursday March 19, 2026 @06:38AM
(#47437238)
Yeah exactly. Go's ~10MB binaries with dead-simple cross-compilation is tough to compete with. I think Bun makes more sense for internal tools where you control the install and care more about the plugin ecosystem than distribution size.