Bun (@bunjavascript) header
Bun (@bunjavascript) profile picture

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
Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)Photo by Bun (@bunjavascript)
ここまで速いなら右クリックのzip化のロジックにbun入れた方がいいんじゃ…
In the next version of Bun Bun.Archive supports zip files. Zipping 103,173 files: bun: 310ms 7z: 6,460ms (21x slower) zip: 7,530ms (24x slower)
1
7
633
In the next version of Bun Bun.Archive supports zip files. Zipping 103,173 files: bun: 310ms 7z: 6,460ms (21x slower) zip: 7,530ms (24x slower)
27
21
9
648
22,839
Why it's fast: - Bun's deflate compressor is extremely fast - Deflate is chunked on multiple threads
1
49
2,832
In the next version of Bun, async functions compile to smaller bytecode. JavaScriptCore used to save and restore each local variable separately around every await. Now it takes one instruction to save them all and one to restore them.
5
11
1
245
8,685
In the next version of Bun Compression gets faster. Brotli at level 11: 32x faster gzip: 5.7x faster zstd: 2.3x faster
41
25
2
998
38,149
In the next version of Bun Decompression gets faster. gzip: 3.3x zstd: 2.4x brotli: 2.3x
19
9
1
391
16,250
holy dolap find
43
194
18
3,287
54,414
im in this photo and i don’t like it
16
11
5
437
9,300
pt. 2 puppeteer → bun vite → bun express → bun ws → bun bcrypt → bun node-cron → bun node-pty → bun marked → bun js-yaml → bun fast-glob → bun execa → bun tar → bun pkg → bun tsup → bun diff → bun
eslint → bun prettier → bun tsc → bun jest / vitest → bun esbuild → bun pnpm → bun tsx / ts-node → bun nodemon → bun ioredis → bun pg → bun mysql2 → bun better-sqlite3 → bun aws-sdk/client-s3 → bun sharp → bun dotenv → bun
17
8
6
284
17,463
eslint → bun prettier → bun tsc → bun jest / vitest → bun esbuild → bun pnpm → bun tsx / ts-node → bun nodemon → bun ioredis → bun pg → bun mysql2 → bun better-sqlite3 → bun aws-sdk/client-s3 → bun sharp → bun dotenv → bun
119
76
39
1,437
111,979
eslint → bun prettier → bun tsc → bun jest / vitest → bun esbuild → bun pnpm → bun tsx / ts-node → bun nodemon → bun ioredis → bun pg → bun mysql2 → bun better-sqlite3 → bun aws-sdk/client-s3 → bun sharp → bun dotenv → bun
119
76
39
1,437
111,979
BTW @zeddotdev works in your browser tab now!
9
10
5
274
19,471
Well you can have Bun in unkernel now. or... (spoiler)
2
609
In the next version of Bun `Bun.diff` diffs text & arrays, and creates, parses & applies patches
27
11
6
464
19,779
Our full CI pipeline is now sub 1 min. Here is what I did: - Vitest -> bun test - tsc -> bun check - oxlint -> bun lint - oxfmt -> bun fmt - shards filled by recorded test time - PRs run only the tests the diff can reach - backend builds the app once per process - lint, typecheck, build and tests all in parallel 200+ hours of waiting saved every week
145
77
30
3,001
333,606
In the next version of Bun bun check gets 1.5x faster on small projects
10
11
2
348
14,034
In the next version of Bun bun lint gets 1.4x faster
10
6
1
279
11,453
In the next version of Bun bun fmt gets up to 2x faster in CI
7
11
2
439
15,066
these rex icons are 🤌🏻
17
5
411
15,011
Replying to @bunjavascript
@bunjavascript Yeah so your new linters are fucking insane. Thanks for the free performance LMAO
4
3
126
8,810
What a privilege it is to work your dream job😭 Let’s kill it today! Hopefully I fix my posture soon
6
43
2,052
The @bunjavascript team implemented both import defer and using in JavaScriptCore, and they've shipped in Safari 27.3 Beta! 🎉 developer.apple.com/document…
27
301
14,440