building @bunjavascript at @anthropicai. formerly: @stripe (twice) @thielfellowship. high school dropout. npm i -g bun

San Francisco, CA
People frequently ask: > How is Bun sustainable? If I bet my company’s tech stack on Bun, will Bun still be around in a few years? We didn’t have a great answer to this question, until today
266
143
4,733
1,356,380
Jarred Sumner retweeted
Today, Bun is a JavaScript runtime, bundler, test runner, and a package manager. Soon, Bun will also be a
201
29
957
77,920
An early preview of experimental Bun + JSC with ahead-of-time compilation For Claude Code's CLI: 24% faster startup, 48% lower memory, 46% lower CPU, and nearly 2x larger binary size
69
62
1,300
84,512
There are a lot of optimizations that aren’t implemented yet. I want the binary size growth to go down a lot more (it started at 1 GB). It needs to support sized types like uint32_t and propagate more detailed types. There’s no separate checker to run and no diagnostics
3
50
6,103
AoT uses Bun’s bundler & parser to parse typescript, tags types to JavaScriptCore via a typecheck bytecode intrinsic, and compiles the bytecode to machine code via B3 (what JSC’s JITs use) This keeps the JavaScriptCore changes well-contained, so that syncing with upstream WebKit isn’t complicated
1
56
5,672
Garbage collector scheduling adjustments make Bun v1.4.3 use significantly less idle CPU, slightly reduce memory, and are performance ~neutral at throughput
In the next version of Bun Idle CPU usage drops by 67%
14
11
667
34,943
sounds like a Bun 2.0
JavaScript was never designed for the server. If that doesn't change soon, JavaScript on the server will be replaced by Rust. The fix needs to happen in the engine. Sound types. Ahead-of-time compilation. Threads with shared objects.
70
21
1,344
140,385
to be clear, if we do add this we would only add it in a backwards compatible way. just like the rest of bun, compatible with the existing ecosystem from the start.
10
183
11,853
JavaScript was never designed for the server. If that doesn't change soon, JavaScript on the server will be replaced by Rust. The fix needs to happen in the engine. Sound types. Ahead-of-time compilation. Threads with shared objects.
"I love Rust! Rust is amazing ...if you never, ever, EVER have to look at it yourself." — @dhh
303
163
3,850
906,850
JavaScript has been through this before. In 2011, Google set out to replace JavaScript with Dart, arguing JavaScript couldn't be fixed by evolving it. Then ES2015 shipped. It's time to do that again.
13
8
575
46,650
JavaScript engines like JavaScriptCore and V8 have some of the best compiler tech in the world. An open question: with sound types, ahead-of-time compilation for statically typed code, and JITs for everything else, can JavaScript be competitive with Rust and C?
60
5
711
40,280
Opus 5.5 is a very good model and I expect it will quickly become the daily driver for a lot of people. The writing style is so much better. It writes like Opus 4.6 and codes like Fable 5.1.
Introducing Claude Opus 5.5, the first model in our new Claude 5.5 family. It performs at the level of Claude Fable 5.1 for most tasks, and costs 40% less to run than Opus 5.
39
34
1,487
59,512
Bun v1.4.3 ships on Monday
27
5
386
20,990
In the next version of Bun `Bun.FetchSession` gives you a `fetch` function with its own keepalive connection pool
23
19
628
45,942
PHP got one thing right JavaScript never had In next week’s version of Bun
84
35
1,500
213,867
Claude Code's idle memory dropped 14% on Linux with Bun v1.4.1
23
5
523
23,264
Excited to see everyone tomorrow! We’re at capacity with 130+ on the waitlist, so if you can’t make it please mark “can’t go” on Partiful so someone else can grab your spot
We're throwing a party in SF for Bun v1.4 on September 9th. If you use Bun (or want to), come hang out partiful.com/e/GJtQ5hI0PaNDy…
3
2
129
22,366