bun build ./cli.ts --compile --outfile mycli
https://bun.com/docs/bundler/executables
Also stating that Bun has no hot reload is just wrong:
https://bun.com/docs/guides/http/hot
A lot of the claims in the comparison table are highly debatable to put it gently.
"Pure JavaScript developer experience" with yes for Titan and node but no for Bun? If anything Titan's JS support is lagging behind for using Boa.
"Rust-level performance" with yes for Titan and no for all others. But it uses a slow JS engine called Boa. Slower than node and much slower than Bun.
https://bun.com/docs/bundler/executables
Also stating that Bun has no hot reload is just wrong:
https://bun.com/docs/guides/http/hot
A lot of the claims in the comparison table are highly debatable to put it gently.
"Pure JavaScript developer experience" with yes for Titan and node but no for Bun? If anything Titan's JS support is lagging behind for using Boa.
"Rust-level performance" with yes for Titan and no for all others. But it uses a slow JS engine called Boa. Slower than node and much slower than Bun.