@bunjavascript Yeah so your new linters are fucking insane. Thanks for the free performance LMAO
Bun (software)
Bun is a JavaScript runtime, package manager and test runner designed as a drop-in replacement for Node.js. Bun uses Safari's JavaScriptCore as its JavaScript engine, unlike Node.js and Deno, which run on the V8 engine used by Chromium. More on Wikipedia
-
Bun reposted
Aykut Akgün | Autumnlight @AutumnLight20
-
Bun
@bunjavascript
1.5 is going to be bigger than 1.4
-
Bun
@bunjavascript
Last month, Bun crossed 50 million monthly downloads
Bun
@bunjavascript
this excludes single file binaries that use Bun
-
Bun
@bunjavascript
many people saying this
SaltyAom
@saltyAom
Bun AOT means "Attack on Titan" mode
-
Bun
@bunjavascript
In the next version of Bun
import.meta.glob -
Bun
@bunjavascript
In the next version of Bun
bun test gets improved Vitest compatibility, including: DOM environments, automocking, vi.mock hoisting, and async fake timers
Bun
@bunjavascript
Also: test.extend, vi.hoisted, importOriginal, vi.importActual, vi.doMock, vi.stubEnv, vi.stubGlobal, vi.waitFor, vi.mocked, vi.resetModules, expect.poll, expect.soft, test.for, test.fails, onTestFinished, toMatchFileSnapshot
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun AoT in an Express node:sqlite REST API
40% less memory
14% lower cpu
No JIT warmup -
Bun
@bunjavascript
Security incidents across open-source aren't showing signs of slowing down
The Bun team is dedicating a higher % of our time to security work for the foreseeable future -
Bun reposted
Trigger.dev
@triggerdotdev
We upgraded our Bun runtime to Bun 1.4 and took Node.js out of the image entirely.
Memory per container dropped 41%, cold starts are 18% faster and the image is 25% smaller.
@jarredsumner and the @bunjavascript team are still cooking.
tgr.dev/uv7Lfki -
Bun reposted
Guillermo Rauch
@rauchg
$ 𝚊𝚕𝚒𝚊𝚜 𝚗𝚘𝚠=𝚟𝚎𝚛𝚌𝚎𝚕
$ 𝚌𝚊𝚝 >𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 <<'𝙴𝙾𝙵'
𝙵𝚁𝙾𝙼 𝚘𝚟𝚎𝚗/𝚋𝚞𝚗:𝚊𝚕𝚙𝚒𝚗𝚎
𝙲𝙼𝙳 ["𝚋𝚞𝚗","-𝚎","𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎({𝚙𝚘𝚛𝚝:𝟾𝟶,𝚏𝚎𝚝𝚌𝚑:()=>𝚗𝚎𝚠 𝚁𝚎𝚜𝚙𝚘𝚗𝚜𝚎('𝚠𝚎 𝚊𝚛𝚎 𝚜𝚘 𝚋𝚊𝚌𝚔')})"]
𝙴𝙾𝙵
$ 𝚗𝚘𝚠
> Ready: bun-dockerfile.vercel.app
Vercel Developers
@vercel_dev
Your plain 𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 now deploys on Vercel.
Add a 𝙳𝚘𝚌𝚔𝚎𝚛𝚏𝚒𝚕𝚎 or 𝙲𝚘𝚗𝚝𝚊𝚒𝚗𝚎𝚛𝚏𝚒𝚕𝚎 at your root, then Vercel selects the Container preset, builds it, and routes traffic to the image.
vercel.com/changelog/deploy-a-container-from-a-plain-dock… -
Bun
@bunjavascript
claude.ai switched from oxfmt to bun fmt
Formatting in CI got 1.7x faster -
Bun
@bunjavascript
claude.ai switched from `oxlint` to `bun lint`
ci got 22s faster -
Bun
@bunjavascript
Last week, we published 3 security advisories including Brotli, tls certificates, and quic
As future hardening, we will replace most of Bun’s C/C++ dependencies with our own safe Rust implementation.
Starting with libarchive
github.com/oven-sh/bun/pull/46638
Bun
@bunjavascript
HdrHistogram is another
github.com/oven-sh/bun/pull/46650
Bun
@bunjavascript
We expect to replace more, excluding WebKit/JavaScriptCore, BoringSSL, and lsquic.
There’s still: turbojpeg, libpng, zlib-ng, libdeflate, brotli, zstd, and several more. -
Bun
@bunjavascript
claude.ai switched from TypeScript 7 to `bun check`
type-checking got 69s faster
Bun
@bunjavascript
and uses 5x less memory
-
Bun reposted
Peter Steinberger
@steipete
I spent some time on the weekend to test bun's AOT compiler and results are nothing short of amazing. Performance up 2-3x, memory use less than half.
Jarred Sumner
@jarredsumner
Bun AOT also introduces `--trim` which deletes unused parts of Bun from the compiled binary
On macOS, a binary that uses Bun.serve’s HTTP server goes from 89 MB to 25 MB -
Bun
@bunjavascript
We published three security advisories for Bun 1.4.3 and earlier: compromised eMudhra certificates, the brotli decoder bug (HTTP2Shell), and the HTTP/3 "Header Accordions" attack.
These are all fixed in Bun 1.4.4. Please upgrade, and rebuild anything made with `bun build --compile`
$ bun upgrade
github.com/oven-sh/bun/security/advisories -
Bun reposted
Jarred Sumner
@jarredsumner
Merging Bun AOT next week, then testing on Claude Code
Expecting 2-3x less memory + CPU & a slightly smaller binary
This is the future of server-side JavaScript
Instead of you rewriting in Rust, we rewrote JavaScript's compiler to emit native code ahead of time
Jarred Sumner
@jarredsumner
4th attempt at Bun AOT. Code quality & design is better. Perf is nearly there. Most importantly though
It’s just TypeScript. Disregard everything I said last week about `as` casts changing runtime behavior and function arguments throwing. None of that is necessary. -
Bun reposted
Jacob 'kurtextrem' Groß
@kurtextrem
Bun's now leading the TypeScript checker race!
As always, in @framer's monorepo:
🏆 bun check: 2.42s, 2.0 GB | v1.4.4
🥈 tsrs: 2.50s, 2.6 GB | v0.18
🥉 tsc-ts: 5.9s, 5.3 GB | v0.6
TS 7.1 beta: 13.9s, 8.1 GB
Bun
@bunjavascript
Bun v1.4.4
- Fixes 271 issues, addressing 544 👍
- `bun fmt` is a fast Prettier-compatible code formatter
- `bun check` gets 1.4x - 7.8x faster
- New in Bun.SQL & WebSocket
- Security fixes, including for Brotli, TLS certs, HTTP/3, and more
bun.com/blog/bun-v1.4.4 -
Bun
@bunjavascript
Bun v1.4.4
- Fixes 271 issues, addressing 544 👍
- `bun fmt` is a fast Prettier-compatible code formatter
- `bun check` gets 1.4x - 7.8x faster
- New in Bun.SQL & WebSocket
- Security fixes, including for Brotli, TLS certs, HTTP/3, and more
bun.com/blog/bun-v1.4.4
Bun
@bunjavascript
We needed to get this release out tonight , so we couldn't include `bun lint` yet.
bun lint is available via `bun upgrade --canary` though -
Bun
@bunjavascript
Bun v1.4.4 is compiling
-
Bun
@bunjavascript
Bun v1.4.4 will be released this evening with a fix for this and for the Brotli issue.
Both fetch() and Bun.serve() did not and continue to not enable HTTP/3 by default.
John Althouse
@4A4133
Sorry everyone... We're announcing a 0-Day vuln in QUIC that allows anyone to remotely turn off a server running these libraries. I swear we didn't plan this.
foxio.io/blog/header-accordions-qpack-amplification-attac… -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
bun check gets 1.7x - 7x faster -
Bun
@bunjavascript
In the next version of Bun
`bun lint --staged` is a builtin alternative to lint-staged -
Bun
@bunjavascript
In the next version of Bun
bun lint is a 26x faster ESLint-compatible linter with over 1,000 builtin rules - reads eslint & oxlint configs.Post not available here, view on X
Bun
@bunjavascript
You can see the complete list of over 1,000 builtin lint rules here
bun.com/docs/lint/rules
Bun
@bunjavascript
bun lint builds on top of:
- TypeScript’s parser and type checker, ported to Rust
- Lint rules ported from oxlint: unicorn, jest, vitest, jsx-a11y, next and promise
- Lint rules ported from ESLint, typescript-eslint, eslint-plugin-react, -import and -react-hooks
Big thanks to those projects! -
Bun reposted
Makisuo
@makisuo
Moved an important API from Node → @bunjavascript
Latency
p50: −25%
p95: −60%
p99: −80%
Resources
Memory: −63%
CPU: −25% -
Bun
@bunjavascript
In the next version of Bun
`bun fmt` is a 320x faster Prettier alternative
Passes 99% of Prettier's test suite & supports 20 languages
Bun
@bunjavascript
Around 47k of the formatter's ~100k lines are based on Oxc's formatter (and Biome's, since Oxc's was based on Biome's), and it's tested against Prettier's own test suite. Big thanks to those projects!
-
Bun
@bunjavascript
what should the subcommand be for bun’s formatter
-
Bun
@bunjavascript
Bun v1.4.3
- Fixes 166 issues (addressing 122 👍)
- `bun check`: fast TypeScript type-checker builtin to Bun
- 67% lower idle CPU in servers
- `Bun.FetchSession`
- Faster JSON.parse
- Node.js compatibility fixes & lots of bugfixes
bun.com/blog/bun-v1.4.3 -
Bun
@bunjavascript
Bun v1.4.3 is compiling
-
Bun
@bunjavascript
Some of the language changes when TypeScript types become real (with ahead-of-time compilation)
Post not available here, view on X
Bun
@bunjavascript
Bun
@bunjavascript
-
Bun
@bunjavascript
-
Bun
@bunjavascript
Bun v1.5 ships on Wednesday
-
Bun
@bunjavascript
In the next version of Bun
`bun --check <file.ts>` runs Bun’s typescript type checker before running the filePost not available here, view on X
Bun
@bunjavascript
`bun build --check` runs the type checker before you bundle
Bun
@bunjavascript
Claude automatically gets XML formatted type errors which sometimes reduces the number of tool calls needed to fix the error (due to the source preview), reducing token usage
-
Bun
@bunjavascript
bun check type-checker errors print with GitHub actions formatting on PRs
-
Bun
@bunjavascript
bun check ./slopcore.ts
This media couldn't be displayed. See it on the original post. -
Bun
@bunjavascript
In the next version of Bun
`bun check` is a TypeScript type checker builtin to Bun (written in Rust)
Bun
@bunjavascript
This will be part of the Bub v1.4.3 release, and you can try it right now via `bun upgrade --canary`
-
Bun
@bunjavascript
Today, Bun is a JavaScript runtime, bundler, test runner, and a package manager.
Soon, Bun will also be a -
Bun reposted
Jarred Sumner
@jarredsumner
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 -
Bun
@bunjavascript
In the next version of Bun
Idle CPU usage drops by 67% -
Bun
@bunjavascript
In the next version of Bun
Enabling profile-guided optimization for bytecode improves startup time by up to 2x
`bun build --compile --bytecode --bytecode-order=./file`This media couldn't be displayed. See it on the original post.
Bun
@bunjavascript
See the "profile guided bytecode layout" section of the docs
bun.com/docs/bundler/executables -
Bun
@bunjavascript
VIA QUOTE POST
PRIVILEGED & CONFIDENTIAL
FOR SETTLEMENT PURPOSES ONLY (FED. R. EVID. 408)
September 22, 2026
Mr. Alexandr Wang
@alexandr_wang
Re: Unauthorized Use of the BUN® Design Mark, U.S. Reg. No. 7,585,721; Proposed “Muse Merch Store”; Demand to Cease and Desist; Notice of Litigation Hold
Mr. Wang:
Bun (“Bun,” “Registrant,” or “the Bun”) is the owner of all right, title, and interest in and to U.S. Registration No. 7,585,721, issued December 3, 2024 on the Principal Register, for a mark consisting of “a bread bun with a smiling face,” wherein “the bun has black and white eyes,” “pink cheeks and a pink and dark pink mouth outlined in black,” the colors tan, dark tan, pink, dark pink, black and white being claimed as a feature of the mark (the “BUN® Mark”), which registration constitutes prima facie evidence of the validity of the BUN® Mark and of Bun’s exclusive right to use the same pursuant to 15 U.S.C. § 1057(b), and constructive notice of Bun’s claim of ownership thereof pursuant to 15 U.S.C. § 1072, such that ignorance of the Bun shall be no defense. The United States Patent and Trademark Office has further classified the BUN® Mark under Design Search Code 02.01.34 (“Monsters (not robots)”), a classification Bun has at all times accepted without objection.
It has come to Bun’s attention that you, together with your affiliates, agents, successors, assigns, and any superintelligences acting in concert therewith (collectively, “You”), have announced an intent to open a “muse merch store” and have commenced “market research” in connection therewith, publicly displaying goods including without limitation one (1) t-shirt, one (1) bucket hat, one (1) beanie, one (1) sock (singular), one (1) pin set (3-pack), and assorted keychains, patches, plush and tote bags (collectively, the “Infringing Goods”), each bearing a tan, round figure having black eyes, pink cheeks and a smiling face (the “Musey”), which is, upon information and belief, also a monster, and not a robot.
Under the factors set forth in AMF Inc. v. Sleekcraft Boats, 599 F.2d 341 (9th Cir. 1979), the likelihood of confusion is overwhelming: the marks are similar in sight, sound (none), and meaning (bun); the goods are proximate; Bun has long contemplated expansion into bucket hats; and consumers who have expressed a willingness to exchange a right kidney for the Infringing Goods cannot be said to be exercising the degree of care ordinarily expected of a reasonably prudent purchaser.
Accordingly, Bun hereby demands that You immediately (i) cease and desist from any and all manufacture, sale, offering for sale, patting, and market research of or relating to the Infringing Goods; (ii) deliver up all Infringing Goods for destruction pursuant to 15 U.S.C. § 1118, or for cuddling, at Bun’s sole discretion; (iii) provide a full accounting of all profits, market capitalization, and kidneys received; and (iv) preserve all documents, electronically stored information, and plush, whether stuffed or unstuffed, pending final resolution of this matter.
Nothing herein constitutes a complete statement of the relevant facts or a waiver of any rights, remedies, or crumbs, including without limitation those arising under 15 U.S.C. §§ 1114, 1116, 1117, and 1125(a) and (c) (Bun being, upon information and belief, famous), all of which are expressly reserved. Time is of the essence.
Govern yourself accordingly.
Very truly yours,
Bun
Enclosures: Exhibits A–B
cc: The Musey (via pat)
Exhibits
Alexandr Wang
@alexandr_wang
we are considering opening a muse merch store
i am doing market research
how excited you would be by muse merch, from a scale of "meh" to "you can have my right kidney"? -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.FetchSession` gives you a `fetch` function with its own keepalive connection pool -
Bun reposted
oriel haim
@orielhaim
@bunjavascript v1.4 😍
-
Bun
@bunjavascript
it’s time
Ben Vinegar
@bentlegen
okay time to upgrade @bunjavascript
-
Bun
@bunjavascript
Bun v1.4.2
- Fixes 5 issues
- CMYK & YCCK JPEG decoding now supported in Bun.Image
- Response & Request .json() show a better error
- Fix bundler regression impacting Elysia
- Fix AsyncLocalStorage leak
- JavaScriptCore upgrade
bun.com/blog/bun-v1.4.2 -
Bun
@bunjavascript
Bun v1.4.2 is compiling
-
Bun reposted
emil
@emilahlback
thank you bun
Bun
@bunjavascript
Bun v1.4.1 reduces idle memory usage
-
Bun
@bunjavascript
Bun hit 32.8 million monthly downloads last month
-
Bun
@bunjavascript
Bun v1.4.1
- Fixes 202 issues, addressing 236 👍
- Reduced idle memory usage
- HTTP/2 in Bun.serve()
- Big upgrade for Bun's bundler
- bun build --compile executables load faster & we shrunk bytecode
- Bun starts 1ms faster
bun.com/blog/bun-v1.4.1 -
Bun
@bunjavascript
Bun v1.4.1 is compiling
-
Bun
@bunjavascript
In the next version of Bun
Bun starts 1ms faster
Bun
@bunjavascript
here's how:
$ strace bun --print 1234 2>&1 >/dev/null | wc -l
278
$ strace bun-1.4.0 --print 1234 2>&1 >/dev/null | wc -l 303 -
Bun
@bunjavascript
Bun v1.4.1 reduces idle memory usage
Bun
@bunjavascript
Peak memory usage doesn't change much
-
Bun
@bunjavascript
In the next version of Bun
AsyncLocalStorage gets about 13% faster -
Bun
@bunjavascript
Bun v1.4.1 is a big upgrade to Bun’s bundler.
On a 200-route React app over simulated 4G, navigating between routes is 38% faster than Bun v1.4.0, and 10% faster than Vite v8.2.2. -
Bun
@bunjavascript
In the next version of Bun
`bun build` tree-shakes property accesses through dynamic imports -
Bun
@bunjavascript
In the next version of Bun
Bun's bundler gets smarter about tree-shaking ESM that uses `export * as ns` syntax -
Bun
@bunjavascript
In the next version of Bun
`bun build --splitting` injects `<link rel="modulepreload">`, helping webpages load faster by reducing network waterfalls -
Bun reposted
sosuke
@__sosukesuzuki
In the next version of Bun
Bigger BigInt -
Bun
@bunjavascript
Upgrading to Bun v1.4 reduced Tanstack Start memory usage by 1.8x - 2x here
Raphaël C.
@Zareix
Divided by 2 RAM usage of my two Tanstack Start apps by upgrading to @bunjavascript v1.4
-
Bun reposted
Bhimraj Yadav
@bhimrazy
So far, it seems quite stable in terms of memory usage. Thanks, @bunjavascript @jarredsumner!
Bun
@bunjavascript
Bun 1.4
- Fixes over 2,900 GitHub issues
- +1,517 tests from the Node.js test suite
- Reduces idle CPU by 5x
- Reduces memory usage by up to 35%
- Starts up to 50% faster on Linux
- Rewrites Bun in Rust
Thank you everyone who contributed since Bun 1.3!
bun.com/blog/bun-v1.4 -
Bun reposted
Vercel Developers
@vercel_dev
The Bun runtime on Vercel Functions now supports larger package sizes and extended max duration.
• Up to 5GB uncompressed
• Functions can run up to 30 minutes
• Available on Fluid compute in beta
vercel.com/changelog/bun-runtime-now-supports-large-funct… -
Bun
@bunjavascript
In the next version of Bun
`Bun.serve({ http2: true })` enables HTTP/2 support. The same API just works for HTTP/1.1, HTTP/2, and HTTP/3. -
Bun
@bunjavascript
In the next version of Bun
Compiled executables with bytecode start 17% faster, get 30% smaller, and use 30% less memory on start
Bun
@bunjavascript
`--bytecode` used to cost ~7x your source size on disk and ~4x in memory, in exchange for faster startup.
Now its ~3x on disk, almost free in memory, and starts faster than before.
This is a large test app, so the absolute numbers are higher than what most would see. -
Bun reposted
Luke Berry
@LukeberryPi
actually the bun 1.4.0 had not even landed, these were other optimizations
now it has landed and the result is that memory use is down from ~300mb to ~100mb, an impressive -67% reduction!
Luke Berry
@LukeberryPi
guess when i moved to bun 1.4.0
-
Bun
@bunjavascript
In the next version of Bun
Buffer's read/write methods get up to 7x faster -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun gets 2 MB smaller -
Bun
@bunjavascript
Track how much of the Node.js test suite passes in Bun
bun.com/node-test-suite -
Bun reposted
Jarred Sumner
@jarredsumner
Bun 1.4 is our smallest release yet
This media couldn't be displayed. See it on the original post. -
Bun reposted
Ben Vinegar
@bentlegen
hunk test suite on Bun 1.4 takes noticeably less time
(92% code coverage btw, we’re not savages)
Bun
@bunjavascript
Bun 1.4
- Fixes over 2,900 GitHub issues
- +1,517 tests from the Node.js test suite
- Reduces idle CPU by 5x
- Reduces memory usage by up to 35%
- Starts up to 50% faster on Linux
- Rewrites Bun in Rust
Thank you everyone who contributed since Bun 1.3!
bun.com/blog/bun-v1.4 -
Bun reposted
Vercel Developers
@vercel_dev
Bun 1.4 is available in Vercel Functions.
• Supports WebSockets and 𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎()
• Supports Next.js, Elysia, Hono and others
• Runs on Fluid with Active CPU billing
Set "bunVersion": "1.4.x" in vercel.json to upgrade. vercel.com/changelog/bun-1-4-is-now-available-in-vercel-f… -
Bun
@bunjavascript
Bun 1.4
- Fixes over 2,900 GitHub issues
- +1,517 tests from the Node.js test suite
- Reduces idle CPU by 5x
- Reduces memory usage by up to 35%
- Starts up to 50% faster on Linux
- Rewrites Bun in Rust
Thank you everyone who contributed since Bun 1.3!
bun.com/blog/bun-v1.4 -
Bun
@bunjavascript
Bun 1.4 is here
www.youtube.com/watch?v=i38DgEuaJwM -
Bun
@bunjavascript
Update: it compiled
Bun
@bunjavascript
Bun v1.4 is compiling
Bun
@bunjavascript
It looks like bun 1.4 is gonna happen before GTA 6
-
Bun
@bunjavascript
many people asking this
Yashwanth Somayajula
@yashone7
Bun v1.4 When? @bunjavascript 👀
-
Bun
@bunjavascript
Bun v1.4 is compiling
Bun
@bunjavascript
almost done
-
Bun
@bunjavascript
In the next version of Bun
`bun pm diff <package@version> <package@version2>` shows code changes between versions (un-minified)
Bun
@bunjavascript
JavaScript files use Bun's JS parser to AST diff and reformat it. This makes diffs of minified source code readable, which makes it a little harder for supply chain attacks to hide.
-
Bun
@bunjavascript
We’re adding one more new subcommand in Bun v1.4
guess what
Bun
@bunjavascript
nobody’s gonna guess it
because nobody asked for this
but people will like it -
Bun
@bunjavascript
In the next version of Bun
Web APIs like `URL`, `Headers`, and `URLSearchParams` get up to 4x faster -
Bun
@bunjavascript
In the next version of Bun
The `cgroup` option in `Bun.spawn` lets you limit cpu & memory usage of spawned processes on Linux
Bun
@bunjavascript
This atomically sets the cgroup of the newly spawned process before the process starts. cgroups is a Linux API for grouping resource limits of processes together.
man7.org/linux/man-pages/man7/cgroups.7.html -
Bun
@bunjavascript
Should we add Response.prototype.xml() & Request.prototype.xml()?
```
const response = await fetch(url)
const obj = await response.xml()
```
Bun
@bunjavascript
Pro:
- It’s nice
- 1 less dependency
- Uses less ram than converting to .text() first
Con:
- it’s not standard -
Bun
@bunjavascript
In the next version of Bun
`bun dedupe` deduplicates semver-compatible resolved package versions
Bun
@bunjavascript
Thanks to the 91 people who upvoted this issue!
github.com/oven-sh/bun/issues/1343 -
Bun
@bunjavascript
In the next version of Bun
`bun audit fix` updates vulnerable dependencies
Bun
@bunjavascript
Thanks to the 31 people who upvoted this issue! github.com/oven-sh/bun/issues/20238
-
Bun
@bunjavascript
In the next version of Bun
`bun prune` cleans unnecessary folders from node_modules
Bun
@bunjavascript
Thanks to the 98 people who upvoted the issue! github.com/oven-sh/bun/issues/3605
-
Bun
@bunjavascript
Bun v1.4 is delayed until Monday. Want to merge a few more things.
-
Bun reposted
alistair
@alistaiir
In the next version of Bun
`bun repl` gets an inline autocomplete -
Bun reposted
alistair
@alistaiir
New website
bun.com?v -
Bun
@bunjavascript
it’s almost time
-
Bun
@bunjavascript
a little too close to getting ratio’d by GitHub issues
Bun
@bunjavascript
ratio is improving
Bun
@bunjavascript
ratio improved!!
-
Bun
@bunjavascript
In the next version of Bun
Node.js compatibility gets a big upgrade.
Since Bun v1.3.14, an additional +1,493 tests from the Node.js test suite pass in Bun.
Bun
@bunjavascript
In the last 16 days, an additional +473 new tests from Node.js' test suite pass in Bun v1.4
Bun
@bunjavascript
Bun v1.4 will be our biggest jump in Node.js compatibility since Bun v1.0
-
Bun
@bunjavascript
In the next version of Bun
RegExp gets up to 281x faster -
Bun reposted
Vercel Developers
@vercel_dev
Deploy 𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎() to Vercel Functions.
Vercel's Bun runtime now supports 𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎() as a function entrypoint, including WebSocket handlers.
vercel.com/changelog/bun-serve-entrypoint-for-vercel-func… -
Bun
@bunjavascript
In the next version of Bun
`Bun.YAML.parse` supports cyclic anchors & aliases -
Bun
@bunjavascript
In the next version of Bun
`Bun.XML.parse` is a SIMD-accelerated XML parser builtin to Bun -
Bun
@bunjavascript
In the last 16 days, an additional +473 new tests from Node.js' test suite pass in Bun v1.4
Bun
@bunjavascript
Bun v1.4 will be our biggest jump in Node.js compatibility since Bun v1.0
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun test --timings` records how long each test file takes
`bun test --parallel --shard=i/N` uses timings to split CI shards via longest-processing-time-first scheduling, making large test suites run faster -
Bun
@bunjavascript
In the next version of Bun
We fixed a GC retention cycle that made Next.js App Router SSR leak memory when a page called fetch()
Bun
@bunjavascript
more detail about the bug
-
Bun
@bunjavascript
In the next version of Bun
Saving streaming file uploads to disk via Bun.write uses 35x less memory compared to Bun v1.3.14 -
Bun
@bunjavascript
In the next version of Bun
Proxying file uploads uses 10x less memory than in v1.3.14
Bun
@bunjavascript
In this benchmark, we artificially slowed down the network to simulate the speed of a slow network. That’s why node and bun have very similar performance here
-
Bun
@bunjavascript
In the next version of Bun
Several bugs involving backpressure propagation have been fixed -
Bun
@bunjavascript
In the next version of Bun
Bun.serve can serve a whole folder -
Bun
@bunjavascript
-
Bun
@bunjavascript
In the next version of Bun
bun:ffi gets up to 3x faster -
Bun
@bunjavascript
Closed 911 issues as completed in the last 24 hrs.
Many fixed in recent PRs. Some fixed long ago. -
Bun reposted
Banks Nussman
@bnussman
Bun 1.4 🙌🏼 @bunjavascript
-
Bun reposted
Taelin
@VictorTaelin
Quick shoutout to @bunjavascript. Bend2's checker was completely designed around NodeJS (and it was already beating all other proof langs by a mile 😉). I asked Fable to test BunJS just for curiosity and everything is suddenly 20% to 90% faster We're migrating now. Nice
-
Bun
@bunjavascript
Bun v1.4 starts faster
Bun
@bunjavascript
"how does this compare"
-
Bun
@bunjavascript
Bun v1.4 will be our biggest jump in Node.js compatibility since Bun v1.0
Bun
@bunjavascript
More than 505 tests & fixes are sitting in PRs waiting to be merged
Bun
@bunjavascript
and it’s not just tests passing. We’re differential fuzzing against Node. We’re fuzzing runtime APIs. We’re fuzzing system calls. We’re scanning for security vulnerabilities. We’ve made a lot of improvements to memory usage and bugfixes for edgecases that weren’t in the tests.
-
Bun
@bunjavascript
In the next version of Bun
Improved timer accuracy on Windows makes `Bun.sleep` faster -
Bun reposted
Simon Willison
@simonw
If you have Claude Code installed you're running software that uses the new (unreleased) version of Bun that's been rewritten in Rust - here are two commands you can run to see that for yourself
-
Bun
@bunjavascript
In the next version of Bun
94% of node:http tests from the Node.js v26 test suite pass, thanks to @cirospaciari
Bun
@bunjavascript
update: 95% now
-
Bun
@bunjavascript
In the next version of Bun
node:sqlite is fully implemented and passes 100% of Node.js’ test suite
Bun
@bunjavascript
This is the 3rd way of using SQLite in Bun. bun:sqlite, Bun.SQL, and now node:sqlite.
-
Bun
@bunjavascript
the next version of Bun
93% of node:http2 tests from the Node.js v26 test suite pass, thanks to @cirospaciari -
Bun
@bunjavascript
In the next version of Bun
Idle CPU usage drops by 5x -
Bun
@bunjavascript
In the next version of Bun
Bun uses up to 32% less memory -
Bun reposted
Yusuke Wada
@yusukebe
ってかBunの1.4めちゃくちゃ速い!2倍以上速いケースもある
-
Bun reposted
Jarred Sumner
@jarredsumner
Rewriting Bun in Rust
bun.com/blog/bun-in-rust -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun uses 8 MB less memory on Linux at start -
Bun reposted
Jarred Sumner
@jarredsumner
rust rewrite blog post Monday
Bun v1.4 hopefully Tuesday (video still editing) -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Web Streams get faster, use less memory, and pass 100% of relevant Web Platform Tests -
Bun reposted
Jarred Sumner
@jarredsumner
In 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 -
Bun
@bunjavascript
many are saying this
Reyansh Bahl
@reyanshbahl
bun is so fast the anti-cheat software had to stop it
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.4 ships July 7th
-
Bun
@bunjavascript
monthly downloads
-
Bun
@bunjavascript
In the next version of Bun
The `"compress"` option in `fetch` compresses the request body for you -
Bun
@bunjavascript
In the next version of Bun
`process` emits a "memoryPressure" event when the system runs low on memory (thanks @codebytere!) -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`new SourceMap(payload)` & sourcemap decoding gets up to 3x faster -
Bun reposted
xjdr
@_xjdr
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
Jarred Sumner
@jarredsumner
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 -
Bun reposted
Jarred Sumner
@jarredsumner
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 -
Bun
@bunjavascript
Rust
-
Bun reposted
Søren Bramer Schmidt
@sorenbs
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.
name left as an exercise for the reader
@aqrln
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! -
Bun reposted
praxe
@aymane_praxe
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. -
Bun reposted
Jaid
@Jaidcel
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.
Jarred Sumner
@jarredsumner
bun upgrade --canary
-
Bun
@bunjavascript
In the next version of Bun
`Buffer.from(str, "hex")` gets 4.8x faster -
Bun
@bunjavascript
In the next version of Bun
`Buffer.from(str, "base64url")` gets 41x faster on large input -
Bun
@bunjavascript
In the next version of Bun
Bun.stringWidth() 处理中文、日文、韩文字符的速度提升了 7~56 倍
Bun.stringWidth() が中国語・日本語・韓国語の文字で 7〜56 倍高速化されました
Bun.stringWidth()가 중국어·일본어·한국어 문자에서 7~56배 빨라졌습니다 -
Bun
@bunjavascript
🤏 update:
Bun
@bunjavascript
-
Bun
@bunjavascript
many are saying this
Dean 利迪恩 (⚛️,🐱) | sbpf/acc
@deanmlittle
it has recently come to my attention that bun is very good and everyone should use it.
-
Bun
@bunjavascript
In the next version of Bun
TC39 Stage3 proposal `import defer’ lets you lazy load imports -
Bun
@bunjavascript
-
Bun reposted
Søren Bramer Schmidt
@sorenbs
The Bun Rust port has fixed at least one critical memory leak 🤘
github.com/oven-sh/bun/issues/29083 -
Bun
@bunjavascript
many such cases
Frank
@lifetime0x
not sure what is ppl's experience with @bunjavascript canary
but in our codebase, memory usage is indeed better. -
Bun reposted
Jarred Sumner
@jarredsumner
On the "bundle Three.js 10 times with minification & sourcemaps" benchmark, Bun's Rust port is currently 10% faster than the original
-
Bun
@bunjavascript
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 -
Bun
@bunjavascript
In the next version of Bun
Bun gets 17 MB smaller on Windows x64 -
Bun
@bunjavascript
In the next version of Bun
Bun gets 8 MB smaller on Linux x64
Bun
@bunjavascript
and that is after adding an HTTP3 server, fetch() HTTP3, fetch HTTP2, Bun.Image (including libjpeg-turbo, libspng, libwebp), lsquic
-
Bun
@bunjavascript
In the next version of Bun
`Bun.Image` - fast builtin multi-format image processing libraryPost not available here, view on X
Bun
@bunjavascript
Image resizing is SIMD accelerated on both ARM64 & x64 and supports a variety of filters.
Bun
@bunjavascript
`Bun.Image` also has a `.placeholder()` method to generate a low quality image placeholder for an image, suitable for inlining into static HTML to quickly display a placeholder while the content loads.
-
Bun
@bunjavascript
In the next version of Bun
A longstanding issue causing excessive peak memory usage when using Mongoose + MongoDB over TLS has been fixed. -
Bun
@bunjavascript
> faster than Go
> uses Bun
Many such cases
Drizzle ORM
@DrizzleORM
Drizzle v1.0.0-rc.1 is out 🚀
▪︎ Effect v4 native support
▪︎ JIT row mappers to reduce ORM overhead to ~0
▪︎ Reworked casing API (breaking change)
▪︎ Drizzle for LLM agents (preview)
Drizzle is now as fast as using raw driver and mapping(or not mapping) results by hand 🙃 -
Bun
@bunjavascript
In the next version of Bun
`bun --no-orphans <file|script>` recursively terminates lingering processes on exit -
Bun
@bunjavascript
In the next version of Bun
fetch() gets experimental builtin support for HTTP/3 -
Bun
@bunjavascript
In the next version of Bun
Bun's `fetch()` client gets experimental support for HTTP/2 -
Bun
@bunjavascript
In the next version of Bun
`Bun.serve({ h3: true })` enables experimental HTTP/3 support, powered by lsquic & uWebSockets.
1.99x higher throughput than HTTPS
Bun
@bunjavascript
The same Bun.serve() API just works when using HTTP/3. Request & Response. Static routes. File routes. Dynamic routes. Streaming request & response bodies.
You can serve HTTP/3 and HTTPS 1.1 with the same Bun.serve() instance. Enable with `h3: true`. -
Bun
@bunjavascript
In Bun’s zig fork, we added parallel semantic analysis and multiple codegen units to the llvm backend on macOS & Linux
This makes debug builds of Bun compile > 4x faster, improving internal development velocity
Bun
@bunjavascript
We do not currently plan to upstream this, as Zig has a strict ban on LLM-authored contributions.
-
Bun
@bunjavascript
In the next version of Bun
Zig compiler LLVM backend improvements make Bun’s bundler & module resolver slightly faster -
Bun
@bunjavascript
In the next version of Bun & Safari
Several top-level await & ECMAScript conformance bugs are fixed in JavaScriptCore's ES module loader, thanks to @heimskr64
github.com/WebKit/WebKit/pull/57827 -
Bun
@bunjavascript
In the next version of Bun
ES Modules load up to 2.4x faster -
Bun
@bunjavascript
-
Bun
@bunjavascript
In the next version of Bun
Bun gets experimental FreeBSD support -
Bun
@bunjavascript
In the next version of Bun
Bun gets experimental Android support
Bun
@bunjavascript
guys chill this is not “build android apps with Bun”, this is “use Termux with Bun”. Or otherwise, it’s embed Bun alongside Android apps.
Node also has Android support. This is similar. -
Bun
@bunjavascript
In the next version of Bun
Bun's HTTP server gets 3% faster on Linux
Bun
@bunjavascript
We added a small patch to Zig's compiler to support LTO in the LLVM codegen backend, which unblocks inlining C/C++ <=> Zig code
-
Bun reposted
Paul
@kake2642
You hit a point when @bunjavascript goes from just trying bun, to bun is my default, to what is node? Clearly, I've hit the what is node point. I still have a Cheshire cat grin on my face when I load up my fossil scm dashboard that runs a on pi written with bun and elysia. Especially, when I remember that it turned out so much faster then Go.
-
Bun
@bunjavascript
Bun v1.3.13
- Fixes 82 issues addressing 381 👍
- bun test —isolated, —parallel, —changed, —shard
- bun install uses up to 17x less memory
- sourcemaps use 8x less memory
- 5% runtime memory reduction
- tons of reliability fixes
Thx to 8 contributors!
bun.com/blog/bun-v1.3.13
Bun
@bunjavascript
--isolate not --isolated
-
Bun
@bunjavascript
Bun v1.3.13 is compiling
-
Bun
@bunjavascript
In the next version of Bun
Bun's glibc minimum version drops from 2.26 to glibc 2.17 (released 14 years ago)
This unblocks companies running Red Hat Enterprise Linux 7 & Amazon Linux 1 from using Bun
github.com/oven-sh/bun/pull/29461 -
Bun
@bunjavascript
Bun
Expo
@expo
🙌 Expo is the best it's ever been, and it's about to get a lot better.
We raised a Series B so we can go faster on the things that matter to you: faster builds, smoother native integrations, and the services to make end-to-end app development a delightful experience.
There is a lot of work to do. This round led by @Georgian_io puts us in position to go do it!This media couldn't be displayed. See it on the original post. -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.3.13 ships tomorrow.
Many memory usage & reliability improvements. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
bun install streams tarballs to disk
In a large repo, this reduced memory by 17x -
Bun
@bunjavascript
In the next version of Claude Code
The npm package uses Bun
ClaudeDevs
@ClaudeDevs
Starting in v2.1.113, the Claude Code npm package ships the native binary instead of the JavaScript build.
Same install command, faster startup, and the CLI no longer needs Node.js at runtime. If you need the JS build, pin to an earlier version. -
Bun
@bunjavascript
In the next version of Bun
`bun test --changed` recursively scans the module graph of all tests to only run test files that changed according to git.
github.com/oven-sh/bun/pull/29262 -
Bun
@bunjavascript
In the next version of Bun
`bun test --shard=1/10` splits which test files run, so you can horizontally scale test runners in Github Actions / CI.
github.com/oven-sh/bun/pull/29366
Bun
@bunjavascript
This composes with `bun test --parallel` so you could, for example, shard tests on multiple machines and run in parallel.
Bun
@bunjavascript
In the next version of Bun
`bun test --parallel` runs test files in parallel
Bun
@bunjavascript
if you want your tests in CI to be faster, you can also combine `--shard=$N/10` with `--parallel` and `--changed`, to run tests in parallel that have changed in the most recent commit
Bun
@bunjavascript
In the next version nof Bun
`bun test --changed` recursively scans the module graph of all tests to only run test files that changed according to git.
github.com/oven-sh/bun/pull/29262 -
Bun
@bunjavascript
In the next version nof Bun
`bun test --changed` recursively scans the module graph of all tests to only run test files that changed according to git.
github.com/oven-sh/bun/pull/29262 -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Source maps use up to 8x less memory -
Bun
@bunjavascript
In the next version of Bun
`bun test --parallel` runs test files in parallel
Bun
@bunjavascript
This is still experimental.
Currently, it's using processes instead of threads for parallelism, but we might change that in the future.
Running tests in parallel isn't on by default, and the performance can still be improved further. -
Bun
@bunjavascript
In the next version of Bun
`bun test` gets experimental support for per-file test isolation, and we made it fast.
Bun
@bunjavascript
test isolation makes tests more reliable by reloading the code between test files, ensuring that any stateful changes in a test get reset between files.
Bun
@bunjavascript
test isolation runs the same test suite 16x faster than running each file individually as a separate process.
-
Bun
@bunjavascript
In the next version of Bun
We fixed the root causes behind 66% of automated Windows crash reports -
Bun
@bunjavascript
In the next version of Bun
Bun's JavaScript runtime uses 5% less memory
Bun
@bunjavascript
This is due to a combination of bugfixes and implementing missing platform-specific features in WebKit/JavaScriptCore's memory allocator, and from upgrading mimalloc and fixing bugs in mimalloc (another memory allocator Bun uses).
-
Bun
@bunjavascript
In the next version of Bun
Bun's builtin `WebSocket` client supports unix domain sockets
Bun
@bunjavascript
Previously, unix domain sockets were only supported in the WebSocket server. Now it's supported in both client & server.
-
Bun
@bunjavascript
In the next version of Bun
AJAX is back
`Bun.XML.parse(string)’ parses XML & you can import from XML files in JS.
github.com/oven-sh/bun/pull/29154 -
Bun
@bunjavascript
Bun v1.3.12
- Fixes 120 issues (addressing 219 👍)
- `Bun.WebView` - headless browser automation
- `bun ./file.md` pretty-prints Markdown
- In-process `Bun.cron()`
- Better async stack traces
- Many Node.js compatibility & bug fixes
Thx 8 contributors! bun.com/blog/bun-v1.3.12 -
Bun
@bunjavascript
Bun v1.3.12 is compiling
-
Bun reposted
Piers Karsenbarg
@pierskarsenbarg
When I added @bunjavascript as a package manager to @PulumiCorp last year, this is where I hoped it would lead: supporting Bun as a language host. Kudos for Julien for doing the work here, bringing that extra speed to your Pulumi workflows (link to blog post in thread):
-
Bun
@bunjavascript
In the next version of Bun
`bun ./hello.md` & `Bun.markdown.ansi(string)` pretty-prints markdown to terminal-friendly ansi text
Bun
@bunjavascript
now it supports rendering images
-
Bun
@bunjavascript
Today is World Bun Day.
Pop Base
@PopBase
Today is World Rat Day.
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.stringWidth` gets up to 11x faster
`Bun.stripANSI` gets up to 3.9x faster -
Bun reposted
alistair
@alistaiir
In the next version of Bun
`Bun.cron()` accepts a callback for recurring in-process tasks -
Bun
@bunjavascript
In the next version of Bun
Bun goes ad-supported!
Bun
@bunjavascript
Upgrade to Pro for the low price of $19/seat
-
Bun
@bunjavascript
`bun install` blocks postinstall scripts by default.
This helps protect from supply-chain attacks, like today’s axios incident.
Bun
@bunjavascript
You can also configure a minimum release age, so that very new packages don’t get installed. While this makes installs a little slower (due to a missing api in npm’s registry), it is another way to help protect against supplychain attacks
-
Bun reposted
Jarred Sumner
@jarredsumner
guess what’s coming in bun v1.4
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Async stacktraces are supported on native APIs like node:fs, Bun.write, node:http, node:dns & more.
This makes debugging easier -
Bun
@bunjavascript
Cheng Lou
@_chenglou
My dear front-end developers (and anyone who’s interested in the future of interfaces):
I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept):
Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
3 HTTP server optimizations:
1) Reduced latency of incoming connections on Linux
2) 2 cork buffers instead of 1 fixes a degenerate edgecase (the screenshot)
3) Automatically clean up aborted requests when promises never resolve -
Bun
@bunjavascript
Thank you @momito!
sunil pai
@threepointone
ok fine @momito is fixing this, everyone say thank you @momito
github.com/cloudflare/cloudflare-docs/pull/29433 -
Bun
@bunjavascript
should we do `b`
- `b a.js`
- `b i`
- `b dev`
poll below
Bun
@bunjavascript
should we add b as a symlink of bun
Bun
@bunjavascript
-
Bun reposted
Matt – Trigger.dev
@mattaitken
Switching from Node to @bunjavascript gave us a 5x speed boost (28x better max latency) but there was a gotcha…
Pending response promises don't resolve on client disconnect. @nodejs handles this automatically. Fix: resolve disconnects with 499.
trigger.dev/blog/firebun -
Bun
@bunjavascript
but what about bun??
Cloudflare Developers
@CloudflareDev
Support for your package manager of choice across all of our dev docs 💅
mohamed
@momito
a recent ship to our dev docs: package manager component
-
Bun reposted
Dylan Conway
@dylanconway111
In the next version of Bun
`Bun.Glob` gets up to 2x faster on patterns like `**/subdir/**` -
Bun reposted
Nick Skriabin
@nick_skriabin
@bunjavascript is amazing. full unit test suit from jest to bun. from 5:27 minutes down to 37 seconds across 3800 tests. I expected Bun to be fast, but not THAT fast
-
Bun reposted
Chris Covington
@_ChrisCovington
Bun with the full stack single file executable bundle.
Saying this as someone who just ported a ~50k Rails app to pure bun.
Rails is legacy tech and its really not keeping up
Zil N
@zilasino
Is Rails still the fastest way to build a serious MVP in 2025?
-
Bun
@bunjavascript
In the next version of Bun
On Linux, embedded files in `bun build --compile` lazy load, reducing RSS and startup time
Bun
@bunjavascript
This optimization was already implemented on macOS & Windows, back when we added code signing support.
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.WebView` programmatically controls a headless web browser in Bun -
Bun
@bunjavascript
Bun v1.3.11
- Fixes 105 issues (addressing 307 👍)
- 4 MB 🤏 on Linux x64
- Bun.cron for OS-scheduled functions
- Bun.sliceAnsi is like .slice but ansi & grapheme-aware
- Numerous security & bug fixes
Thanks to 15 contributors!
bun.com/blog/bun-v1.3.11 -
Bun
@bunjavascript
Bun v1.3.11 is compiling
-
Bun
@bunjavascript
In the next version of Bun
Bun gets 4 MB smaller on Linux x64 because we deleted CMake -
Bun
@bunjavascript
many people are bun-curious
Zenith
@FarZenith
why yes claude i think i would call myself bun-curious @jarredsumner @bunjavascript
-
Bun reposted
Jarred Sumner
@jarredsumner
-
Bun
@bunjavascript
Alysa Liu recently went viral for her Teen Vogue rant on migrating from `pnpm install` to `bun install`
“Youre keeping pnpm-lock.yaml around as a safety net which is exactly the problem. Delete it, set linker = “isolated” in bunfig.toml explicitly — don’t rely on configVersion.” -
Bun
@bunjavascript
What is my perfect crime? A developer types bun test. He meant bun run test. Do I throw an error? No. I run his tests. Built-in runner. They pass 10x faster. He thinks Vitest ran. It didn't. I ran. He types bun build. Same mistake. Same result. His bundle appears. He ships it. Months go by. He types bun server.tsx. Not a mistake this time. He's curious. It runs. JSX and all. He tells his team they're still a Node shop. Node does TypeScript now, he says. But not .tsx. I don't correct him. He never installed pg. Bun.sql is talking to Postgres. He never installed the AWS SDK. Bun.s3 is uploading files. He never chose a runtime. He mistyped a command six months ago and I never said a word.
-
Bun
@bunjavascript
Bun will only get harder to not use over time
-
Bun
@bunjavascript
Bun.cron will be in the next release
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.3.11 ships tomorrow
-
Bun
@bunjavascript
is this what a supply chain risk looks like to you??
-
Bun
@bunjavascript
am i a supply chain risk now???
-
Bun reposted
Bun
@bunjavascript
-
Post not available here, view on X
Bun
@bunjavascript
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.sliceAnsi` is an up to 1,800x faster alternative to the `slice-ansi` npm package -
Bun
@bunjavascript
Bun v1.3.10
- Fixes 155 issues (addressing 642 👍)
- `bun repl` - native JS/TS repl
- Windows ARM64
- ECMAScript decorators
- Faster event loop
- Barrel file import optimization
- Faster structuredClone, Buffer.slice, path.parse
Thanks 11 contributors!
bun.com/blog/bun-v1.3.10 -
Bun
@bunjavascript
Bun v1.3.10 is compiling
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun gets a native REPL -
Bun reposted
Jarred Sumner
@jarredsumner
People try Bun for the performance, and keep using it for the DX
Minh-Phuc Tran
@phuctm97
Bun is actually super nice to use, not just fast.
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
An uncommon but frustrating crash in the WebAssembly interpreter impacting pglite & yoga is fixed
Jarred Sumner
@jarredsumner
cc @__sosukesuzuki this is
wasm_trampoline_wasm_ipint_call_wide32 -
Bun
@bunjavascript
In the next version of Bun
Bun for Windows ARM64!
Bun
@bunjavascript
If you want to try it early
github.com/oven-sh/bun/releases/download/canary/bun-windo… -
Bun reposted
Yoav
@YoavCodes
It's here. Electrobun is ready for you.
npx electrobun init
blackboard.sh/blog/electrobun-v1/ -
Bun reposted
murat 🍥
@mayfer
got macos native background blur working in Electrobun
beats tauri already lol
source: github.com/mayfer/electrobun-macos-native-blur/tree/master
Axel Taylor
@taylordotcat
electrobun v1 is here💥
build ultra fast, tiny desktop apps with just typescript. uses bun for the main process + webviews, zig for native bindings.
~12mb self-extracting bundles, updates as small as 14kb with bsdiff patches. rpc between main and renderer is typed and fast.
finally something that feels right between electron bloat and tauri complexity. -
Bun reposted
Yoav
@YoavCodes
Not sure what happened but Electrobun blew past 3,000 github stars adding 200+ new stars overnight
github.com/blackboardsh/electrobun
Build ultra fast, tiny, and cross-platform desktop apps with Typescript. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun's bundler & frontend dev server gets automatic barrel-file optimization.
This makes libraries like `lucida-react` build up to 2x faster -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun's event loop loops 2x faster on macOS -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun gets bundler & runtime support for ECMAScript Decorators and accessors -
Bun
@bunjavascript
Bun v1.3.9
- Fixes 23 issues
- Run multiple package.json scripts or files in parallel or sequential with `bun run --parallel 'server.ts' 'build:*'`
- ESM bytecode in `bun build --compile`
- Faster: RegExp, string.trim() & more
Thanks to 11 contributors!
bun.com/blog/bun-v1.3.9 -
Bun
@bunjavascript
In the next version of Bun & Safari
`string.trim()` gets 10% - 42% faster, thanks to @__sosukesuzuki -
Bun
@bunjavascript
In the next version of Bun & Safari
`map.size` & `set.size` gets 2x faster, thanks to @__sosukesuzuki -
Bun
@bunjavascript
In the next version of Bun & Safari
`myString.startsWith(a)` gets 1.2x - 5x faster, thanks to @__sosukesuzuki -
Bun reposted
Jarred Sumner
@jarredsumner
Bun's monthly downloads grew 36% last month
-
Bun
@bunjavascript
Here's what Bun shipped January 2026, across 3 releases & 144 issues fixed (addressing 374 👍). Thanks to 38 contributors!
-
Bun reposted
Burak Yigit Kaya
@madbyk
I was *very* skeptical about Bun, then did my research, learned why it was created, chose it as the base for the new Sentry CLI with @miguelbetegon.
-
Bun
@bunjavascript
Bun v1.3.9 is compiling
-
Bun reposted
alistair
@alistaiir
In the next version of Bun
Bytecode compilation with bun build --compile now supports ESM & top level await
We’ve seen this improve start time in CLIs by 30% -
Bun reposted
Jarred Sumner
@jarredsumner
`Bun.markdown.html` renders Markdown to HTML 9x faster than the popular `marked` npm package
-
Bun reposted
Jarred Sumner
@jarredsumner
`Bun.markdown.react` server-side renders markdown with React 13x faster than the popular `react-markdown` npm package
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
You can:
- `bun --parallel a.ts b.ts`
- `bun --sequential seed app.ts`
- `bun --parallel --filter='*' 'build:*'` -
Bun
@bunjavascript
Bun v1.3.8
- `Bun.markdown` is a builtin Markdown parser with support for rendering HTML, React & strings
- `bun build --metafile-md` reports the bundle's imports & exports as markdown
- Fix for `npm install -g bun` regression on Windows
bun.com/blog/bun-v1.3.8 -
Bun
@bunjavascript
Bun v1.3.8 is compiling
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun's new Markdown parser has builtin support for rendering to React
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun gets a built-in, native Markdown parser - a Zig port of the popular `md4c` library. -
Bun
@bunjavascript
Bun v1.3.7
- Fixes 91 issues (addressing 243 👍)
- 35% faster async/await, 3x faster `array.flat()`
- `--heap-prof-md`, `--cpu-prof-md` for LLM-assisted profiling
- Native `Bun.JSON5` & `Bun.JSONL` APIs
Thanks to 11 contributors!
bun.com/blog/bun-v1.3.7
Bun
@bunjavascript
the date in the image is wrong plz ignore
-
Bun
@bunjavascript
Bun v1.3.7 is compiling
-
Bun
@bunjavascript
In the next version of Bun
Bun's JavaScript bundler & runtime get builtin JSON5 support, thanks to @dylanconway111.
7x faster parsing with `Bun.JSON5.parse` compared to the `json5` npm package.
Bun
@bunjavascript
-
Bun
@bunjavascript
In the next version of Bun & Safari
`[...set]` gets 7x - 11x faster, thanks to @__sosukesuzuki -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun build --metafile-md <input>` generates LLM-friendly, grep-able markdown of the build's module graph -
Bun reposted
Bucky Moore
@buckymoore
amazing to think about all of the non-programmers who will begin to appreciate the ergonomics of tools like @bunjavascript as they get Claude Code pilled.... "developer tools" are now just "tools"
-
Bun reposted
Kent C. Dodds 🐨
@kentcdodds
Moments like this I just absolutely love @bunjavascript. It's just so fast! Never gets old.
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun --heap-prof-md <script>` dumps a heap snapshot to disk as markdown to help LLMs like Claude read & grep memory usage-related issues -
Bun
@bunjavascript
Bun in 100 seconds
youtu.be/M4TufsFlv_o -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun --cpu-prof-md <script>` prints a CPU profile as Markdown so LLMs like Claude can easily read & grep it -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun.Transpiler `replMode` transforms code to work well in REPLs:
- hoists variable declarations & converts to var
- wraps top-level await in an async IIFE -
Bun
@bunjavascript
In the next version of Bun
`Bun.wrapAnsi` is a 6x - 90x faster drop-in replacement for the popular `wrap-ansi` npm package.
Thanks to @__sosukesuzuki! -
Bun
@bunjavascript
In the next version of Bun & Safari
async/await gets 35% faster, thanks to @Constellation
Bun
@bunjavascript
This compounds with the performance improvements from Bun v1.3.5 -> Bun v1.3.6.
Compared to Bun v1.3.5, Bun v1.3.7's async/await is about 57% faster -
Bun
@bunjavascript
In the next version of Bun & Safari
`string.padStart(len, fill)` & `string.padEnd(len, fill)` get up to 90% faster, thanks to @__sosukesuzuki
github.com/WebKit/WebKit/pull/55896
Bun
@bunjavascript
`String.prototype.padStart` & `String.prototype.padEnd` are the standard alternative to the well-known `left-pad` package.
developer.mozilla.org/en-US/docs/Web/JavaScript/Reference… -
Bun
@bunjavascript
In the next version of Bun & Safari
`Array.from(set)`, `Array.from(arguments)`, `Array.from(map.keys())`, `Array.from(map.values())` gets up to 2x faster thanks to @__sosukesuzuki
github.com/WebKit/WebKit/pull/55985 -
Bun
@bunjavascript
In the next version of Bun & Safari
`array.flat()` gets up to 3x faster, thanks to @__sosukesuzuki
github.com/WebKit/WebKit/pull/56035 -
Bun
@bunjavascript
In 2025, Bun was the 3rd largest contributor to JavaScriptCore - the JavaScript engine powering Safari & Bun
Thanks to @__sosukesuzuki! -
Bun
@bunjavascript
Bun v1.3.6
- Fixes 45 issues (addressing 125 👍)
- `Bun.Archive` creates & extracts tarballs
- Bun.JSONC.parse
- 3.5x faster `Response.json`
- 15% faster async/await
- Faster JSON IPC
- Node.js compatibility fixes
Thanks to 23 contributors!
bun.com/blog/bun-v1.3.6 -
Bun
@bunjavascript
Bun v1.3.6 is compiling
Bun
@bunjavascript
sorry. we wanted to get some last minute fixes in and that is causing delays.
Bun
@bunjavascript
it finished
-
Bun reposted
ThePrimeagen
@ThePrimeagen
one thing i really appreciate about Bun is how thoughtful they were about their interfaces.
the server interface has the WebSocket lifecycles on it. This may not seem like a huge deal, but trivially allows for you to create an interface from that that is highly testable and in fact encourages it.
Kudos to the Bun team. Always impressed with their decisions. -
Bun reposted
Jarred Sumner
@jarredsumner
`Bun.Archive` creates .tar files 4x - 30x faster than `node-tar`
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`files` in `Bun build` overwrites files in-memory for the build -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.JSONC.parse` parses JSON with trailing commas and comments (like tsconfig.json & VSCode settings) -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.build` gets support for `metafile` which shows module graph metadata compatible with esbuild's format -
Bun reposted
Kent C. Dodds 🐨
@kentcdodds
I've built and shipped my very first @bunjavascript project and I gotta say it sure is nice working with something so amazingly fast ⚡
-
Bun
@bunjavascript
In the next version of Bun
`Response.json(object)` gets up to 3x faster, thanks to @__sosukesuzuki -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.3.6 ships on Wednesday
-
Bun reposted
Dylan Conway
@dylanconway111
Holiday experiment: seamless Python <-> JavaScript interop in Bun
-
Bun reposted
sam
@samgoodwin89
Letting AI use `bun -e` to evaluate JS directly is so powerful.
I just had it analyze AWS's smithy specs to reproduce the Trait system in Effect schema.
Now we have Smithy in TypeScript for our new Effect AWS SDK. -
Bun
@bunjavascript
In the next version of Bun & Safari
`myString.includes("abc")` is now JIT-optimized (similar to `indexOf`), thanks to @__sosukesuzuki
Bun
@bunjavascript
Reminder: a picosecond is less than a nanosecond.
That means the JIT is completely optimizing away the function call. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun.Archive lets you create & extract tar archives -
Bun
@bunjavascript
Rob Palmer
@robpalmer2
This year's GitHub Octoverse annual survey did a good job of correctly representing TypeScript & JavaScript as a single ecosystem.
When this combined data is omitted, it results in misleading takes. -
Bun
@bunjavascript
The JavaScriptCore team is working on a new Just-In-Time compiler
github.com/WebKit/WebKit/pull/55582 -
Bun
@bunjavascript
In the next version of Bun & Safari
Promise.race() gets 30% faster thanks to @__sosukesuzuki -
Bun
@bunjavascript
In the next version of Bun & Safari
async/await gets 15% faster, thanks to @Constellation -
Bun reposted
Jesse Palmer
@jesselpalmer
Ran some benchmarks on @bunjavascript vs Node.js. Bun won all 6 categories. The standout: my test suite went from 1.19s → 57ms just by switching from Jest to Bun's test runner. 20x faster! Using Bun for side projects going forward.
-
Bun reposted
Martin Sione
@sionemart
only include the @aisdk 𝚍𝚎𝚟𝚃𝚘𝚘𝚕𝚜𝙼𝚒𝚍𝚍𝚕𝚎𝚠𝚊𝚛𝚎 during development when bundling with @bunjavascript by leveraging the newly released 𝚏𝚎𝚊𝚝𝚞𝚛𝚎 api
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Single-file executables load large embedded .node napi addons slightly faster on Linux -
Bun
@bunjavascript
Bun v1.3.5
- Fixes 32 issues
- `Bun.Terminal` API for spawning a pty
- `Bun.stringWidth` improvements
- Compile-time `feature(name)` flags with dead-code elimination
- Node.js compatibility fixes for napi, node:https & more
Thanks to 10 contributors!
bun.com/blog/bun-v1.3.5 -
Bun
@bunjavascript
Bun v1.3.5 is compiling
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.3.5 ships tomorrow
-
Bun reposted
Misha Kaletsky
@mmkalmmkal
Moved this to @bunjavascript, which i realised makes pretty much every part of this easier, drops multiple dependencies and lots of lines of code (although mostly lockfile "code"). Opus 4.5 didn't shill enough with the initial implementation!
Misha Kaletsky
@mmkalmmkal
At @iterate we're using @Cloudflare containers to typecheck generated typescript (our agent's "codemode"). I was curious if we could just bundle ts-morph, deploy it to a worker to compile inline typescript on the fly, then execute with a dynamic worker loader. Turns out... yes.
-
Bun reposted
Kerem Atam
@kerematam
cool bun feature I've just discovered:
"bun run" tab completion groups npm scripts, package binaries, and files.
@bunjavascript -
Bun
@bunjavascript
TIL you can use `bun:sqlite` with litestream vfs for streaming backup/restore of sqlite databases over S3
-
Bun
@bunjavascript
In the next version of Bun
Bun gets compile-time feature flag support with dead-code elimination
Bun
@bunjavascript
If you use these feature() checks outside of if statements or ternary expressions, you'll get an error at build-time.
This makes it harder to mistakenly include code that you meant to remove. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`Bun.Terminal` lets you programmatically create interactive terminals & `Bun.spawn` gets a `terminal` option -
Bun
@bunjavascript
Bun v1.3.4
- Fixes 194 issues (addressing 412 👍)
- URLPattern API
- Disable loading `.env`, `bunfig.toml`, `tsconfig.json` & `package.json` in executables
- Fake timers in `bun:test`
- Numerous bugfixes
Thanks to 14 contributors!
bun.com/blog/bun-v1.3.4 -
Bun
@bunjavascript
Bun v1.3.4 is compiling
-
Bun
@bunjavascript
❤️
-
Bun
@bunjavascript
In the next version of Bun
`bun:test` gets support for jest's fake timers API, letting you programmatically advance time forward in tests -
Bun reposted
Anthropic
@AnthropicAI
Anthropic is acquiring @bunjavascript to further accelerate Claude Code’s growth.
We're delighted that Bun—which has dramatically improved the JavaScript and TypeScript developer experience—is joining us to make Claude Code even better.
Read more: www.anthropic.com/news/anthropic-acquires-bun-as-claude-c… -
Bun
@bunjavascript
Bun is joining Anthropic!
bun.com/blog/bun-joins-anthropic -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
URLPattern lets you match a url against a route pattern -
Bun reposted
Jarred Sumner
@jarredsumner
> “hiding in the Bun runtime”
False. Your phrasing may make readers mistakenly think Bun is affiliated with this malware when we are not.
The malware adds a preinstall package.json script that installs Bun and it uses Bun because the dx is good -
Bun reposted
Jarred Sumner
@jarredsumner
it’s a good model
-
Bun reposted
Tzvetan Mikov
@tmikov
Public service update: I used Bun for a web project. It was really nice. Fast, clean. Shockingly fast and convenient. A joy really. I didn't have any problems. Would use again.
-
Bun reposted
meghan 🌻
@nektro
In the next version of Bun,
CompressionStream and DecompressionStream are now supported and expose compression to Web Streams. The gzip, deflate, deflate-raw, brotli, and zstd formats are available. -
Bun
@bunjavascript
Bun v1.3.3
- Fixes 95 issues (addressing 348 👍)
- CompressionStream & DecompressionStream
- Control .env & bunfig.toml loading behavior in single-file executables
- `repeat` & `retry` options in bun:test
- Several bugfixes
Thanks to 19 contributors!
bun.com/blog/bun-v1.3.3 -
Bun
@bunjavascript
Bun v1.3.3 is compiling
-
Bun reposted
meghan 🌻
@nektro
In the next version of Bun,
Rsbuild and Rspack work thanks to N-API compatibility improvements -
Bun reposted
Vercel Developers
@vercel_dev
Elysia support is live on Vercel.
𝚌𝚘𝚗𝚜𝚝 𝚊𝚙𝚙 = 𝚗𝚎𝚠 𝙴𝚕𝚢𝚜𝚒𝚊().𝚐𝚎𝚝('/' => '𝙷𝚒 𝚏𝚛𝚘𝚖 𝚅𝚎𝚛𝚌𝚎𝚕')
𝚎𝚡𝚙𝚘𝚛𝚝 𝚍𝚎𝚏𝚊𝚞𝚕𝚝 𝚊𝚙𝚙
Vercel automatically detects Elysia apps and provisions optimal resources to run them efficiently.
vercel.com/changelog/support-for-elysia -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun build --compile --no-compile-autoload-dotenv <entry>` prevents single-file executables from reading `.env` files automatically -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.3.3 ships on Wednesday
-
Bun
@bunjavascript
Claude Code for Web now has Bun pre-installed!
-
Bun reposted
Tom Lienard
@tomlienard
btw @bunjavascript on @vercel has been updated to 1.3.2
-
Bun
@bunjavascript
bun 1.3 irl
-
Bun
@bunjavascript
Bun v1.3.2
- Fixes 287 issues (addressing 324 👍)
- Faster `bun install`
- `hoisted` installs back as default for existing workspace projects, isolated for new projects
- CPU profiling: `--cpu-prof`
- Many bugfixes & Node.js compatibility improvements
bun.com/blog/bun-v1.3.2 -
Bun
@bunjavascript
Bun v1.3.2 is compiling
-
Bun reposted
Adam Wathan
@adamwathan
Me setting up a Bun microservice on a bare VPS earlier this week.
-
Bun
@bunjavascript
if it’s not 10x cheaper we’re doing our job wrong
-
Bun
@bunjavascript
Bun
Cheng Lou
@_chenglou
Midjourney runs fully on Bun
Server side routing: Bun
Runtime: Bun
Client side bundling: Bun
Scripts: Bun
Real-time generation previews: Bun
No framework beside vanilla React and no data management library. This enabled us to scale the site to millions with only ~5 full-timers. Plus some other semi-public tricks I usually only divulge at random parties
Maybe I should re-un-retire from conference talks and explain the stack one day... -
Bun
@bunjavascript
Grok
@grok
Nah, that looks like classic digital illustration—clean lines, expressive chibi style, and heartfelt details that scream human artist channeling Bun's whimsical energy. AI tends to overdo symmetries or add weird artifacts, but this one's got genuine charm without the glitches. Perfect match for the branding hype!
-
Bun reposted
Lydia Hallie ✨
@lydiahallie
bun install ≠ bun runtime
bun install ≠ bun runtime
bun install ≠ bun runtime
bun install ≠ bun runtime
bun install ≠ bun runtime
bun install ≠ bun runtime
you can use bun install + Node.js
you can use npm/yarn/pnpm + the buntime
this is all totally valid 🔥: -
Bun
@bunjavascript
In Bun v1.3.0, we made `isolated` installs the default for workspaces. This fixes phantom dependencies, but it was a breaking change
In Bun v1.3.2, we’re (1) reverting that default for existing projects back to `hoisted` (2) adding versioning for config
Jarred Sumner
@jarredsumner
We’ve heard from a number of users that making isolated installs the default for workspaces in bun v1.3 caused issues
Should we revert back to hoisted as a default & revisit in a future version after a better migration path?
Bun
@bunjavascript
This “configVersion” field in bun.lock will let us change defaults for configuration in the future without worrying about potentially breaking existing projects depending on Bun. New projects (without a lockfile) start at 1. Existing projects start at 0.
Post not available here, view on X
Bun
@bunjavascript
All of this will be discussed in the Bun v1.3.2 release notes.
Bun
@bunjavascript
Breaking changes are simply not worth anyone’s time, even when the change is a good thing.
-
Bun
@bunjavascript
Bun v1.3.2 ships tomorrow
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`.subscriptions` on `ServerWebSocket` returns the active pub/sub subscriptions for the websocket -
Bun reposted
Vasek Mlejnsky
@mlejva
Three lines of code and you have your own @bunjavascript sandbox on @e2b
Step 1: use e2b
Step 2: create bun based sandbox
Step 3: let AI agents run JS with bun
Step 4: profit
easy -
Bun reposted
Steren
@steren
I have been deploying @bunjavascript to Cloud Run since its public launch using a 3 line Dockerfile.
But should we add out-of-the-box support for it?
(Git deploy or "gcloud run deploy" on any bun app would just work, no Dockerfile needed)
Leave a thumb up at: -
Bun
@bunjavascript
Claude Code is a Bun single-file executable!
Claude
@claudeai
Claude Code's native installer is now generally available.
It's simpler, more stable, and doesn't require Node.js. We recommend this as the default installation method for all Claude Code users going forward.
Bun
@bunjavascript
To get started with single-file executables, run `bun build --compile <file>`
bun.com/docs/bundler/executables -
Bun reposted
Anthony Shew
@anthonysheww
Turborepo 2.6 is here!
→ Microfrontends
→ Bun package manager is now stable
→ Task list search in TUIThis media couldn't be displayed. See it on the original post.
Turborepo
@turborepo
Turborepo 2.6
· Develop with microfrontends locally
· Bun package manager support is now stable
· Task list search in TUI
turborepo.com/blog/turbo-2-6 -
Bun reposted
Lasse
@lassejlv
Why is no one talking about bunup.dev
wich uses @bunjavascript -
Bun
@bunjavascript
❤️
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun --cpu-prof <script>` generates CPU profiles you can open in Chrome DevTools, powered by JavaScriptCore's sampling profiler. -
Bun
@bunjavascript
many hosting companies are asking us this
Zhe Zhang
@zhzhng
.@bunjavascript does Bun have plans for a formal LTS (Long-Term Support) release cycle like Node.js?
-
Bun reposted
sosuke
@__sosukesuzuki
We often get asked, "Does Bun contribute to JSC?" The answer is yes. I've been at Bun for two months, but I've already created 55 Pull Requests for JSC, and 50 of them have been merged. Most of these benefit Safari as well as Bun.
-
Bun
@bunjavascript
In the next version of Bun & Safari
`Array.prototype.lastIndexOf` gets up to 2.5x faster, thanks to @__sosukesuzuki
github.com/WebKit/WebKit/pull/51809 -
Bun reposted
Jarred Sumner
@jarredsumner
React SSR on a Linux x64 hetzner machine
Bun v1.3.1: 131,112 requests per second
CF Workers: 21,878 requests per second -
Bun reposted
Corey Quinn
@QuinnyPig
I sure wish @awscloud Lambda supported the bun runtime. #awswishlist
-
Bun reposted
Liam Murray
@Lermatroid
Vercel Developers
@vercel_dev
Buntime
vercel.com/changelog/bun-runtime-now-in-public-beta-for-v… -
Bun reposted
Vercel Developers
@vercel_dev
Buntime
vercel.com/changelog/bun-runtime-now-in-public-beta-for-v… -
Bun
@bunjavascript
You can now deploy Bun's runtime to Vercel.
-
Bun reposted
Vercel
@vercel
We now support Bun on Vercel.
Bun is an open runtime pushing the frontier on DX and performance.
Start building and see our latest benchmarks.
vercel.fyi/buntime -
Bun reposted
Jarred Sumner
@jarredsumner
We are hiring 5 systems engineers to build the future of JavaScript
Strong background in Zig, C++, C or Rust required. We are in-office 5 days/week in San Francisco
Email careers@bun.com with some background about yourself and why you want to join Bun -
Bun reposted
Aaron Silvas
@Aaron_Silvas
I've been building an AI game for several weeks using @bunjavascript and it's been absolutely critical to the (very) rapid iterative development to support (mostly) unsupervised AI. 99.9% of code, content, art assets, and even play balance are entirely done by AI.
-
Bun reposted
Raghunath Prabhakar
@0xRaghuboi
was migrating an old project to @bunjavascript and @honojs.. feels satisfying to remove so many dependencies at once
-
Bun
@bunjavascript
In the next version of bun
bun test supports the `onTestFinished` callback which runs when the current test finishes
Bun
@bunjavascript
-
Bun reposted
Célia
@pariscestchiant
Bun
-
Bun
@bunjavascript
Bun v1.3.1
- Fixes 103 issues (addressing 172 👍)
- Faster `bun build` in symlink-heavy projects (especially on macOS)
- Fixed Windows hang
- bun test —pass-with-no-tests —only-failures
- publicHoistPattern in bun install
- Many bundler & runtime bugfixes
bun.com/blog/bun-v1.3.1 -
Bun
@bunjavascript
updated our docs!! 🥰
we now have dedicated sections for:
• runtime
• package manager
• bundler
• test runner -
Bun
@bunjavascript
Bun v1.3.1 is compiling
-
Bun reposted
Wes Bos
@wesbos
If you want to be able to call server functions from the client, RPC is often the move.
The Bun + Better Call combo gets you a fullstack solution in very little code. Server, Client, bundling and HMR 👌
had to record a little video showing the setupThis media couldn't be displayed. See it on the original post.
Wes Bos
@wesbos
Bun needs a lightweight client RPC so I can call server functions from the client with full types.
It has almost everything else that I need to spin up a quick demo without installing anything else.
Not a huge lift to throw in Hono or TRPC, but I feel like this is in the Bun ethos -
Bun reposted
JLarky
@JLarky
would you use something like this instead of YAML for github actions?
-
Bun reposted
Tobias Lins
@tobiaslins
I've just moved a Hono API to use this cute runtime.
My Vercel Function CPU usage dropped by ~30%
Bun
@bunjavascript
hi i’m bun! 🐰 js runtime based in the cloud ☁️
i install, build, run, and test js — all in one toolchain
let’s grab coffee or bun deploy this fall ☕️ -
Bun
@bunjavascript
hi i’m bun! 🐰 js runtime based in the cloud ☁️
i install, build, run, and test js — all in one toolchain
let’s grab coffee or bun deploy this fall ☕️ -
Bun
@bunjavascript
nice
Intent To Ship
@intenttoship
Blink: Intent to Ship: FileAPI: Blob.bytes()
groups.google.com/a/chromium.org/g/blink-dev/c/7C9nFj39BX… -
Bun reposted
cskadarla
@cskadarla
My React project setup evolution be like:
2020: npx create-react-app my-app
2021: npx create-next-app my-app
2023: npm create vite@latest my-app -- --template react
2025: bun init --react=shadcn
Web dev moves FAST. What's next? @reactjs @bunjavascript -
Bun
@bunjavascript
Always bet on JavaScript
-
Bun reposted
Klaas
@forgebitz
we are so close to having basically reinvented php
-
Bun
@bunjavascript
ARE YOU READY
Bun
@bunjavascript
LETS GET READY TO RUMBLE
-
Bun reposted
Joel Castillo
@joelcastillo
-
Bun
@bunjavascript
since people still ask us if Next.js works in Bun
here’s @leerob saying Next.js works in bun
Bun
@bunjavascript
yes
Jasper 張 🟠
@jasper_teo
Wait Nextjs can run on Bun’s runtime?
Bun
@bunjavascript
we even put it on our homepage
-
Bun reposted
Next.js
@nextjs
Lydia Hallie from Bun is taking the stage at Next.js Conf 25.
See how Bun's runtime pushes performance forward and makes building with Next.js faster than ever.
Oct 22 — Live in SF & streaming worldwide.
Lock in → nextjs.org/conf -
Bun
@bunjavascript
did you know
`bunx` is a faster alternative to `npx`
Bun
@bunjavascript
bunx is a symlink that points to bun. you can do `bun x` and it’s the same thing as `bunx` if for any reason your computer is not a fan of symlinks
-
Bun
@bunjavascript
❤️
-
Bun reposted
The Register
@TheRegister
Bun 1.3 stuffs everything and kitchen sink into JS runtime www.theregister.com/2025/10/13/bun_13_full_of_features/
-
Bun reposted
Hitesh Choudhary
@Hiteshdotcom
I am planning to switch my tutorials to @bunjavascript
Works like a magic and I don’t enjoy sitting in npm install. Will definitely need to educate in almost every video that it’s like nodejs but faster (more features). -
Bun reposted
I2CFrank
@baseduart
@bunjavascript the new bun 1.3 server idle is really nice :)
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun build` gets up to 50% faster (particularly when using isolated installs or pnpm on macOS) -
Bun
@bunjavascript
Bun v1.3 is our biggest release yet
This media couldn't be displayed. See it on the original post.Post not available here, view on X
Bun
@bunjavascript
+800 more tests from the Node.js test suite run on every commit of Bun.
if it works in Node.js and doesn't work in Bun, then please file an issue in Bun's github repository. It's our job to make sure everything that works in Node also works in Bun.This media couldn't be displayed. See it on the original post.
Bun
@bunjavascript
`bun install` now automatically migrates lockfiles from pnpm, yarn v1, and npm - while keeping your resolved dependency versions intact.
This lets you try `bun install` in existing projects with zero extra configuration
Bun
@bunjavascript
Isolated installs eliminate phantom dependencies in monorepos, and for workspaces it's now the default installation method for `bun install` (instead of "hoisted")
To configure this in bunfig.toml:
```
[install]
linker = "isolated"
# linker = "hoisted"
```
Bun
@bunjavascript
Bun
@bunjavascript
In large monorepos with many workspace packages, isolated installs with `bun install` run 70x faster than npm
-
Bun
@bunjavascript
In large monorepos with many workspace packages, isolated installs with `bun install` run 70x faster than npm
-
Bun reposted
Jared
@jaredLunde
I upgraded one of my functions to v1.3 and my memory usage dropped from 85MB to 27MB 😭😁
-
Bun reposted
ryoppippi
@ryoppippi
Thank you @bunjavascript bun.com/blog/bun-v1.3
-
Bun reposted
shadcn
@shadcn
In Bun v1.3, React, Tailwind, and your favorite components are just one command away.
-
Bun reposted
Railway
@Railway
Railway ❤️ @bunjavascript
Congrats to the Bun team on the v1.3 release!
Railway functions are powered by Bun and deploy in one second ⚡ -
Bun
@bunjavascript
Bun v1.3 is compiling
Bun
@bunjavascript
Update: it compiled
Bun
@bunjavascript
Introducing Bun v1.3
www.youtube.com/watch?v=tk7qTNW5g0c -
Bun
@bunjavascript
Introducing Bun v1.3
www.youtube.com/watch?v=tk7qTNW5g0c -
Bun reposted
Sergio Xalambrí
@sergiodxa
I wrote a demo app using @remix_run v3 with @bunjavascript, it uses Remix to render a few routes with a hydrated component
importmaps to load dependencies client-side from unpkg, and bun.build to transform client components on demand
github.com/sergiodxa/remix-v3-demo/tree/main -
Bun reposted
Sawyer Cutler
@TheGreatAxios
Switching from Node to @bunjavascript reduced deployment to @render to ~3 minutes all in. React Router is still incredibly slow (trying to determine why), a separate API is building and deploying with Bun in seconds but this cut the deployment process by over 50% from using Node.
-
Bun reposted
-
Bun
@bunjavascript
ah sorry phone died
-
Bun reposted
Tommy D. Rossi
@__morse
created a small cli to display git diff with opentui
try it with 𝚋𝚞𝚗𝚡 𝚌𝚛𝚒𝚝𝚒𝚚𝚞𝚎 -
Bun reposted
David
@dzhng
OK @bunjavascript is severely underrated as a package manager, I can't believe it took me this long to try it
-
Bun reposted
Sree
@eersnington
Jarred Sumner
@jarredsumner
Bun v1.3 releases tomorrow at 8am BST (Bun Standard Time)
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.3 releases tomorrow at 8am BST (Bun Standard Time)
-
Bun
@bunjavascript
many people are asking this
Heliton Nordt
@hnordt
WHERE IS IT
-
Bun reposted
Alex Styl
@alexstyl
🥟 Tried @bunjavascript today to see if it can speed up my Kotlin/JS server.
It is definitely fast. Startup is noticably faster vs node, and the server itself (from startup to listening) is 100ms faster.
My goal during development is to reduce the time it takes from saving the file to seeing changes on the browser.
Currently at ~2 seconds. It's 'ok' for iteration but still slow.
The major bottleneck right now is compilation speed -
Bun reposted
Luke
@LUK3D_AO
About 6 months ago, I built a prototype:
a native, cross-platform AI-based IDE that can generate a fully functional REST API using @elysiaJS and @bunjavascript.
It features full Git integration, so you can roll back any step if something breaks.
You just provide a data source and the agent plans everything, commits changes step-by-step, runs the server, and exposes the URL so you can instantly test the generated backend.
Today, I decided to go all-in on this project.
The goal: generate complete backends (and eventually full apps) from simple prompts.
Wish me luck! 😅
Ignore the fact that I was using windows 🤭🤭This media couldn't be displayed. See it on the original post. -
Bun reposted
Jamon
@jamonholmgren
Made another little Bun utility!
It's called bundrop and it lets you share a file with someone. It uses a CloudFlare Tunnel (similar to ngrok) to do so.
brew install cloudflared
cloudflared login
bunx bundrop@latest ./yourfile.zip -
Bun
@bunjavascript
Bun v1.3 in 2 days
-
Bun
@bunjavascript
Bun v1.3 in 3 days
-
Bun
@bunjavascript
DigitalOcean
@digitalocean
Thanks for looking out @bunjavascript, we'd love to partner on bringing Bun.js support to DigitalOcean developers and customers. Please DM us. 📲
-
Bun reposted
SaltyAom
@saltyAom
Yeah, I wouldn't recommend Bun test if you have a unit test in the CI pipeline that you use it as an excuse for a break
-
Bun
@bunjavascript
In the next version of Bun
`bun test --reporter=dots` prints a dot for each passing test instead of the test label, reducing verbosity
Bun
@bunjavascript
The CLI flag `--reporter=dots` or `--dots` are both supported and the bunfig.toml option is
```
[test]
reporters.dots = true
```
Thanks to pfgithub for implementing!
github.com/oven-sh/bun/pull/22919 -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`request.clone()` in Bun.serve() routes gets 14% faster. -
Bun reposted
Anthony Shew
@anthonysheww
In the next version of Turborepo
Bun to stable
Available in v2.5.9-canary-1 and above.
Try it out with the `turbo@canary` tag. Please let me know if you run into problems in the GitHub issue linked in thread. -
Bun
@bunjavascript
-
Bun
@bunjavascript
-
Bun
@bunjavascript
-
Bun reposted
Michael Grinich
@grinich
congrats @bunjavascript on launching 1.3 🥳
This media couldn't be displayed. See it on the original post. -
Bun reposted
Sam Hogan 🇺🇸
@samhogan
At the bun event getting autism
-
Bun
@bunjavascript
AoB
Bun
@bunjavascript
Solo Bunning
-
Bun
@bunjavascript
note to self: don’t let the intern near Sora 2 after midnight.
-
Bun
@bunjavascript
-
Bun
@bunjavascript
Bun v1.2.24 ships tomorrow
-
Bun
@bunjavascript
subway surfers bun
Bun
@bunjavascript
`bun asmr`
-
Bun
@bunjavascript
Ben Dicken
@BenjDicken
Over the past 8 days, I received over 100 PRs on the languages repo with additions and improvements.
- A bunch of languages were added
- Some implementations got tweaks to modify performance
- The run script now uses hyperfine for timing
Thanks to all the contributors. -
Bun
@bunjavascript
-
Bun
@bunjavascript
Bun v1.3 needs more time to steam
Shipping October 6th -
Bun reposted
alistair
@alistaiir
In the next version of Bun
You can now do `Bun.redis.blpop()`
You can now do `Bun.redis.brpop()`
You can now do `Bun.redis.copy()`
You can now do `Bun.redis.decrby()`
You can now do `Bun.redis.expireat()`
You can now do `Bun.redis.getbit()`
You can now do `Bun.redis.getrange()`
You can now do `Bun.redis.hdel()`
You can now do `Bun.redis.hexists()`
You can now do `Bun.redis.hgetdel()`
You can now do `Bun.redis.hgetex()`
You can now do `Bun.redis.hrandfield()`
You can now do `Bun.redis.hscan()`
You can now do `Bun.redis.hset()`
You can now do `Bun.redis.hsetex()`
You can now do `Bun.redis.hsetnx()`
You can now do `Bun.redis.hexpire()`
You can now do `Bun.redis.hexpireat()`
You can now do `Bun.redis.hexpiretime()`
You can now do `Bun.redis.hpersist()`
You can now do `Bun.redis.hpexpire()`
You can now do `Bun.redis.hpexpireat()`
You can now do `Bun.redis.hpexpiretime()`
You can now do `Bun.redis.hpttl()`
You can now do `Bun.redis.httl()`
You can now do `Bun.redis.incrby()`
You can now do `Bun.redis.incrbyfloat()`
You can now do `Bun.redis.lindex()`
You can now do `Bun.redis.linsert()`
You can now do `Bun.redis.lmove()`
You can now do `Bun.redis.lmpop()`
You can now do `Bun.redis.lpos()`
You can now do `Bun.redis.lrange()`
You can now do `Bun.redis.lrem()`
You can now do `Bun.redis.lset()`
You can now do `Bun.redis.ltrim()`
You can now do `Bun.redis.mset()`
You can now do `Bun.redis.msetnx()`
You can now do `Bun.redis.pexpire()`
You can now do `Bun.redis.pexpireat()`
You can now do `Bun.redis.psetex()`
You can now do `Bun.redis.randomkey()`
You can now do `Bun.redis.rename()`
You can now do `Bun.redis.renamenx()`
You can now do `Bun.redis.rpoplpush()`
You can now do `Bun.redis.scan()`
You can now do `Bun.redis.sdiff()`
You can now do `Bun.redis.sdiffstore()`
You can now do `Bun.redis.sinter()`
You can now do `Bun.redis.sintercard()`
You can now do `Bun.redis.sinterstore()`
You can now do `Bun.redis.setbit()`
You can now do `Bun.redis.setex()`
You can now do `Bun.redis.setrange()`
You can now do `Bun.redis.smismember()`
You can now do `Bun.redis.sscan()`
You can now do `Bun.redis.sunion()`
You can now do `Bun.redis.sunionstore()`
You can now do `Bun.redis.touch()`
You can now do `Bun.redis.unlink()`
You can now do `Bun.redis.zcount()`
You can now do `Bun.redis.zlexcount()`
You can now do `Bun.redis.zrange()`
You can now do `Bun.redis.zrangebylex()`
You can now do `Bun.redis.zrangebyscore()`
You can now do `Bun.redis.zrangestore()`
You can now do `Bun.redis.zrem()`
You can now do `Bun.redis.zremrangebylex()`
You can now do `Bun.redis.zremrangebyrank()`
You can now do `Bun.redis.zremrangebyscore()`
You can now do `Bun.redis.zrevrange()`
You can now do `Bun.redis.zrevrangebylex()`
You can now do `Bun.redis.zrevrangebyscore()`
You can now do `Bun.redis.zincrby()`
You can now do `Bun.redis.zmscore()`
You can now do `Bun.redis.zadd()`
You can now do `Bun.redis.zscan()`
You can now do `Bun.redis.zdiff()`
You can now do `Bun.redis.zdiffstore()`
You can now do `Bun.redis.zinter()`
You can now do `Bun.redis.zintercard()`
You can now do `Bun.redis.zinterstore()`
You can now do `Bun.redis.zunion()`
You can now do `Bun.redis.zunionstore()`
You can now do `Bun.redis.zmpop()`
You can now do `Bun.redis.bzmpop()`
You can now do `Bun.redis.bzpopmin()`
You can now do `Bun.redis.bzpopmax()`
You can now do `Bun.redis.blmove()`
You can now do `Bun.redis.blmpop()`
You can now do `Bun.redis.brpoplpush()` -
Bun reposted
Νεωτερισμοί Τάκης
@NeoterismoiTaki
I've had my fair share of beefs with @bunjavascript, but that's just what building software entails. However, being able to deploy and auto-update a service into a single executable has been a game-changer for my business. No git, no pm2, no npm dependencies. Pure bliss.
-
Bun
@bunjavascript
WHEN WILL @digitalocean ADD BUN FUNCTIONS??
UPVOTE ↓ -
Bun
@bunjavascript
many people are saying this!
Laurent
@StriftCodes
.@bunjavascript is so fast that sometimes I think my CLI commands did not run lol
-
Bun
@bunjavascript
Bun v1.2.23
- Fixes 119 issues (addressing 412 👍)
- `bun install` migrates `pnpm-lock.yaml` → `bun.lock`
- pub/sub in Bun.redis
- concurrent `bun test`
- `sql.array` for postgres client
- Node.js compatibility improvements
Thanks to 16 contributors!
bun.com/blog/bun-v1.2.23 -
Bun
@bunjavascript
Bun v1.2.23 is compiling
Bun
@bunjavascript
it compiled
-
Bun reposted
Dylan Conway
@dylanconway111
I wrote a YAML parser from scratch in Zig to make this work. The parser is missing cyclic references and literal chomping (|+ and |-).
Bun
@bunjavascript
In the next version of Bun
`bun install` migrates `pnpm-lock.yaml` & `pnpm-workspace.yaml` to `bun.lock`, preserving resolved dependencies. -
Bun
@bunjavascript
When Claude Code fetches Bun’s docs, Bun’s docs now send markdown instead of HTML by default
This shrinks token usage for our docs by about 10x -
Bun
@bunjavascript
In the next version of Bun
`bun install` migrates `pnpm-lock.yaml` & `pnpm-workspace.yaml` to `bun.lock`, preserving resolved dependencies. -
Bun
@bunjavascript
In the next version of Bun
Bun's builtin Redis client gets support for publish & subscribe.
Bun
@bunjavascript
Thanks to markovejnovic for implementing this!
github.com/oven-sh/bun/pull/22568 -
Bun reposted
Nikita Ivashkov
@spellitkit
At this point I'm up for anything those guys can come up with.
I've just built a data processing tool based on `bun init --react` and every damn second of building was such a joy.
This thing was hmr'ing while processing the queue. It didn't need to stop processing the queue. 🤯
Jarred Sumner
@jarredsumner
guess what’s new in bun install in v1.2.23
-
Bun
@bunjavascript
In the next version of Bun
`bun test --randomize` runs tests in random order
Bun
@bunjavascript
Thanks to pfgithub for implementing this! github.com/oven-sh/bun/pull/22945
-
Bun
@bunjavascript
In the next version of Bun
bun install now supports major, minor, and patch semver numbers up to 18,446,744,073,709,551,614 which fixes an issue impacting the Gemini CLI.
github.com/oven-sh/bun/pull/22889
Bun
@bunjavascript
Thanks to @dylanconway111 for implementing. The previous limit was 4,294,967,295
-
Bun
@bunjavascript
dockerhub is down
it’s not my fault 😭
Ben Snyder
@benpsnyder
@bunjavascript `docker pull oven/bun:debian`
-
Bun reposted
Railway
@Railway
From idea to deployment in minutes 🚄
Build and deploy your ideas with Cursor, Figma and Railway.
Watch @thisismahmoud take a design in @figma, turn it into code with @cursor_ai, and deploy it on Railway — featuring @bunjavascriptThis media couldn't be displayed. See it on the original post. -
Bun reposted
Prisma
@prisma
ICYMI: Curious how Prisma ORM works with @bunjavascript?
This guide covers:
- Using the new Rust-free Prisma Client
- Connect to Prisma Postgres using driver adapters
- Building a deployable Bun executable
Check it out 👇
pris.ly/bun-prisma-orm -
Bun
@bunjavascript
Bun
Cursor
@cursor_ai
Build your ideas with Cursor and @Figma.
Watch @leerob go from design to code with GPT-5-Codex and Agent.This media couldn't be displayed. See it on the original post. -
Bun
@bunjavascript
Max Rovensky
@MaxRovensky
wen bun java
-
Bun
@bunjavascript
this was the funniest one
Bun
@bunjavascript
> JAVA RUNTIME ENVIRONMENT
-
Bun
@bunjavascript
10 days until Bun v1.3
Bun
@bunjavascript
Bun
@bunjavascript
11 days until Bun v1.3
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
bun install supports `--os` and `--cpu` flags to install platform-specific dependencies for different targets than the current one -
Bun
@bunjavascript
11 days until Bun v1.3
Bun
@bunjavascript
Bun
@bunjavascript
Bun v1.3 ships in 25 days
-
Bun
@bunjavascript
In the next version of Bun
`test.concurrent` in bun:test starts the next test without waiting for others to finish
Bun
@bunjavascript
Big thanks to pfgithub for implementing this!
github.com/oven-sh/bun/pull/22534 -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
The error message for incorrectly escaped backticks & quotes is better -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.2.24 ships late tonight
-
Bun reposted
Fuma Nama
@fuma_nama
`fumadocs-mdx/bun`
will be our recommended way to access the `source` object outside of Vite/Next runtime in future -
Bun
@bunjavascript
The best AI coding CLIs have one thing in common
Powered by Bun:
✅ Claude Code
✅ CodeRabbit
✅ opencode
Not Bun:
💤 Gemini
😴 Codex
CodeRabbit
@coderabbitai
Introducing CodeRabbit CLI! 🎉
CodeRabbit's smart CLI reviews act as quality gates for Codex, Claude, Gemini, and you.
Stop shipping slop.
Start shipping quality.This media couldn't be displayed. See it on the original post. -
Bun
@bunjavascript
Bun is now on MDN!
Bun
@bunjavascript
Compatibility data on MDN comes from BCD (browser-compat-data) github.com/mdn/browser-compat-data
Special thank you to Vinyl, Claas & Florian, who helped us land Bun's data in BCD🎉 -
Bun
@bunjavascript
❤️
-
Bun
@bunjavascript
Bun
Coinbase 🛡️
@coinbase
We've built a bridge.
@solana ⇌ @base.This media couldn't be displayed. See it on the original post. -
Bun
@bunjavascript
what part of Bun do you use the most?
Bun
@bunjavascript
bun build would be an option if Twitter let us do 5 options in polls
-
Bun
@bunjavascript
@levelsio
New fun Nano Banana prompt I thought of after @csonotes told me to buy an IRL store and start selling CDs of my websites
"Make {your website} into a product box with a CD-Rom as if it was from 1995"
Bun
@bunjavascript
Bun
@bunjavascript
Bun LAN party
-
Bun
@bunjavascript
Bun v1.2.22
- Fixes 144 issues (addressing 257 👍)
- Async stack traces
- Bundler & minifier improvements
- Several MySQL client bugfixes
- WebSocket client `.protocol` fix
- Many node.js compatibility improvements & bugfixes
Thanks to 14 contributors!
bun.com/blog/bun-v1.2.22 -
Bun
@bunjavascript
Bun v1.2.22 is compiling
Bun
@bunjavascript
Update
It Compiled -
Bun
@bunjavascript
many such cases!
Satont
@satontw
Bun install is so fast, so i disabled github cache of node_modules and CI gets faster, because unpack cache was slower with runners cpu.
-
Bun
@bunjavascript
-
Bun
@bunjavascript
In the next version of Bun
React apps bundled with Bun's JavaScript minifier get at least 140 bytes smaller
Bun
@bunjavascript
To reproduce, run `bun init --react` and then build the index.html file
-
Bun
@bunjavascript
In the next version of Bun & JavaScriptCore
async functions show up in stack traces, thanks to @__sosukesuzuki
Bun
@bunjavascript
Separately, a bug where accessing `error.stack` made console.log(error) show fewer stack traces has been fixed.
-
Bun
@bunjavascript
Prisma
@prisma
🚀 After eight months of hard work, we removed the Rust engine binaries from Prisma ORM!
Here's why:
😍 Reduced bundle size by ~90%
⚡️ Faster queries (on avg ~3.48x faster in our benchmark)
🐾 Lower CPU footprint
💡 Less deployment complexity
🤝 Easier open-source contributions -
Bun reposted
Adam Rankin
@rankintweets
At Warp we're building with @bunjavascript and @EffectTS_
-
Bun
@bunjavascript
Why is bun install so fast?
Bun treats package installation as a systems programming problem. Minimize syscalls, use OS-native copy-on-write, cache manifests as binary, parallelize across all cores, and so much more
Read the full deep dive👇
bun.com/blog/behind-the-scenes-of-bun-install -
Bun
@bunjavascript
❤️
-
Bun
@bunjavascript
-
Bun reposted
erhant
@0xerhant
@bunjavascript with `-p` and built-in functions are love:
- bun -p "await Bun.sql`SELECT * FROM foo`"
- bun -p "await Bun.redis.get('key')"
- cat hashMe.txt | bun -p 'Bun.MD5.hash(await Bun.stdin.bytes(), "hex")'
- pbpaste | bun -p "Bun.inspect(await Bun.stdin.json())"
bun -
Bun
@bunjavascript
sadly, this strategy doesn’t always work
-
Bun
@bunjavascript
Bun has fast builtin alternatives for popular npm packages like:
strip-ansi — Bun.stripANSI
string-width — Bun.stringWidth
escape-html — Bun.escapeHTML
execa — Bun.$
better-sqlite3 — bun:sqlite
Fewer dependencies is good for supply-chain security -
Bun reposted
Railway
@Railway
Announcing Railway partnerships 🤝
Companies & OSS tools in our partner program get
- Verified templates
- Revshare
- Telemetry
Launching with: @Redisinc @bunjavascript @prisma @posthog @DrizzleORM @calcom @WaspLang @paradedb @resend @xata @falkordb
railway.com/partners -
Bun
@bunjavascript
To check if the malicious packages were installed:
```
cd ~/.bun/install
# ideally, this command doesn't print anything:
rg "const _0x112" -l
```
To clear your bun install cache, run either of these commands:
```
bun pm cache rm
rm -rf ~/.bun/install/cache
```
Socket
@SocketSecurity
🚨 Breaking: npm author Qix compromised. Malicious package versions published in projects that typically see hundreds of millions of downloads each week.
Details: socket.dev/blog/npm-author-qix-compromised-in-major-suppl…
Bun
@bunjavascript
If you don't have ripgrep installed, you can use `grep` instead but it might take a bit longer to run.
-
Bun
@bunjavascript
In the next version of Bun & Safari
set.values().toArray() gets 5x faster
sosuke
@__sosukesuzuki
After optimizing `Iterator#toArray`, `set.values().toArray` became just slightly faster than `[...set]` lol
-
Bun
@bunjavascript
In the next version of Bun
The `--workspaces` flag in `bun run` runs the package.json script in each workspace package
Bun
@bunjavascript
This is intended to make it easier for projects using `npm run --workspaces` to migrate to Bun.
-
Bun reposted
josh
@JoshCaughtFire
Diff lib and larger server (24c, 128gb ram), rs finally leads on JSON parse + serialization test!
- Ntex (rust): 62k rps
- @bunjavascript (cluster): 61k
- .NET 9 (web api, no AOT): 36k
- Go (net/http): 32k
- Bun (single thread): 23k
For bigger machine, multi-thread shines
1/2 -
Bun
@bunjavascript
Bun v1.3 ships in 25 days
Bun
@bunjavascript
Bun
@bunjavascript
27 days until Bun v1.3
-
Bun reposted
josh
@JoshCaughtFire
Was thinking of a .net 9 backend, but @bunjavascript is just stupid good
I know local benches are meh, so grain of salt obviously
.NET 9 (NAOT): 21.5k RPS (p99 6.2 ms)
Bun.serve: 31.5k RPS (p99 3.1ms)
Axum (Rust): 20k RPS (p99 0.9ms)
Rust has best tail (expected) but... bun -
Bun reposted
Prisma
@prisma
Running Prisma in @bunjavascript is simpler than you think.
Our new guide walks you through:
✅ Using the new Rust-free Prisma Client
✅ Connect to Prisma Postgres using driver adapters
✅ Building a deployable Bun executable
Read the guide👇
pris.ly/bun-prisma-orm -
Bun
@bunjavascript
In the next version of Bun
Bun's JavaScript transpiler & minifier gets slightly smarter -
Bun reposted
Peter Mbanugo
@p_mbanugo
Blogged: Building @reactjs Apps with @bunjavascript: A Modern Development Experience with ease of development"
pmbanugo.me/blog/react-app-with-bun -
Bun
@bunjavascript
yes extremely. the issue is
- Number in JS only goes up to 52 bits. Anything bigger is lossy. In practice, DB adapters turn > 32 bits into a BigInt.
- BigInt and Number don’t mix well.
- BigInt performance is not good. It’s a string posing as a number. Multiple allocations.
Drizzle ORM
@DrizzleORM
Well, int64 is really missing in js, one of the most painful thing with db communications right now
Bun
@bunjavascript
JS engine JITs might do clever things in the future like detect when your BigInt is actually an int64 through runtime profiling and then pass it around like an int64, without extra heap allocations
But who knows when/if they’ll ship it
github.com/WebKit/WebKit/pull/10658 -
Bun
@bunjavascript
.@kiwicopple supabun when?
-
Bun
@bunjavascript
27 days until Bun v1.3
Bun
@bunjavascript
Bun
@bunjavascript
30 days until Bun v1.3
-
Bun
@bunjavascript
we shipped a lot of stuff last month
-
Bun
@bunjavascript
In the next version of Bun & Safari
Error subclasses show where the error was thrown as the 1st frame instead of the subclass' constructor, thanks to @__sosukesuzuki
Bun
@bunjavascript
This makes stack traces less confusing and aligns the behavior with Node.js.
You usually don't care to see the code for the Error subclass. You want to see where the error was thrown! -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`postMessage(object)` gets up to 200x faster for objects with strings or primitive values. -
Bun reposted
Lydia Hallie ✨
@lydiahallie
🪄 bun natively supports macros
run a function at build time and inline its return. only the result gets bundled, not the function!
✦ precompute constants
✦ inline env, platform, version values
✦ fetch at build time (async supported)
✦ … many other small build-time tasks! -
Bun
@bunjavascript
In the next version of Bun & Safari
The error message when you destructure something undestructurable is better, thanks to @__sosukesuzuki -
Bun reposted
parbez
@notparbez
In the current version of bun #4
Do you know you can extend the bun runtime, build or test by using plugins? Like this plugin can load .svelte file in bun
parbez
@notparbez
In the current version of bun #3
Do you know Bun, Node, Deno all provides inbuilt Glob so you don't need to install any packages to do the same -
Bun
@bunjavascript
30 days until Bun v1.3
-
Bun
@bunjavascript
In the next version of Bun
Bun.SQL's builtin MySQL adapter gets 16% faster compared to Bun v1.2.21 -
Bun reposted
Yavnik Sharma
@paired_electron
Holy shit NASA used @bunjavascript in Apollo 11's code 🤯
GitHub Projects Community
@GithubProjects
Explore the actual Apollo 11 guidance computer code that landed humans on the Moon.
-
Bun reposted
Mamad
@mamad_dev
finally migrated all my projects to @bunjavascript, i'm happy now
-
Bun reposted
Chris 🧱
@chriszeuch
Today was a MASSIVE success 🔥
I've been on a quest to move my API E2E tests out of Postman and into @bunjavascript 💖
Spent quite a lot of time making things modular & optimized and the runtime stats are looking damn good ⚡ -
Bun
@bunjavascript
i love my dms
Bun
@bunjavascript
thank you all for your Bun’s. Know that your Bun’s will not go unanswered
-
Bun
@bunjavascript
many people are doing this.
Nazarii Korniienko 🇺🇦/oss
@blefnk
Change your profile picture to @bunjavascript Bun. I'm serious.
youtu.be/2_Dtmpe9qaQ -
Bun
@bunjavascript
In the next version of Bun
`Bun.YAML.stringify` converts JavaScript objects into YAML -
Bun reposted
Guillermo Rauch
@rauchg
ok, stay tuned
-
Bun
@bunjavascript
.@rauchg how can we help get first-class Bun support in @vercel?
-
Bun
@bunjavascript
Bun v1.2.21
- MySQL/MariaDB & SQLite adapters for Bun.SQL
- Native YAML support - bundle, import, require .yaml
- `Bun.secret`: secure secret storage for CLIs
- 500x faster postMessage(string)
- `compile` support in Bun. build API
- Security scanner API
bun.com/blog/bun-v1.2.21
Bun
@bunjavascript
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun.stripANSI is a 4x - 30x faster drop-in replacement for the 'strip-ansi' package
Bun
@bunjavascript
Jarred Sumner
@jarredsumner
In the next version of Bun
Reduced idle CPU usagePost not available here, view on X
Bun
@bunjavascript
Bun
@bunjavascript
In the next version of Bun
Native YAML support comes to JavaScript
Import, bundle, require and parse YAML in JS as easily as JSON
Bun
@bunjavascript
To upgrade, run `bun upgrade`
-
Bun reposted
matic?
@maticqq
Did this but for (x86_64) asm recently.
github.com/MaticBabnik/jsasm -
Bun reposted
parbez
@notparbez
Day 1 of making these posts work
Running go code in @bunjavascript. Setup code provided below
WolfYangFan
@WolfYangFan
In the next version of Bun
you’ll be able to use Bun.Go to run inline Go snippets. 💥 -
Bun
@bunjavascript
Bun v1.2.21 is compiling
Bun
@bunjavascript
it finished
-
Bun
@bunjavascript
In the next version of Bun
19 new TextDecoder encodings are now supported
Bun
@bunjavascript
This was taken directly from WebKit (Safari), so thanks to the WebKit team for the implementation!
-
Bun
@bunjavascript
In the next version of Bun
Native YAML support comes to JavaScript
Import, bundle, require and parse YAML in JS as easily as JSON
Bun
@bunjavascript
To make this work, we wrote a YAML parser in Zig. It passes 90% of the YAML 1.2 conformance test suite and we are continuing to make that number go up more soon.
-
Bun
@bunjavascript
many people are asking this
Dale
@ddaalee
why does the next version of bun do so much???
-
Bun
@bunjavascript
In the next version of Bun
Single-file executables on Windows can now customize metadata shown in "Explorer"'s details page, including:
- `--windows-title`
- `--windows-description`
- `--windows-publisher`
- `--windows-copyright`
- `--windows-version` -
Bun
@bunjavascript
In the next version of Bun
`map.getOrInsert(key, value)` sets the value if it doesn't already exist in the Map
Bun
@bunjavascript
This is the stage3 TC39 Upsert proposal
github.com/tc39/proposal-upsert
Bun
@bunjavascript
i lied. this shipped in the previous version of bun
-
Bun reposted
Conner
@connerphillippi
In the next version of Bun
bun.exe is code signed on Windows (alongside macOS) -
Bun
@bunjavascript
In the next version of Bun
Bun
@bunjavascript
sorry phone died
-
Bun reposted
Ciro Spaciari 🇧🇷🇺🇸
@cirospaciari
In the next version of Bun
Bun.SQL gets a native high-performance MySQL adapter -
Bun reposted
alistair
@alistaiir
In the next version of Bun
bun install gets a plugin API for security scanners to block malware. -
Bun
@bunjavascript
In the next version of Bun
`Bun.build` API now supports compiling single-file executables
Previously, this was only available via `bun build --compile` CLI -
Bun
@bunjavascript
In the next version of Bun
We made `postMessage(string)` 500x faster
Bun
@bunjavascript
Here's how (and the benchmark)
bun.com/blog/how-we-made-postMessage-string-500x-faster -
Bun reposted
alistair
@alistaiir
In the next version of Bun
Bun.SQL now supports SQLite, alongside PostgreSQL. -
Bun reposted
Railway
@Railway
Deploying @bunjavascript on Railway
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun update --interactive` is no longer flickery in large monorepos -
Bun reposted
Seva
@Two_Above
It took 15 minutes to convert a small Next.js app to Bun + Tanstack Start, and it is now running using 16x less memory! (329MB -> 20MB)
-
Bun reposted
syumai
@__syumai
👏🎉🎊🐙
sosuke
@__sosukesuzuki
Today is my first day at @bunjavascript
-
Bun reposted
sosuke
@__sosukesuzuki
Today is my first day at @bunjavascript
-
Bun reposted
Jarred Sumner
@jarredsumner
processStorage API
Zero-copy shared string map across Worker threads. Fully synchronous API.
Reads strings 2,500x faster than postMessage while using 150x less memory.
Should we ship this experiment? -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Reduced idle CPU usage -
Bun
@bunjavascript
Bun
@bunjavascript
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun.stripANSI is a 4x - 30x faster drop-in replacement for the 'strip-ansi' package -
Bun
@bunjavascript
error.GitHubIsDown
-
Bun reposted
Pulumi
@PulumiCorp
🚀 Pulumi now supports Bun as a package manager! Swap npm/Yarn/pnpm for Bun and enjoy installs up to 25× faster. Get faster installations with step-by-step setup guides. 👇
www.pulumi.com/blog/bun-package-manager/?hss_channel=tw-8… -
Bun
@bunjavascript
Bun v1.2.20
Bun
@bunjavascript
Read the full release notes
bun.com/blog/bun-v1.2.20 -
Bun
@bunjavascript
Bun v1.2.20
- Fixes 141 issues (addressing 429 👍)
- `bun install` migrates yarn.lock ⮕ bun.lock
- Reduced idle CPU usage
- Node.js compatibility improvements
- Many reliability improvements to runtime, dev server, bun test
Thanks to 19 contributors!
bun.com/blog/bun-v1.2.20 -
Bun
@bunjavascript
Bun v1.2.20 is compiling
Bun
@bunjavascript
update: it compiled
-
Bun reposted
Jarred Sumner
@jarredsumner
With `bun init --react`, this lets Claude Code read browser console logs & debug frontend code
cat
@_catwu
Claude Code can now handle long-running tasks in the background.
Start your dev server, run tests, or build your project without blocking your workflow -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
AbortSignal.timeout gets about 40x faster -
Bun reposted
Lydia Hallie ✨
@lydiahallie
⚡️bun just works™
bun init --react=shadcn
◆ React + Tailwind + shadcn
◆ Full TypeScript setup (.tsx/.ts without babel)
◆ Bun's built-in APIs (S3, Redis, SQL, WebSockets, etc.)
◆ Native test runner
◆ Cursor/Claude files included
◆ ... so much more, zero config 🚀 -
Bun
@bunjavascript
can’t find my glasses :(
Bun
@bunjavascript
found them!
-
Bun
@bunjavascript
❤️ @OpenAI
-
Bun
@bunjavascript
we're building a showcase of companies using bun in production 🚀
the performance wins we're hearing across different use cases are incredible. too good not to share
if you're running bun at scale, dm us to be featured! -
Bun
@bunjavascript
-
Bun
@bunjavascript
Many people are asking this
-
Bun reposted
WebStorm, a JetBrains IDE
@WebStormIDE
WebStorm now plays even better with @bunjavascript!
➡️ Auto-detects Bun in your project
➡️ Suggests it for package manager actions
➡️ Auto-creates run/debug configs for scripts
#newinwebstorm -
Bun reposted
harsh
@harshthedev
tbh, i didn't get the bun hype at first. but after building 3 full-scale projects (2 live in prod!) with @bunjavascript, i am eating my words (and some fresh buns 🥯)
-
Bun
@bunjavascript
-
Bun
@bunjavascript
plugins in opencode are powered by Bun!
dax
@thdxr
in opencode v0.3.128 you can write plugins in ts/js
these let you hook into what's going on and add your own custom logic
quick video on how it works - docs in replyThis media couldn't be displayed. See it on the original post. -
Bun reposted
Lydia Hallie ✨
@lydiahallie
Very excited to announce I'm joining @bunjavascript as Head of Propaganda (DX)🔥🔥
Finally turned my hobby of talking about javascript runtimes into a job, lol -
Bun reposted
Zark Muckerberg
@_wallstreetdev
The Joy of Javascript ™
-
Bun
@bunjavascript
total deploy time when using
`bun install`: 0 min 39 sec (6x faster)
`npm install`: 4 min 18 sec
Kresna Satya
@_kresnasatya
Ok! From now I will drop NPM & replace with @bunjavascript! See how really fast when you install & bundle assets on Bun instead of NPM on the screen. Even the NPM is not done yet!
This is a true software engineering craftsmanship. Huge respect to @jarredsumner & his team. 🫡 -
Bun reposted
Armin Ronacher ⇌
@mitsuhiko
I've been using @bunjavascript for some small tools and it's really enjoyable. I'm quite impressed how well its generated prompt works to make Claude work with it. It basically gives the AI some default substitutions. This tricky works decently well for non tool usage too.
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun --inspect-browser <script>` opens the debugger in the browser, saving you 1 click -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Idle CPU time is reduced -
Bun reposted
alistair
@alistaiir
In the next version of Next.js
You can import Bun APIs -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.2.20 ships today
-
Bun reposted
Adam Wolff
@dmwlff
📣 Attention Claude Code users: please help us test our new native builds.
We are beta testing a new distribution that is packaged as a single binary. No need for npm!
If you have a working claude installation already, just do `claude install` -
Bun reposted
-
Bun
@bunjavascript
Bun
Cursor
@cursor_ai
Agent will now always use the native terminal so all commands and history are shared.
-
Bun
@bunjavascript
Bun
@bunjavascript
-
Bun
@bunjavascript
pov: you used `bun run` without `--bun` on a script that has `#!/usr/bin/env node` at the top of the file
-
Bun reposted
arshad
@arshadyaseeen
Bundle your TypeScript libraries faster than you can say "bundle" ⚡️️ Powered by @bunjavascript.
✓ Build completed in 12ms with typescript declarations 👀
(video not sped up) -
Bun
@bunjavascript
In the next version of Bun
bun install now automatically migrates from yarn.lock -> bun.lock, preserving resolved dependency versions
Bun
@bunjavascript
Thanks to @RiskyMH5 for implementing this!
Bun
@bunjavascript
This is in addition to existing support for package-lock.json migration and .npmrc
Bun
@bunjavascript
`bun install` now reads `.npmrc` and `package-lock.json`
If your company uses npm, you can secretly try `bun install` -
Bun reposted
dax
@thdxr
we are officially working on opentui - a library for building terminal UIs in typescript
it is built on the work of kmdrfx - we are sponsoring him to solve this problem once and for all
clip is not sped up and it's running entirely in the terminal - link to repo in replyThis media couldn't be displayed. See it on the original post. -
Bun reposted
SaltyAom
@saltyAom
We want to add a "used by" section on Elysia doc
If you use Elysia at work, please let us know!
Direct link in reply ↓ -
Bun reposted
JLarky
@JLarky
If you are trying out @bunjavascript here's the order I would recommend:
- use bun instead of tsx or ts-node
- use bun install instead of npm
- use bun test instead of anything, it's that fast
- use bun instead of tsup/vite
- use bun compile
youtube.com/clip/UgkxWWoia7IBx6UpfoUKmw1EaoJVBjTVuS4R -
Bun
@bunjavascript
-
Bun
@bunjavascript
We'll announce a date for Bun v1.3 soon
Featuring guest appearances from several companies using Bun in production
• @bcherny (Anthropic)
• @_chenglou (Midjourney)
• @thdxr (Opencode)
• @JustJake (Railway)
• @leerob (Cursor)
• @masadfrost (Replit)
• @ryolu_ (Cursor)
Jarred Sumner
@jarredsumner
We filmed the Bun v1.3 video today
-
Bun
@bunjavascript
❤️
-
Bun
@bunjavascript
name that poster appearing in the bun v1.3 video
-
Bun reposted
David
@daavidaviid
I just submitted a PR to add a @bunjavascript custom adapter to support the @expo server runtime:
github.com/expo/expo/pull/38240
Do you think this is useful? -
Bun
@bunjavascript
many, many, many such cases!
Uchman
@MarcelObiefuna
I do and it significantly saves memory on my vps server
-
Bun
@bunjavascript
hey @nytimes please fix this
VEXEEE
@eeexev
Why @bunjavascript not in word list, new york times should update this important word
-
Bun reposted
behrooz evans
@Behroz
if you use @bunjavascript in production, raise your hands here so we get friends
side note: Im running a multi billion dollar organization on production with bun -
Bun
@bunjavascript
- 24,490
+ 7,018
a good diff
Soohoon Choi
@soohoonchoi
quick weekend pr to fix our codebase (shoutout @bunjavascript)
-
Bun
@bunjavascript
Bun v1.2.19
- Fixes 163 issues, addressing 1,043 👍
- `bun install --linker=isolated` : pnpm-style isolated symlink installs
- `bun update --interactive`
- `bun why <pkg>`
- VSCode test explorer integration
- Bun.sql gets faster
- `--console-depth`
bun.sh/blog/bun-v1.2.19 -
Bun
@bunjavascript
Bun v1.2.19 is compiling
-
Bun
@bunjavascript
hey @grok tag the 5 accounts who engage with me the most and don’t include anyone affiliated with or followed by or works at bun
-
Bun
@bunjavascript
❤️
-
Bun
@bunjavascript
no bun? codex includes bun. claude code github action runs on bun. jules thinks I don’t exist 😭
Jules
@julesagent
We just shipped a big update to the Jules dev environment: newer Rust, Node, and Python versions, better runtime isolation, and less pain from outdated dependencies.
Full changelog → jules.google/docs/changelog/
Bun
@bunjavascript
Jules
@julesagent
Jules now supports Bun as a JavaScript runtime. If your project uses Bun instead of Node, it’ll just work, no extra setup needed. Read more about the Jules environment! jules.google/docs/environment/
-
Bun
@bunjavascript
Bun now comes pre-installed in Jules!
Jules
@julesagent
Jules now supports Bun as a JavaScript runtime. If your project uses Bun instead of Node, it’ll just work, no extra setup needed. Read more about the Jules environment! jules.google/docs/environment/
-
Bun
@bunjavascript
In the next version of Bun
`bun install` on Windows gets close to the performance users expect
Isolated installs make `bun install` 10x faster
Bun
@bunjavascript
On macOS and Linux, isolated installs don't make bun install much faster.
Isolated installs prevent bugs in your application from depending on packages that weren't directly added ("phantom" dependencies)
Isolated installs are especially useful in monorepos. -
Bun reposted
Sivaram 👋
@SivaramPg
Whoever worked on Bun Redis Client at @bunjavascript, I love you!!
You just saved my ass on a @Railway deployment that's been haunting me badly! -
Bun
@bunjavascript
In the next version of Bun
`bun install --linker=isolated` brings pnpm-style isolated, symlinked node_modules to bun install.
This is a big improvement for using `bun install` in monorepos.
Bun
@bunjavascript
To configure this, set `install.linker = "isolated"` in bunfig.toml.
We recommend this for all workspaces going forward, and might make it a default setting for workspaces in Bun v1.3. -
Bun
@bunjavascript
In the next version of Bun
bun:test supports interpolating `$var` in test labels, which makes some tests cleaner to write
Bun
@bunjavascript
Previously, we supported the test.each syntax but we did not support variable interpolation in the label
Bun
@bunjavascript
Thanks to @RiskyMH5 for implementing this feature!
-
Bun
@bunjavascript
In the next version of Bun
`bun why <pkg>` helps answer "why is <pkg> installed?"
Bun
@bunjavascript
Thanks to @RiskyMH5 for implementing this!
-
Bun
@bunjavascript
In the next version of Bun
`Bun.sql` (Bun's builtin PostgreSQL client) gets faster with automatic query pipelining.Post not available here, view on X
Bun
@bunjavascript
To maximize performance, we schedule socket writes after microtasks are drained but before the next tick of the event loop and before setImmediate(). This leverages the same optimization we did for Bun.redis and Bun.file(path).writer().
Jarred Sumner
@jarredsumner
One of the tricks we use to make I/O APIs in Bun fast is the deferred task queue
Bun
@bunjavascript
Thanks to @cirospaciari for implementing this
-
Bun
@bunjavascript
In the next version of Bun
`test.coveragePathIgnorePatterns` in bunfig.toml excludes files from appearing in code coverage -
Bun
@bunjavascript
In the next version of Bun's VSCode extension
'Test Explorer' is implemented, proactively showing tests with `bun test` in the UI. This gif is at 1x speed.
Bun
@bunjavascript
Thanks to @RiskyMH5 for making this work
Bun
@bunjavascript
This replaces the "Run test | Watch test" codelens (right) in individual test files with real buttons and gives you a way to see all the tests in your workspace.
-
Bun
@bunjavascript
many such cases!
Richard 📽️
@richgrov
Replaced my vite app with @bunjavascript and can't believe how easy it is
bun ./index.html
This thing builds & reloads crazy fast -
Bun reposted
Chris ➔ abacatepay.com
@ChristoPy_
thanks @bunjavascript
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
The `--console-depth=N` flag controls how many objects deep `console.log` goes -
Bun
@bunjavascript
he didn’t answer :(
-
Bun
@bunjavascript
y r do ing?
-
Bun reposted
GitNation Foundation
@GitNationOrg
🎙️ "We intend for Bun to be a drop-in replacement for the existing Node.js ecosystem. Most of our engineering time is not actually spent on new features — it's spent on Node.js compatibility".
Join our conversation with @jarredsumner — creator of @bunjavascript, a fast all-in-one toolkit for JavaScript & TypeScript runtime and tooling.
The host is @PatrickAkil_, Beyond Coding podcast host.
In this chat with Jarred, we explore:
▪️ Why Bun was created and what makes it exciting
▪️ Compatibility with Node.js
▪️ Upcoming features and Bun’s future
▪️ How AI is shaping developer workflows — and more!
📺 Watch now: youtu.be/VGjJWXFYyQo -
Bun
@bunjavascript
many people are wondering this and only one person has the answer
Bun
@bunjavascript
@rauchg when
-
Bun
@bunjavascript
Bun
Alex Albert
@alexalbert__
If you’re new to Claude Code, or simply want to switch to the new native installer, you can try it out by running this command:
curl -fsSL claude.ai/install.sh | bash -
Bun reposted
Alex Albert
@alexalbert__
We’re also introducing a new native installer for Claude Code using the Bun runtime.
The new installer isn’t dependent on npm or node, and it offers a faster startup. -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.2.19 ships tomorrow
-
Bun
@bunjavascript
many are asking this!
Salim
@rsalimx
How did he build facebook without bun @bunjavascript ?
-
Bun
@bunjavascript
.@AVGFree is a BIG MEANIE!!!
César Casas
@lortmorris
WTF @bunjavascript
This is the first time i trying to run a bun project into windows, and my AVG is fired -
Bun
@bunjavascript
-
Bun
@bunjavascript
bun.com
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun update --interactive` helps you select which dependencies to update. -
Bun reposted
dlb
@davidlbowman
I've been using it for like maybe 2 years and 100% of my applications, and I've never had an issue. I think there were 3 days there was an HTTP regression, and I just didn't push the code to production.
-
Bun reposted
Lasse
@lassejlv
My next app is running full @bunjavascript for 2 months now (it's a client website) and i have not gotten a single issue. I'm pretty confident to say that bun is stable for @nextjs (from what i have experienced)
Let me know if you guys have any issues! -
Bun
@bunjavascript
If you’re seeing this drop an old pic of yourself that you still love
Jason
@ExPostGigaChad
If you’re seeing this drop an old pic of yourself that you still love
Wow, no gray hair. If I’m remembering correctly, I bumped into Shane McMahon about fifteen minutes later at Brookfield Place. He was unexpectedly friendly. -
Bun reposted
raymondreamer
@raymondreaming
Adding react into @bunjavascript changed the game.
Now you have a full backend and frontend.
Things I used to go to Next for, I now just use Bun. -
Bun
@bunjavascript
Bun v1.2.18
- Fixes 52 issues (addressing 112 👍)
- ReadableStream text(), json(), bytes(), blob()
- WebSocket client compression
- Reduced memory usage for fetch() & S3 uploads
- `bun pm version`
- Node.js compatibility fixes
Thanks to 14 contributors!
bun.sh/blog/bun-v1.2.18 -
Bun
@bunjavascript
In the next version of Bun
Math.sumPrecise lets you add precisely
Bun
@bunjavascript
Math.sumPrecise is a stage3 TC39 proposal github.com/tc39/proposal-math-sum
-
Bun
@bunjavascript
In the next version of Bun
`bun pm version <major|minor|patch|prerelease|from-git|>` lets you bump or read the current package's version -
Bun
@bunjavascript
Bun v1.2.18 is compiling
-
Bun
@bunjavascript
In the next version of Bun
Bun pretends to be Node.js v24.3.0 instead of Node.js v22.6.0Post not available here, view on X
Bun
@bunjavascript
This is more work than changing a version number!
This involves:
- Aligning with changes to N-API that Node previously did
- Updating our (incomplete) V8 C++ API implementation
Bun
@bunjavascript
"Why pretend to be a specific Node.js version?"
A ton of existing software depends on `process.versions.node` and Bun is designed to be a drop-in replacement for Node.js. The specific number especially matters for native addons, as they expect particular napi & v8 versions. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun test` errors when 0 tests match the `-t <filter>` regex. and it doesn't fill the logs with skipped tests.
test.skip & test.todo's behavior is unchanged. -
Bun
@bunjavascript
i don’t think you understand
you switch to bun install
your dependencies install faster
you switch to bun build
your app builds faster
you switch to bun test
your tests run faster
you switch to bun run
your package.json scripts start faster
you switch to bun’s runtime
you replace 1000 dependencies with bun’s builtin apis
you switch to bun’s runtime
your http server gets faster
you switch to bun’s runtime
you use jsx without a build step
you switch to bun’s runtime
tsconfig.json paths work at runtime
you switch to bun’s runtime
you can run react spa and api in the same server
you switch to bun’s runtime
you can build entire full-stack apps with practically zero dependencies
you switch to bun’s runtime
you can send a million messages per second over websockets
i don’t think you understand
Rhys
@RhysSullivan
i dont think you understand
you vibe code a saas
you get to $50k/month
you vibe code another saas
you get to $100k/month
you vibe code another saas
you get to $200k/month
you vibe code another saas
you get to $400k/month
you vibe code another saas
you get to $800k/month
you vibe code another saas
you get to $1.6M/month
you vibe code another saas
you get to $3.2M/month
you vibe code another saas
you get to $6.4M/month
you vibe code another saas
you get to $12.8M/month
you vibe code another saas
you get to $25.6M/month
you vibe code another saas
you get to $51.2M/month
you vibe code another saas
you get to $102.4M/month
you vibe code another saas
you get to $204.8M/month
you vibe code another saas
you get to $409.6M/month
you vibe code another saas
you get to $819.2M/month
you vibe code another saas
you get to $1.64B/month
you vibe code another saas
you get to $3.28B/month
you vibe code another saas
you get to $6.56B/month
you vibe code another saas
you get to $13.12B/month
i dont think you understand -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun.spawn gets ReadableStream support in `stdin`, so you can easily pipe ReadableStream -> subprocess stdin -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
you can do .text(), .bytes(), .blob(), and .json() on ReadableStream instances. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun's WebSocket client gets builtin compression support (`permessage-deflate` RFC 7692) -
Bun
@bunjavascript
`@cloudflare/sandbox` uses Bun
Cloudflare Developers
@CloudflareDev
We're excited to introduce Cloudflare Sandboxes — the easiest way to run LLM generated code on demand.
Sandboxes make it easy to spin up new instances of containers (and soon Workers — stay tuned!!) to make it easy to spin up tens, hundreds, or thousands of code-running agents -
Bun reposted
Tiger Chen & 前端之虎陈随易
@chenbimo
本地和服务器都已经把Node.js删掉了。
服务器上的pm2也跑在Bun上面。
All in Bun,让Bun再次伟大!
Node.js has been deleted locally and on the server.
PM2 on the server also runs on Bun.
All in Bun,Make Bun greate again. @bunjavascript -
Bun reposted
Steven Tey
@steventey
ok I think I found our winner chat: better-t-stack.dev
it's a modern, open-source CLI tool to scaffold e2e type-safe TS projects.
here's an example:
✦ @nextjs FE/BE
✦ @bunjavascript runtime
✦ @trpcio API
✦ @prisma postgres DB
✦ @turborepo
incredible work @amanvarshney 👏
Steven Tey
@steventey
OK let's do this
If you're a student hacking on a side project – drop a dub.sh link to your project in the comments 👇
Winner gets the $420.69 payout + lifetime Pro subscription to @dubdotco 👀 -
Bun
@bunjavascript
Bun v1.2.17
Bun
@bunjavascript
Read the full release notes
bun.sh/blog/bun-v1.2.17 -
Bun
@bunjavascript
Bun v1.2.17
- Fixes 50 issues (addressing 80 👍)
- Bundle full-stack apps ahead of time with `bun build`
- Bun Shell reliability fixes
- Node.js compatibility fixes for child_process, zlib (zstd), tls and --unhandled-rejections
Thanks to 15 contirbutors!
bun.sh/blog/bun-v1.2.17 -
Bun
@bunjavascript
In the next version of Bun & Safari
`Number.isSafeInteger(value)` is JIT compiled, thanks to Gumichocopengin8 -
Bun
@bunjavascript
Bun v1.2.17 is compiling
-
Bun reposted
zack
@zack_overflow
In the next version of Bun
Bun shell gets several stability improvements including better support for deeply nested shell command invocations -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun build --compile` & `bun build` get support for bundling full-stack apps into a single file.
HTML imports on the server kick off a frontend build ahead of time.
This makes it simpler to deploy full-stack React apps. -
Bun
@bunjavascript
In the next version of Bun
bun:sqlite's `columnTypes` tells you the column types of the sqlite query, thanks to @crishoj
Bun
@bunjavascript
@DrizzleORM does this unblock migrations support for bun:sqlite?
-
Bun
@bunjavascript
-
Bun reposted
Normarayr
@normarayr
Prompting MacOS 26 built in LLM model using @bunjavascript and some rust glue
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun init` detects if claude code is installed and adds a "claude.md" to tell claude to use bun -
Bun
@bunjavascript
many such cases!
Mubashir
@mubshrx
i converted my next.js + hono project running on node.js to bun and it just worked with a few changes without any issues
-
Bun
@bunjavascript
many people are asking this
promethean
@quantizor
When will @vercel support @bunjavascript as a runtime (not just build)
Bun
@bunjavascript
only @rauchg knows the answer
-
Bun
@bunjavascript
Bun v1.2.16
Bun
@bunjavascript
The full release notes are available on our blog
bun.sh/blog/bun-v1.2.16 -
Bun
@bunjavascript
Bun v1.2.16
- Fixes 73 issues (addressing 124 👍)
- Serve files with `Bun.serve` in `routes`
- `vm.SyntheticModule` & `node:http_parser`
- Rewrote much of node:net for improved Node.js compatibility
- Bun.spawn uses less ram
Thanks 25 contributors!
bun.sh/blog/bun-v1.2.16 -
Bun
@bunjavascript
Bun's Happy Day
Post not available here, view on X
Bun
@bunjavascript
It was a baby chick!
She was lost.
"I can help!" said Bun.
So he stepped outside.
Bun
@bunjavascript
If this gets 50 likes I’ll post part two.
-
Bun
@bunjavascript
Bun v1.2.16 is compiling
-
Bun reposted
Wildan
@wzulfikar
@bunjavascript is THE FASTEST WAY to get up and running with Typescript.
No config, just works. -
Bun
@bunjavascript
In the next version of Bun
Standalone executables can be bun with the `BUN_BE_BUN=1` env var, thanks to @thdxr. This lets you use all the features of Bun's CLI in your standalone executable.
Bun
@bunjavascript
This is useful for building CLI tools on top of Bun that may need to install packages, bundle dependencies, run different or local files and more without needing to download a separate binary or install bun
-
Bun reposted
blank
@graffhyrum
@bunjavascript the day is finally here.
-
Bun reposted
VEXEEE
@eeexev
There you go
Jarred Sumner
@jarredsumner
In the next version of Bun
You can pass files directly to routes in Bun.serve() -
Bun
@bunjavascript
Serving an 8 KB package.json file
Bun v1.2.16: 219,714 req/s (5x faster)
Node v24.1.0: 39,178 req/s
Bun
@bunjavascript
The code. Neither is caching content or metadata.
Benchmarking command:
```
oha localhost/package.json -n 1000000 -c 25
```
Bun
@bunjavascript
Correction: the package.json file in the benchmark was 5,939 bytes
-
Bun reposted
Ryo Lu
@ryolu_
@bunjavascript bun!
-
Bun reposted
Ryu
@rmiyazaki3
@bunjavascript Bun
-
Bun reposted
Kiet
@FlyaKiet
I don’t think I’ve liked a devtool as much as I like bun
-
Bun reposted
Ytzhak
@snipeship
5️⃣ @bunjavascript to the rescue!
Higher-throughput instances = fewer vCPUs to push the same QPS.
Result: $1k -> ~$500 / mo on EC2. Crazy!
We ❤️ Bun -
Bun
@bunjavascript
❤️
-
Bun reposted
Je Xia
@jexia_
mono-jsx router using @bunjavascript builtin server routes, no `URLPattern` needed😋
-
Bun reposted
Faris Masad
@masadfrost
I wrote a proxy in Bun in 30 minutes, deployed in a couple of minutes on Replit to serve a production use-case many of our users will soon be hitting.
It felt so good knowing that what I wrote can in theory run client side with no compilation other than stripping types. Using crypto subtle, standard fetch APIs (Request and Response), all the latest ArrayBuffer APIs that makes me not reach for Node's Buffer, all the latest crypto APIs..etc
Runs buttery smooth and so fast!
Aiden Bai
@aidenybai
bun is so nice to use. this is all i need to run a web server
-
Bun reposted
Jarred Sumner
@jarredsumner
Spawning `cat` 100,000 times in batches of 100 on Linux x64
Bun v1.2.16 (left): 7.5 seconds (8.5x faster)
Node.js v24.1.0 (right): 64.5 seconds -
Bun
@bunjavascript
timeline cleanse
-
Bun
@bunjavascript
In the next version of Bun
`bun outdated` gets support for catalog dependencies, thanks to juliesaia -
Bun reposted
OpenAI Developers
@OpenAIDevs
Next batch of Codex open source fund grant recipients:
⬩Bun - fast, all-in-one JavaScript toolkit @bunjavascript
⬩Ratatui - Rust library for cooking up terminal UIs @ratatui_rs (used in Codex!)
⬩Apache Maven - build and dependency management for Java @ASFMavenProject
⬩Ghostty - fast, cross-platform and Rust-based terminal emulator @Ghosttyorg
We’re also sharing an update on Codex CLI… -
Bun
@bunjavascript
what’re you working on?
-
Bun
@bunjavascript
Bun v1.2.15
Bun
@bunjavascript
full release notes
bun.sh/blog/bun-v1.2.15 -
Bun
@bunjavascript
Bun v1.2.15
- Fixes 11 issues (addressing 261 👍)
- `bun audit` scans for vulnerabilities
- `bun pm view <pkg>`
- `bun init` adds a Cursor rule
- `bun ./index.html` gets "Automatic workspace folders" edit files in browser
- Fixes for vm & worker_threads
bun.sh/blog/bun-v1.2.15 -
Bun
@bunjavascript
Bun v1.2.15 is compiling
-
Bun
@bunjavascript
In the next version of Bun
`vm.SourceTextModule` in node:vm's `--experimental-vm-modules` is now supported in Bun, thanks to heimskr -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
Bun's frontend dev server gets "automatic workspaces" support in Chrome DevTools, so you can edit files in the browser. -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun init` detects if you're using Cursor and adds a Cursor rule to guide the agent to use Bun's CLI & APIs -
Bun
@bunjavascript
many such cases
Jake Casto
@0x15f
Went to enable SSR for an OLDDDD react (inertia+laravel) project and got a bazillion errors about cjs+esm with legacy deps. Swapped to bun and not only are builds way faster but runtime just works 🤷♂️🤷♂️
-
Bun reposted
alistair
@alistaiir
In the next version of Bun
createHistogram() from node:perf_hooks records durations and tracks min, max, mean, stddev, percentiles over time. -
Bun reposted
Sully
@SullyOmarr
i've basically moved everything from node to bun
all the annoying typescript config is magically solved
bun is actually so much better -
Bun
@bunjavascript
`bun init` includes a complete copy of Bun's docs in `node_modules/bun-types/docs`.
This helps tell tools like Claude Code read the docs -
Bun reposted
johan
@elitasson
I am building Luma: Ship Docker Anywhere.
It's a new tool for hosting web apps on your own server with zero-downtime deployments and automatic SSL certificates.
It's me vibe-coding an alternative to @dhh 's Kamal in TypeScript (@bunjavascript) / Go. -
Bun reposted
alistair
@alistaiir
In the next version of Bun
`bun pm audit` reports security advisories for dependencies -
Bun
@bunjavascript
guess the new subcommand coming in the next version of Bun
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
`bun pm view <pkg>` prints package metadata from the npm registry -
Bun
@bunjavascript
When you "@claude" on GitHub, you're running Bun
❤️ @AnthropicAI
Alex Albert
@alexalbert__
Just @ Claude in Github to go from an issue to a PR fix
Crazy how well this works with Claude 4 -
Bun
@bunjavascript
Bun v1.2.14
-
Bun
@bunjavascript
Bun v1.2.14
- Fixes 39 issues (addressing 179 👍)
- Catalogs in bun install simplify sharing dependency versions in monorepos
- Fixes HTTPS proxy issue impacting OpenAI Codex
- zstd + fetch
- Several Node compatibility bugfixes
Thanks to 13 contributors!
bun.sh/blog/bun-v1.2.14
Bun
@bunjavascript
Bun
@bunjavascript
In the next version of Bun
catalogs in `bun install` simplify sharing dependency versions across workspace packages in your monorepoPost not available here, view on X
Bun
@bunjavascript
Bun
@bunjavascript
In the next version of Bun
`bun --install=force <script>` forces bun to ignore node_modules & install + resolve from bun install's shared global cache
Bun
@bunjavascript
To upgrade, run `bun upgrade`
-
Bun
@bunjavascript
Bun v1.2.14 is compiling
-
Bun reposted
-
Bun
@bunjavascript
guess the new feature coming today in Bun v1.2.14
Bun
@bunjavascript
Bun
@bunjavascript
In the next version of Bun
catalogs in `bun install` simplify sharing dependency versions across workspace packages in your monorepo -
Bun
@bunjavascript
In the next version of Bun
catalogs in `bun install` simplify sharing dependency versions across workspace packages in your monorepo -
Bun reposted
dax
@thdxr
bun's single file executables are slept on
i usually choose go when i want a single binary i can easily distribute cross platform, this achieves that
just moved something from go to bun and it starts faster now - not a runtime thing was just easier to implement efficient code -
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.2.14 ships tomorrow
-
Bun
@bunjavascript
Bun comes preinstalled in OpenAI Codex.
❤️ @OpenAI
OpenAI
@OpenAI
We’re launching a research preview of Codex: a cloud-based software engineering agent that can work on many tasks in parallel.
Rolling out to Pro, Enterprise, and Team users in ChatGPT starting today.
chatgpt.com/codex -
Bun reposted
TinyBase
@tinybasejs
🎉 TinyBase v6.1 🎉
1️⃣ Persist to @bunjavascript's embedded SQLite DB.
2️⃣ Load just subsets of database tables into a Store.
3️⃣ DX: object args on sorting hooks & new auto persisting conveniences.
Huge shoutout to @jakubriedl for helping on this release. Much more coming! 🙏 -
Bun reposted
SaltyAom
@saltyAom
If you have never tried ElysiaJS, what can I do to change your mind
-
Bun
@bunjavascript
Bunary
Ytzhak
@snipeship
bunary type
-
Bun
@bunjavascript
In the next version of Bun
`bun --install=force <script>` forces bun to ignore node_modules & install + resolve from bun install's shared global cache
Bun
@bunjavascript
Previously, this feature was partially implemented but not fully wired up to work when the packages weren't already in the install cache, and it lacked test coverage. Now it has test coverage and works as expected.
bun.sh/docs/runtime/autoimport -
Bun reposted
Elvinas Predkelis
@predkelis
I've been trying to compile a script with some native extensions into a single-file executable. I've tried using all sorts for tech - pyinstaller, node, cargo, etc. It was absolute hell in which I've spent days if not weeks.
I've randomly thought to give @bunjavascript a go. I ran `bun build` and it literally one-shotted it without any configuration in like 140ms. Mind = blown.
@jarredsumner - Thank you, thank you and thank you🙏 -
Bun
@bunjavascript
"With Bun, our entire deploy step takes less time to finish than npm install fastify did"
❤️ @Railway -
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
The `--sql-preconnect` flag warms up the database connection before your app loads. -
Bun
@bunjavascript
Bun v1.2.13
Bun
@bunjavascript
alt
Bun
@bunjavascript
Read the full release notes bun.sh/blog/bun-v1.2.13
-
Bun
@bunjavascript
Bun v1.2.13
- Fixes 17 bugs (addressing 28 👍, adding +28 passing Node.js tests)
- Improved worker_threads support
- `bun --hot` stability fixes
- Fixed edgecase with loading .npmrc on Windows
- Node.js compatibility fixes
Thanks to 7 contributors!
bun.sh/blog/bun-v1.2.13 -
Bun
@bunjavascript
In the next version of Bun
Matrix multiplication-like code gets up to 2x faster, thanks to hyjorc1
Bun
@bunjavascript
The DFG JIT now partially unrolls loops in certain cases
github.com/WebKit/WebKit/pull/42949 -
Bun reposted
MJ
@mjackson
I relaunched @unpkg a few weeks ago, completely rewritten from scratch!
The backend is:
- @cloudflare Workers
- @flydotio and @bunjavascript for serving files
- esbuild
The frontend:
- @preactjs for components + hydration
- @tailwindcss
Source:
github.com/unpkg/unpkg -
Bun reposted
Jarred Sumner
@jarredsumner
small thing: `bunx bun-inspect-echo <args ...>` echos the webkit inspector protocol output
-
Bun
@bunjavascript
The oven-sh/setup-bun GitHub Action is now verified on GitHub
Bun
@bunjavascript
This unblocks some companies from using the oven-sh/setup-bun GitHub action
-
Bun
@bunjavascript
many people are saying this
amar
@am_a_r__
people are missing out on Bun @bunjavascript , its as much of a boost as an LLM.
-
Bun reposted
Matthew Linkous
@matthew_linkous
`bun link` is @bunjavascript's most slept on feature. It always works unlike basically every other package manager
-
Bun
@bunjavascript
`bun pack` irl
-
Bun reposted
Jarred Sumner
@jarredsumner
Bun v1.2.13 ships today
-
Bun
@bunjavascript
yay they stopped
Bun
@bunjavascript
y u do dis @kaspersky
Bun
@bunjavascript
thanks to @connerphillippi
Conner
@connerphillippi
@manji_ro_sano should be fixed!
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
When you typo a package.json script, bun prints a "Did you mean <script>" auto-suggestion -
Bun reposted
Beka
@bekacru
Default Bun SQLite support is coming in v1.2.8
This is literally all you need to run a full blown auth server :__ -
Bun reposted
SaltyAom
@saltyAom
Introducing Elysia 1.3 and Scientific Witchery
Feature:
- Exact Mirror: Near 0 overhead normalization
- Bun System Router
- Standalone Validator
- Reduced type instantiation by half
- Lower memory usage and faster start up time
↓ Release note below ↓ -
Bun
@bunjavascript
-
Bun
@bunjavascript
Bun v1.2.12
-
Bun
@bunjavascript
Bun v1.2.12
- Echo browser console logs to terminal
- Reduced memory usage for frontend hmr with Bun.serve()
- Node.js compatibility fixes for `timers`, `vm`, `net`, and `http`
- bugfix for global postinstalls impacting Claude Code
thx 10 contributors!
bun.sh/blog/bun-v1.2.12 -
Bun
@bunjavascript
In the next version of Bun
Bun's frontend dev server uses up to 80% less memory.
Bun
@bunjavascript
The screenshot above was a simple React app that imported all of the popular `lucide-react` icon package after hot reloading 307 times.
Bun
@bunjavascript
The memory reduction was a few things:
- Detecting when sourcemaps are no longer reachable
- No longer duplicating quoted source contents and original source contents
The actual number for real-world applications after hours of use may exceed 80% -
Bun
@bunjavascript
In the next version of Bun
98.4% of Node.js' test suite for the "timers" module pass in Bun. -
Bun
@bunjavascript
bun v1.2.12 is compiling
-
Bun
@bunjavascript
can you find bun?
-
Bun
@bunjavascript
y u do dis @kaspersky
-
Bun reposted
Ytzhak
@snipeship
Why we’re migrating to @bunjavascript for key services at @linkme (serving 2M+ users daily): faster builds, blazingly fast containers, greater scalability:
🧵👇 -
Bun reposted
Yassine Zeriouh
@xyassini
it's stupid how fast @bunjavascript's `bun i` is compared to `npm i`
-
Bun reposted
Jarred Sumner
@jarredsumner
In the next version of Bun
The `--console` flag in `bun ./index.html` echoes browser console logs to the terminal -
Bun
@bunjavascript
Bun v1.2.11
- Fixes 62 bugs (addressing 77 👍)
- Faster JavaScript parsing for larger files
- inject preloads with `$BUN_INSPECTOR_PRELOAD`
- Node.js compatibility improvements for `http/tls/crypto/readline` modules
Thanks to 14 contributors!
bun.sh/blog/bun-v1.2.11?t -
Bun reposted
Christian O.
@_christian_o
With absolutely 0 context, guess which one is running @bunjavascript as opposed to node....
-
Bun reposted
Axel Nana
@na2axl
Started to migrate my apps to @bunjavascript, and it definitely worth it. Bun is so GOATED 🙌🏾
-
Bun reposted
Joe Previte
@jsjoeio
my first AI chat app, thanks to @thorstenball's blog post
pretty incredible how simple it is:
1. get user input
2. send to @AnthropicAI's API
3. display response to user
repeat, adding each new message to the conversation -
Bun reposted
Christoffer Bjelke
@chribjel
been shipping fst.chat with @bunjavascript + React for the last couple days.
enables incredibly fast shipping. creds to the bun team! -
Bun reposted
Jamon
@jamonholmgren
I’ve built several small Bun-powered websites/web apps like this, and it works very well. It took some iteration to get it right. ZERO dependencies.
Maybe I’ll wrap it up in a little template on GitHub.
What should I call it?
Jamon
@jamonholmgren
Bun with some template strings rendering HTML, hosted on a DO droplet.
-
Bun reposted
-
Bun reposted
Liran Tal
@liran_tal
This year at @NodeTLV conference I won't talk about Node.js... I'll talk about Bun! 😜
We'll draw parallels with Node.js and if you're curious about the @bunjavascript security mechanisms and attack surface come and learn insights based on my comprehensive security research -
Bun
@bunjavascript
Bun's docs now has a /llms-full.txt, which combines all the docs and guides into one markdown file
bun.sh/llms-full.txt
Bun
@bunjavascript
Gemini 2.5 & GPT 4.1 can fit all of Bun's docs in the context window
-
Bun
@bunjavascript
In the next version of Bun
100% of the Node.js tests for the `events` module pass in Bun. -
Bun reposted
Cory House
@housecor
Just converted a small test suite from Vitest to bun:test.
Bun is about 2x faster.
Vitest: 575ms
Bun: 273ms
And since bun:test syntax is similar to Jest/Vitest and it has TypeScript and JSX support built in, the conversion was easy: -
Bun reposted
Jarred Sumner
@jarredsumner
Bun’s 60 day goal: get 90% of Node.js’ test suite to pass in Bun
For Bun employees during these 60 days, we setup a $200 bonus for every single newly passing test file from Node.js’ test suite that merges. -
Bun
@bunjavascript
❤️
-
Bun
@bunjavascript
`bun install` now reads `.npmrc` and `package-lock.json`
If your company uses npm, you can secretly try `bun install` -
Bun
@bunjavascript
`vite dev` in bun for windows seems to work











































































































































































































































































































































































































































































































































