Sign in

Jarred Sumner

@jarredsumner.com
8.3K followers 32 following 125 posts

building Bun. formerly: stripe (twice) thielfellowship. high school dropout 🌈

PostsRepliesMedia
Jarred Sumner @jarredsumner.com · 26/05/2026
There’s a barely-reviewed claude PR for it in Zig that will need to be rewritten. Just haven’t had time to read it closely enough
120
Jarred Sumner @jarredsumner.com · 16/05/2026
it’s a good rewrite
251
Jarred Sumner @jarredsumner.com · 18/03/2026
Deno inspired large parts of Bun, particularly early on. Thank you for your work in the JavaScript ecosystem Luca — wishing you the best with whatever you do next.
0350
Reposted by Jarred Sumner
Simon Willison @simonwillison.net · 27/11/2025
At the risk of starting the flame war to end all flame wars... Modern LLMs (GPT-5.1, Claude 4.5, Gemini 3) produce excellent code and can be a significant productivity boost to software engineers who take the time to learn how to effectively apply them - especially if used with coding agent tools
8877274
Jarred Sumner @jarredsumner.com · 06/10/2025
Can you point to a specific thing we said that was rude to any person or any group? So far, this reads a bit like that thing that happens on Twitter where one person says “waffles are good” and someone else replies “why do you hate pancakes?”
230
Jarred Sumner @jarredsumner.com · 06/10/2025
can you be more direct because I’m not very good at reading rooms
130
Jarred Sumner @jarredsumner.com · 14/09/2025
Generally I would be concerned about a breaking change like that, but I suspect this is pretty rare to be used since it took awhile for anyone to ask for it, so it’s probably fine.
150
Jarred Sumner @jarredsumner.com · 14/09/2025
Yeah, this wasn’t well thought out and is an unimportant feature. We will change it to not be configured this way.
120
Reposted by Jarred Sumner
Bun @bun.sh · 29/08/2025
30 days until Bun v1.3
3561
Reposted by Jarred Sumner
Bun @bun.sh · 28/05/2025
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....
bun.sh
Bun v1.2.15
Fixes 11 issues (addressing 261 👍). bun audit scans dependencies for security vulnerabilities, bun pm view shows package metadata from npm. bun init adds a Cursor rule to use Bun instead of Node.js/Vi...
3383
Jarred Sumner @jarredsumner.com · 07/05/2025
Yeah.
020
Jarred Sumner @jarredsumner.com · 06/05/2025
It will only get better
1230
Jarred Sumner @jarredsumner.com · 23/04/2025
We debated opening this up to external contributors, but we’re a small team and worry about how long it’d take us to review a potentially large number of PRs at once If work like this sounds fun, we are hiring engineers in-person in San Francisco. bun.sh/careers
0100
Jarred Sumner @jarredsumner.com · 23/04/2025
Some PRs add like 50 test files so that $200 bonus adds up quickly ($10,000) We’re not merging slop. There will be 2 reviewers for every PR + I’m going to review every PR.
1140
Jarred Sumner @jarredsumner.com · 23/04/2025
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.
1320
Jarred Sumner @jarredsumner.com · 06/04/2025
`Bun.redis` is shorthand for `new Bun.RedisClient(process.env.REDIS_URL)`
170
Jarred Sumner @jarredsumner.com · 06/04/2025
In the next version of Bun `Bun.redis` is Bun's builtin Redis client
import { redis } from "bun";

// Set a key
await redis.set("greeting", "Hello from Bun!");

// Get a key
const greeting = await redis.get("greeting");
console.log(greeting); // "Hello from Bun!"

// Increment a counter
await redis.set("counter", "0");
await redis.incr("counter");

// Check if a key exists
const exists = await redis.exists("greeting");

