Reading up on Bun
19 deep · digging since dec 03, 25
- Rewriting Bun in Rust
Bun's engineers rewrote its JavaScript runtime from Zig to Rust with Claude Fable 5, eliminating many memory‑safety bugs and boosting stability and performance.
- GitHub - af/envalid: Environment variable validation for Node, Bun, and other compatible JS runtimes
Envalid provides validation and immutable access to environment variables, ensuring they meet expected formats before a Node.js or Bun program runs.
- The Coming Loop
The article argues that while 'harness loops' atop coding agents accelerate porting, experimentation, and security, they degrade code quality and comprehension, creating machine-dependent codebases.
- Introducing dynamic workflows
Claude Code's dynamic workflows orchestrate tens to hundreds of parallel subagents for complex tasks like codebase-wide migrations or audits.
- Hyper — an API framework for Bun, distributed as source
Hyper is an HTTP framework for Bun distributed as source via CLI, generating OpenAPI, typed RPC clients, and MCP servers from single route definitions.
- Bun v1.3.14 | Bun Blog
Bun v1.3.14 ships a built-in image processing API, 7x faster warm installs, experimental HTTP/2 and HTTP/3 clients and server, rewritten fs.watch(), and many other features and fixes.
- bun/docs/PORTING.md at claude/phase-a-port · oven-sh/bun
This document defines the rules and idiom map for porting the Bun JavaScript runtime from Zig to Rust in a two-phase process: Phase A produces a draft Rust file, and Phase B makes it compile.
- Node.js needs a virtual file system
A large PR adding a virtual file system to Node.js core, mostly written by Claude Code, divides commenters on AI's role and the feature's value.
- GitHub - chenxin-yan/crust: A TypeScript-first, Bun-native CLI framework with composable modules.
Crust is a TypeScript-first, Bun-native CLI framework offering composable modules for command routing, argument parsing, prompts, validation, and persistence.
- GitHub - needle-tools/md-browse: Markdown Browser – See the web like an AI does
md-browse is a markdown-first browser built with Electrobun that prioritizes markdown content and converts HTML to clean markdown using Turndown.
- Make.ts | Hacker News
Matklad proposes saving ad-hoc shell commands into a persistent Make.ts file as a more reliable alternative to relying on shell history for reuse.
- LogTape
LogTape is a zero-dependency, library-first logging library for JavaScript runtimes that stays silent until the application opts in.
- Introducing MCP CLI: A way to call MCP Servers Efficiently
mcp-cli reduces MCP-related token usage by 99% through dynamic discovery, letting AI agents load only needed tool definitions instead of all upfront.
- GitHub - dvdsgl/claude-canvas: Give Claude Code an external monitor
Claude Canvas gives Claude Code a dedicated TUI display for spawning interactive terminal tools like email and calendar via a tmux-based canvas plugin.
- Anthropic acquires Bun
Anthropic has acquired Bun, the JavaScript runtime, to power Claude Code and AI coding tools, with Bun remaining open-source and MIT-licensed.
- Anthropic acquires Bun as Claude Code reaches $1B milestone
Anthropic acquires JavaScript runtime Bun to accelerate Claude Code, which reached $1B run-rate revenue six months after public launch.
Takes
I really respect @antirez so I'd like to share my slightly different take on frontend development in 2026 (and especially in a coding agents world). First, on his point around libraries/frameworks and company size: > "We have things like Angular and React that are big-company-design stuff that became normal programming. It's like if every site runs on Kubernetes." It's true that frontend frameworks had to uniquely solve for the design constraints of BigCos. How do you build a system where thousands of engineers need to ship components independently without muddying the rest of the app? Composition! And if you take composition to its logical extreme and try to build a framework which works for both small *and* very large JavaScript apps, you end up with things like streaming, Suspense, and many of the other niceties of React and metaframeworks. Often, you do want many of these things to build high quality products. But sometimes you don't, and you don't have to ditch React's composition model and all the libraries, ecosystem, bundlers, et al to get there. Personally, I think Bun is one of the best realizations of this vision, where you can write React apps with a single toolchain. The layers of abstraction can fit in your head. > "There was, in big companies, an extreme desire to do two things: totally isolate frontend from backend, because the internal organization of big companies has such a split, and to make applications so standardized that hiring new people, firing old people, is something possible and easy." This might get into the HTMX holy war, but IMO this client/server debate has always been a thing. I'd also argue that, in many cases and now increasingly with AI, the client/server split is helpful for humans and agents to compartmentalize the codebase. I'm personally very supportive of open-source libraries like React and friends that get battle-tested at scale and get security patches (while painful sometimes). Models can learn this abstraction, and for many many cases, stop reinventing the wheel. Similar feelings about Tailwind. > "We later created a generation of programmers that can't even understand a single language very well in its internals, that is: Javascript, they often know the framework, not the language, nor even CSS well enough." It's true that a lot of frontend devs end up focusing on the app layer code concerns like React/Tailwind and maybe aren't as proficient at debugging heap snapshots. But I don't think the solution is to throw out the abstractions entirely, but instead to keep teaching the next generation of devs how to go up and down the stack as needed. This is now massively accelerated by AI and coding agents. Just like you can ask an agent to generate lots of frontend code for you, you can also ask it to deeply explain how every abstraction layer works. There's no forgoing competence to be a great frontend engineer. > "The irony is that front-end developers highly suffer from all that, for a number of reasons: they are forced to continue learning new ways to do the same button, form, pagination, and so forth. And, also, if they are smart they understand they don't really know what programming really is in most cases, and are not happy about it." Throughout my entire career doing frontend and product engineering, I've seen opinions like this over and over again. Back in the day, it was framing frontend as "just the HTML and CSS" / web developer, somehow less than"the great backend engineers. The reality is that there are many many incredibly talented frontend engineers who do lots of *extremely technical* work. It's time for a lot of backend engineers to give the frontend peeps their flowers, acknowledge some of this frontend stuff is Very Hard, and begrudgingly accept that React has some good ideas. And if you made it this far and still want to complain, I bet you can make an incredible frontend with Svelte/Tailwind and your coding agent of choice, taking 80-90% of the upside of the last decade of frontend dev
@leerob
In the next version of Bun`Bun.cron(file, schedule, name)` schedules a function to be called on a recurring interval pic.twitter.com/9zrysn0Waj
@jarredsumner
Anthropic buying Bun is a beautiful act of corporate patronage. There's no compelling technical or strategic argument, but I fully support saving a great runtime from the indignities of trying to monetize open source infrastructure on a VC timeline 🎉 https://t.co/c6OCzGnuSl
@dhh