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
958 Photos and videos
Rust
39
39
1,866
53,119
Bun retweeted
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.
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!
2
3
49
33,756
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.
6
8
108
14,065
Bun retweeted
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.
bun upgrade --canary
6
4
283
85,164
In the next version of Bun `Buffer.from(str, "hex")` gets 4.8x faster
14
12
484
23,255
In the next version of Bun `Buffer.from(str, "base64url")` gets 41x faster on large input
24
39
1,381
74,764
In the next version of Bun Bun.stringWidth() ๅค„็†ไธญๆ–‡ใ€ๆ—ฅๆ–‡ใ€้Ÿฉๆ–‡ๅญ—็ฌฆ็š„้€Ÿๅบฆๆๅ‡ไบ† 7~56 ๅ€ Bun.stringWidth() ใŒไธญๅ›ฝ่ชžใƒปๆ—ฅๆœฌ่ชžใƒป้Ÿ“ๅ›ฝ่ชžใฎๆ–‡ๅญ—ใง 7ใ€œ56 ๅ€้ซ˜้€ŸๅŒ–ใ•ใ‚Œใพใ—ใŸ Bun.stringWidth()๊ฐ€ ์ค‘๊ตญ์–ดยท์ผ๋ณธ์–ดยทํ•œ๊ตญ์–ด ๋ฌธ์ž์—์„œ 7~56๋ฐฐ ๋นจ๋ผ์กŒ์Šต๋‹ˆ๋‹ค
54
30
820
111,753
๐Ÿค update:
61
48
1,446
339,623
many are saying this
it has recently come to my attention that bun is very good and everyone should use it.
10
3
214
35,144
90
116
2,389
519,984
many such cases
not sure what is ppl's experience with @bunjavascript canary but in our codebase, memory usage is indeed better.
5
1
235
28,482
Bun retweeted
On the "bundle Three.js 10 times with minification & sourcemaps" benchmark, Bun's Rust port is currently 10% faster than the original
30
22
971
133,498
Bun v1.3.14 - Fixes 92 issues, addressing 380 ๐Ÿ‘ - `Bun.Image` - builtin image processing - global virtual store in bun install - HTTP/3 Bun.serve() - HTTP/3 & HTTP/2 fetch() - `node:worker_threads` stability fixes - -17 MB on Windows, -7 MB on Linux bun.com/blog/bun-v1.3.14
34
51
1,193
115,307
In the next version of Bun Bun gets 8 MB smaller on Linux x64
25
24
1,020
174,647
and that is after adding an HTTP3 server, fetch() HTTP3, fetch HTTP2, Bun.Image (including libjpeg-turbo, libspng, libwebp), lsquic
5
243
19,499