// Delete a key
await redis.del("greeting");
8990
Reposted by Jarred Sumner
Bun @bun.sh · 27/03/2025
Bun v1.2.7 - Fixes 35 bugs (addressing 219 👍) - Builtin request.cookies.set & get in Bun.serve() routes - Fixed TypeScript type definitions conflicts with `@types/node` & libdom - Bugfixes for node:http, node:vm Thanks to 13 contributors! Full release notes below
2583
Reposted by Jarred Sumner
Bun @bun.sh · 25/03/2025
Bun v1.2.6 - Fixes 74 bugs (addressing 36 👍) - node:crypto gets faster & more Node.js compatible - Faster fastify & express - `timeout` in Bun.spawn - Dev Server stability fixes - Bun.SQL unix domain sockets Thanks to 23 contributors! bun.sh/blog/bun-v1....
bun.sh
Bun v1.2.6
Fixes 74 bugs (addressing 36 👍). Faster, more compatible node:crypto. `timeout` option in Bun.spawn. Support for `module.children` in `node:module`. Connect to PostgreSQL via unix sockets with `Bun.SQ...
1566
Jarred Sumner @jarredsumner.com · 24/03/2025
Do you have a reproduction?
030
Jarred Sumner @jarredsumner.com · 01/03/2025
Claude does a much better job when you say something like “I know you can do better work than this” twice
080
Jarred Sumner @jarredsumner.com · 01/03/2025
No
230
Reposted by Jarred Sumner
Bun @bun.sh · 26/02/2025
Bun v1.2.4 - Frontend dev server stability improvements - Codesign compiled executables on macOS - Up to 60% faster `bun build` on macOS - Node.js compatibility fixes - Faster array.includes - Many bugfixes Thanks to 17 contributors! bun.sh/blog/bun-v1....
bun.sh
Bun v1.2.4
Up to 60% faster Bun.build on macOS, codesigning support for single-file executables on macOS, dev server stability improvements, fixes a regression from v1.2.3 affecting Hono, fixes up/down buttons i...
1824
Jarred Sumner @jarredsumner.com · 25/02/2025
To configure tailwind, you’ll need to add this to bunfig.toml [serve.static] plugins = [“bun-plugin-tailwind”] bun.sh/docs/bundler...
bun.sh
Fullstack Dev Server – Bundler | Bun Docs
Serve your frontend and backend from the same app with Bun's dev server.
010
Reposted by Jarred Sumner
koki @koki.me · 22/02/2025
Bun マジで体験良すぎるのよな 個人開発で JS で何か作るときは完全に Bun 一択になってしまった
0244
Jarred Sumner @jarredsumner.com · 23/02/2025
Wild how much nicer people are on the X post
2210
Jarred Sumner @jarredsumner.com · 23/02/2025
Bun's frontend dev server designs for incremental builds. Changing one file doesn't rebuild everything.
1481
Reposted by Jarred Sumner
Bun @bun.sh · 22/02/2025
Bun v1.2.3 - Fixes 128 bugs (addressing 349 👍) - Incredibly fast frontend dev server with hot reloading - Builtin routes in Bun.serve - Many Bun.SQL fixes - Wasm gets faster - Node compatibility improvements for napi & Buffer Thanks to 23 contributors! bun.sh/blog/release...
bun.sh
Bun v1.2.3
Fixes 128 bugs (addressing 349 👍). Bun gets a full-featured frontend development toolchain with incredibly fast hot reloading and bundling. Built-in routing for Bun.serve() makes it simpler to build w...
28413
Jarred Sumner @jarredsumner.com · 18/02/2025
The rewrite for node:http will land later this week. Several fixes to http2 will land this week as well.
1160
Jarred Sumner @jarredsumner.com · 18/02/2025
We only need to focus on four modules: 1. http 2. net 3. http2 4. tls Once the number is high enough for those, we will reach 90%.
1160
Jarred Sumner @jarredsumner.com · 18/02/2025
The path to get 90% of Node’s test suite to pass in Bun is clear.
1400
Jarred Sumner @jarredsumner.com · 18/02/2025
semi-related: for property accesses from native code in Bun, we stop get once it reaches Object.prototype to make prototype pollution from Object.prototype slightly harder
030
Jarred Sumner @jarredsumner.com · 16/02/2025
Routes accept a `BunRequest` which extends `Request` to add `params`. We probably will add more properties to `BunRequest` in the future.
1110
Jarred Sumner @jarredsumner.com · 16/02/2025
Bun.serve()'s TypeScript types automatically infer route params from the route path.
1200
Jarred Sumner @jarredsumner.com · 16/02/2025
In the next version of Bun Bun.serve() gets a simple builtin router.
import { serve, sql } from "bun";
import App from "./myReactSPA.html";

serve({
  routes: {
    "/*": App,
    "/api/users/:id": async (req) => {
      const id = req.params.id;
      const [user] = 
        await sql`SELECT * FROM users WHERE id = ${id} LIMIT 1`;
      return Response.json(user);
    },
    "/api/users": {
      POST: async (req) => {
        // ...
      },
    },
  },

  fetch: () => new Response("Not Found", { status: 404 }),
});
3693
Jarred Sumner @jarredsumner.com · 13/02/2025
This HMR isn't just on the client. API endpoints hot reload so you can make changes without stopping & restarting the server
2213
Jarred Sumner @jarredsumner.com · 13/02/2025
In the next version of Bun `bun init` gets a new "React" option
3495
Reposted by Jarred Sumner
Bun @bun.sh · 11/02/2025
In the next version of Bun Bun.serve() gets builtin support for hot reloading frontend applications.
31329
Jarred Sumner @jarredsumner.com · 07/02/2025
This works by using Bun's bundler to scan the list of dependencies from imported modules. It uses bun install to install any missing dependencies. Then, it copies some files from a template and starts Bun's dev server.
090
Jarred Sumner @jarredsumner.com · 07/02/2025
In the next version of Bun `bun create ./MyComponent.tsx` turns a React component into a running dev server with zero config
4554
Jarred Sumner @jarredsumner.com · 02/02/2025
This builds on top of HTML imports introduced in Bun v1.2 to let you use this without writing the code to wire up the HTML files to Bun.serve(). bun.sh/docs/bundler...
bun.sh
Fullstack Dev Server – Bundler | Bun Docs
Serve your frontend and backend from the same app with Bun's dev server.
1140
Jarred Sumner @jarredsumner.com · 02/02/2025
You can also pass a glob that ends with *.html to load all the html files recursively in a directory tree. Internally, it uses Bun.Glob to resolve it so it's not dependent on your shell.
1170
Jarred Sumner @jarredsumner.com · 02/02/2025
If you pass multiple HTML files, it will route them the way you expect.
190
Jarred Sumner @jarredsumner.com · 02/02/2025
In the next version of Bun `bun ./index.html` starts a frontend dev server
7954
Reposted by Jarred Sumner
Bun @bun.sh · 01/02/2025
Bun v1.2.2 - Fixes 38 bugs (addressing 129 👍) - JavaScript idle memory usage reduced by 10–30% - Fixes v1.2.1 regression impacting `vite build` - Node compatibility fixes - Reliability improvements to Bun.SQL and Bun.S3Client Thanks to 12 contributors! bun.sh/blog/bun-v1....
bun.sh
Bun v1.2.2
Fixes 38 bugs (addressing 129 👍). JavaScript idle memory usage drops by 10–30%. Fixes regression impacting vite build. Reliability improvements to Bun.SQL, Bun.S3Client, Bun's CSS parser. Node.js comp...
2696
Jarred Sumner @jarredsumner.com · 24/01/2025
when are you adding 3dfx GPU support
110
Jarred Sumner @jarredsumner.com · 24/01/2025
There is no standard here. Everyone is making stuff up.
020
Jarred Sumner @jarredsumner.com · 24/01/2025
btw we’re going to go in the opposite direction of this soon. Type-only exports without the type qualifier will work at runtime without bundling
030
Reposted by Jarred Sumner
Bun @bun.sh · 22/01/2025
Introducing Bun 1.2 bun.sh/blog/bun-v1.2
bun.sh
Bun 1.2
Built-in Postgres client with Bun.sql, built-in S3 object support with Bun.s3, a new text-based lockfile: bun.lock, Express is 3x faster, and a major update on Node.js compatibility.
111420
Reposted by Jarred Sumner
Bun @bun.sh · 20/01/2025
Bun v1.2 in 17 hours youtu.be/uSzffuqfJQk?...
youtu.be
Bun 1.2
YouTube video by Bun
2587