Log inSign up
Bun
3,984 posts
Image
user avatar
Bun
@bunjavascript
Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install: `npm i -g bun`
bun.com
Joined July 2022
7
Following
79.8K
Followers
  • Pinned
    user avatar
    Bun
    @bunjavascript
    Dec 2, 2025
    Bun is joining Anthropic!
    Image
    Bun is joining Anthropic
    From bun.com
    4.4M
  • Bun reposted
    user avatar
    Jarred Sumner
    Bun
    @jarredsumner
    Jun 21
    In the next version of Bun `new SourceMap(payload)` & sourcemap decoding gets up to 3x faster
    time	vs Node
bun (this PR)	12 ms	24×
bun (scalar)	38 ms	7.6×
node 24.x	288 ms	1×
    31K
  • Bun reposted
    user avatar
    xjdr
    Noumena
    @_xjdr
    Jun 19
    i 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 work
    user avatar
    Jarred Sumner
    Bun
    @jarredsumner
    Jun 19
    In 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
    Wall time
vs Babel plugin
Baseline ( reactCompiler: false )
391 ms
-
reactCompiler: true
484 ms
19.8x faster
Babel plugin (same input)
9.58 s
1x
    22K
  • Bun reposted
    user avatar
    Jarred Sumner
    Bun
    @jarredsumner
    Jun 19
    In 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
    Wall time
vs Babel plugin
Baseline ( reactCompiler: false )
391 ms
-
reactCompiler: true
484 ms
19.8x faster
Babel plugin (same input)
9.58 s
1x
    132K
  • user avatar
    Bun
    @bunjavascript
    Jun 14
    Image
    We put Bun's Rust rewrite in production on Prisma Compute
    From prisma.io
    89K
  • user avatar
    Bun
    @bunjavascript
    Jun 11
    Rust
    Image
    56K
  • Bun reposted
    user avatar
    Søren Bramer Schmidt
    @sorenbs
    Jun 10
    All 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.
    user avatar
    LD1117 low drop positive voltage regulator
    @aqrln
    Jun 10
    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!
    35K
  • Bun reposted
    user avatar
    praxe 🇲🇦
    @aymane_praxe
    Jun 7
    Hot take after 2 years of Bun in production: the DX is good enough that I'd pick it over Node even for "boring" enterprise work. @bunjavascript + @elysiaJS + @DrizzleORM is the most fun I've had shipping backend in years.
    15K
  • Bun reposted
    user avatar
    Jaid
    @Jaidcel
    May 27
    Heartbreaking: I’ve been using it intensively for a few hours now and I can’t find anything wrong with the viberewritten version. It’s smaller, faster, retains 100% feature parity and didn’t crash once, also no other unexpected behavior at any point.
    Image
    user avatar
    Jarred Sumner
    Bun
    @jarredsumner
    May 17
    Replying to @nathanv246 @voidtalker and @LukasHozda
    bun upgrade --canary
    86K
  • user avatar
    Bun
    @bunjavascript
    May 26
    In the next version of Bun `Buffer.from(str, "hex")` gets 4.8x faster
    bun v1.4.0
// str: 1 MIB
Buffer. from(str, "hex")
4.8× faster
than Bun 1.3.14
Bun 1.4.0
116.2 uS
Node.js 25.2.1
Bun 1.3.14
also: buf write(str, "hex") into an existing Buffer - 105.5 us, vs 544.6 us in Node.js (5.2× faster)
mitata • Apple M4 Max • Node.js 25.2.1
552.2
553.5 us
lower is better
    24K
  • user avatar
    Bun
    @bunjavascript
    May 26
    In the next version of Bun `Buffer.from(str, "base64url")` gets 41x faster on large input
    bun v1.4.0
// str: 1 Mib
Buffer. from(str,
"base64url")
41× faster
than Bun 1.3.14
Bun 1.4.0
80.95 uS
Bun 1.3.14
also: same string through "base64" - 98.66 uS, vs 326.11 us in Node.js (3.3x faster)
thanks to Daniel Lemire's simdutf • mitata • Apple M4 Max
3,320 us
lower is better
    75K
  • user avatar
    Bun
    @bunjavascript
    May 25
    In the next version of Bun Bun.stringWidth() 处理中文、日文、韩文字符的速度提升了 7~56 倍 Bun.stringWidth() が中国語・日本語・韓国語の文字で 7〜56 倍高速化されました Bun.stringWidth()가 중국어·일본어·한국어 문자에서 7~56배 빨라졌습니다
    ❯ bun string-width.mjs
clk: ~3.82 GHz
cpu: Apple M4 Max
runtime: bun 1.4.0 (arm64-darwin)

benchmark                   avg (min … max) p75   p99    (min … top 1%)
------------------------------------------- -------------------------------
Bun.stringWidth - cjk      7  19.17 ns/iter  19.87 ns       █
                      (17.12 ns … 26.40 ns)  21.05 ns ▁▁▁▁▂▁█▃█▁▂█▄▂▆▅▂▅▂▁▁
Bun.stringWidth - cjk     70  30.67 ns/iter  31.01 ns            █ ▃
                      (26.32 ns … 58.46 ns)  33.44 ns ▁▁▁▁▁▁▁▁▁▂▆█▆█▄▅▁▂▁▁▁
Bun.stringWidth - cjk    700 243.57 ns/iter 246.04 ns                   █
                    (216.38 ns … 256.17 ns) 249.29 ns ▁▁▁▁▁▁▁▁▁▁▁▁▂▁▁▂▄▂█▂▁
Bun.stringWidth - cjk  7,000   2.42 µs/iter   2.43 µs                    █
                        (2.38 µs … 2.44 µs)   2.43 µs ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█▄
Bun.stringWidth - cjk 35,000  12.12 µs/iter  12.13 µs             █
                      (12.08 µs … 12.16 µs)  12.14 µs █▁▁▁▁▁▁▁▁▁▁▁██▁██▁▁██

bun/bench/snippets on  main [$!
    112K
  • user avatar
    Bun
    @bunjavascript
    May 23
    🤏 update:
    Bun in Rust
Even smaller.
Linux x64
-18.7 MB
21% smaller
88.5 →
69.8 MB
All 6 Linux targets • another -12.0 MB on average since the previous Rust build
    Bun
Smaller in Rust.
macOS arm64
Linux x64
Windows x64
-5.5MB - 6.8MB -3.8MB
9% smaller
8% smaller
4% smaller
60.2 → 54.7 MB
88.5 → 81.7 MB
93.9 → 90.1 MB
All 12 targets • average - 6.7 MB • up to - 11.5 MB on macOS x64
    user avatar
    Bun
    @bunjavascript
    May 18
    340K

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
Advertisement
Advertisement