Pinned
Bun
3,993 posts
Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`
Joined July 2022
- Bun repostedIn the next version of Bun bun install & bun's bundler get a new SIMD-optimized JSON parser In ideal conditions: package installs get up to 40% faster & peak memory usage drops by 2x
- many are saying thisReplying to @jarredsumner @saltjsx and @bunjavascriptbun is so fast the anti-cheat software had to stop it
- In the next version of Bun The `"compress"` option in `fetch` compresses the request body for you
- In the next version of Bun `process` emits a "memoryPressure" event when the system runs low on memory (thanks @codebytere!)
- Bun repostedIn the next version of Bun `new SourceMap(payload)` & sourcemap decoding gets up to 3x faster
- Bun repostedi gotta say, i switched to bun for everything and its been really nice. very impressive work all around and am looking forward to trying this out . as someone relatively new to the frontend world, this is a set of tools that just seem to workIn the next version of Bun `bun build --react-compiler` runs the React Compiler in Rust On a large React codebase, it's 19x faster than the Babel plugin
- Bun repostedIn the next version of Bun `bun build --react-compiler` runs the React Compiler in Rust On a large React codebase, it's 19x faster than the Babel plugin
- Bun repostedAll developers and agents deserve a powerful runtime 🎉 We put the @bunjavascript @rustlang rewrite in production and are super excited for the future of the project.enough with the tyranny of V8 isolates, everyone now gets a real x86_64 VM but without cold starts and with serverless DX, ergonomics and economics (except cheaper than the competition) blog posts incoming!




![❯ NPM_CONFIG_REGISTRY=http://127.0.0.1:4873/ hyperfine "bun install --ignore-scripts --no-cache" "bun-1.3.14 install --ignore-scripts --no-cache" --warmup=2 --prepare="rm -f bun.lock"
Benchmark 1: bun install --ignore-scripts --no-cache
Time (mean ± σ): 221.4 ms ± 5.9 ms [User: 549.8 ms, System: 136.6 ms]
Range (min … max): 212.4 ms … 232.3 ms 11 runs
Benchmark 2: bun-1.3.14 install --ignore-scripts --no-cache
Time (mean ± σ): 328.1 ms ± 6.5 ms [User: 1135.1 ms, System: 202.7 ms]
Range (min … max): 319.8 ms … 335.5 ms 10 runs
Summary
bun install --ignore-scripts --no-cache ran
1.48 ± 0.05 times faster than bun-1.3.14 install --ignore-scripts --no-cache](/page-https-pbs.twimg.com/media/HMBTutYasAAwOKV.jpg)











