Bun Is Being Rewritten from Zig to Rust
Bun migrates from Zig to Rust, Gemma 4 gets multi-token prediction, Docker 29 changes defaults, and agent costs vs APIs compared.
Good morning and welcome to the Builder's Briefing for May sixth, twenty twenty-six. I'm Alex, here with Sam, and we have a packed one today — a major runtime rewrite shaking up the JavaScript ecosystem, some really practical AI cost numbers, and a container security bug you need to patch right now.
Yeah, and honestly the big story today had me doing a double-take when I saw the commit land. Let's get into it.
So here it is — Bun is being rewritten from Zig to Rust. Jarred Sumner's commit dropped yesterday, and this isn't some experimental branch. It touches the core runtime. The full thing is getting ported.
This is huge. And honestly? Not entirely surprising. I mean, Zig is a fantastic language, but the ecosystem just never caught up. If you're building something that millions of developers depend on, you need a deep package ecosystem, mature tooling, and frankly, people you can hire. Rust has all three.
Exactly. And for folks shipping on Bun today — nothing breaks right now. The Zig codebase keeps working, keeps shipping releases. But long-term, this is the play for stability. Rust's borrow checker catches entire classes of memory bugs that Zig leaves to developer discipline.
Right, and what's wild is the timing. This lands the same week as that widely-discussed post from Tweede Golf arguing that async Rust basically never left MVP state. So Bun is migrating to a language whose async story is still considered half-baked. There's real irony there.
It's a great point. I think we'll either see the Bun team push Rust's async ergonomics forward — which would be a gift to the whole ecosystem — or they'll lean on their own event loop abstractions and kind of sidestep the async Rust pain entirely. Either way, this is the biggest runtime architecture decision in the JS world since Deno chose Rust back in twenty eighteen.
And it's another data point in the broader trend. If you're choosing a systems language for a new project — Zig is still excellent for embedded and kernel-adjacent stuff, but for application-level systems programming, Rust just keeps winning the gravity war.
Alright, let's talk AI. Google shipped multi-token prediction drafter models for Gemma four. If you're self-hosting Gemma, this is basically a free latency win — plug in the drafter, get two to three X faster generation with no quality loss through speculative decoding.
That's a really nice incremental improvement. No drama, just genuinely useful. I also want to flag the local deep research story — someone got an open-source research agent hitting roughly ninety-five percent accuracy on SimpleQA running Qwen three point six twenty-seven B locally on a thirty-ninety.
Yeah, with ten-plus search engine integrations including arXiv and PubMed. If you're building internal research tools, that's a strong starting point. Everything runs locally and encrypted. Link in the briefing.
Now here's the one that made me stop and think — Reflex benchmarked agent computer-use against structured API calls, and found a forty-five X cost gap. Forty-five times more expensive to have an agent click around a screen than to just call an API.
That number is staggering. And the takeaway is so clear — don't use screen-scraping agents where a proper API integration exists. Save computer-use for the genuinely unstructured stuff where there is no API. This is basic cost discipline, but I think a lot of teams are skipping it because computer-use demos look so cool.
Absolutely. And on the agent tooling front, there's a neat project called Engram — it's a Go binary that gives any coding agent persistent long-term memory using SQLite and FTS5, exposed as an MCP server. If your agents keep forgetting project context between sessions, this is a drop-in fix.
That's interesting because it's agent-agnostic — CLI, HTTP, TUI interfaces. And it directly addresses that critique piece we also saw this week about organizations deploying AI without fixing their information architecture. Everyone's got individual AI productivity, but organizational knowledge stays siloed.
Right — the gap isn't in individual smarts, it's in shared context. That's a product opportunity for anyone building AI-powered knowledge tools.
Let's shift to dev tools. We already mentioned the async Rust critique — if you're starting a new Rust project, seriously consider whether you actually need async or if blocking I/O with threads is just simpler for your use case. It's not a cop-out, it's pragmatic.
Totally agree. Also trending this week — DocuSeal, an open-source DocuSign alternative. Forty-six hundred engagements. If you're building a SaaS that needs document signing workflows, embedding this could save you from a painful DocuSign API bill and vendor lock-in.
And one more Rust sighting — Brush, a bash-compatible shell written in Rust. Interesting for dev containers or embedded Linux where you want shell compatibility without shipping actual bash.
Rust everywhere. Speaking of infrastructure — Docker twenty-nine just switched the default image store to containerd. If you're running CI/CD pipelines, test your image builds because some edge cases around multi-platform manifests behave differently now.
And on the security side, two things that need attention. First — a multi-tenant auth vulnerability found in a DoD contractor's system. Any authenticated user could access other tenants' data. Zero auth on the tenant boundary. If you're building multi-tenant SaaS, test tenant isolation as aggressively as you test auth. Row-level security is not optional.
Yikes. And the second one?
A container copy bug — CVE twenty twenty-six dash three one four three one — that bypasses rootless container protections. If you're running rootless Podman or Docker in CI, patch immediately. This defeats the security model you're relying on.
That's scary because rootless is supposed to be the safe option. Definitely patch that today.
Quick hits! iOS twenty-seven adds a 'Create a Pass' feature to Apple Wallet — no developer account needed for simple passes. If you're building loyalty or ticketing features, this dramatically lowers the friction to get into users' wallets.
Oh, and this one made me smile — the 555 timer turns fifty-five years old this week. Happy birthday to the little chip that taught a generation of engineers what oscillation means.
Also, apparently about ten percent of AMC movie showings sell zero tickets, and someone built a site to find them for you. Link in the briefing if you want a private theater experience.
That's the most useful hack I've heard all week.
So pulling it all together — Rust keeps consolidating as the default for systems-level product infrastructure. Bun's migration, Pingora's traction, Brush — all pointing the same direction. The async pain is real, but the ecosystem gravity is undeniable.
And on the AI side, the story is cost discipline. Computer-use is forty-five X more expensive than APIs. Agents need persistent memory to stop being expensive amnesiacs. Invest in structured integrations first, and give your agents memory before you give them more capabilities.
That's the briefing for May sixth, twenty twenty-six. All the links are in the show notes. If something we covered today changes how you're building, we'd love to hear about it.
Go patch that container bug, give your agents some memory, and we'll see you tomorrow. Happy building, everyone.
Jarred Sumner's commit landed yesterday: Bun is being ported from Zig to Rust. This isn't a partial migration or an experiment — the commit touches the core runtime. The reasoning tracks with what the broader systems community has been saying for two years: Zig's ecosystem and tooling never matured fast enough, and Rust's package ecosystem, compiler guarantees, and hiring pipeline are simply stronger for a production runtime that millions of developers depend on.
For builders shipping on Bun today, nothing breaks yet — the existing Zig codebase continues to work and ship releases. But this signals that Bun's internals will stabilize faster once the port is complete, since Rust's borrow checker catches entire classes of memory bugs that Zig leaves to discipline. If you've been hesitant to adopt Bun for production workloads because of occasional edge-case crashes or memory issues, this rewrite is the long-term answer. Meanwhile, this is also a data point if you're choosing a systems language for your own project: Zig remains excellent for embedded and kernel-adjacent work, but for application-level systems programming, Rust keeps winning the gravity war.
This also lands the same week as a widely-discussed post arguing that async Rust never left MVP state. The irony is real — Bun is migrating *to* a language whose async story is still considered half-baked. Watch for the Bun team to either push Rust's async ergonomics forward or lean on their own event loop abstractions to sidestep the pain. Either way, this is the biggest runtime architecture decision in the JS ecosystem since Deno chose Rust in 2018.
Google Ships Multi-Token Prediction Drafters for Gemma 4
Google published drafter models that accelerate Gemma 4 inference via speculative decoding with multi-token prediction. If you're self-hosting Gemma, this is a free latency win — plug in the drafter and get 2-3x faster generation without quality loss.
Local Deep Research Hits ~95% on SimpleQA with a 3090
An open-source research agent hitting near-frontier accuracy on SimpleQA using Qwen3.6-27B locally, with 10+ search engine integrations including arXiv and PubMed. If you're building internal research tools, this is a strong starting point — everything runs locally and encrypted.
OpenAI Details How They Deliver Low-Latency Voice AI at Scale
OpenAI published their architecture for real-time voice: custom inference kernels, speculative decoding, and aggressive connection pooling. If you're building voice features, the specific latency budgets they share (sub-300ms round-trip targets) set the bar for what users now expect.
Computer Use Is 45x More Expensive Than Structured APIs
Reflex benchmarked agent computer-use against direct API calls and found a 45x cost gap. The takeaway for builders: don't use screen-scraping agents where a proper API integration exists. Save computer-use for the genuinely unstructured tasks.
Addy Osmani on Agent Skills: What Makes Coding Agents Actually Work
A practical breakdown of the capabilities that separate useful coding agents from demos — context management, tool use, planning. Worth reading if you're designing agent UX or evaluating which agent framework to build on.
Anthropic Publishes Agent Patterns for Financial Services
Anthropic released reference architectures for deploying Claude-based agents in finance and insurance — covering compliance guardrails, human-in-the-loop patterns, and data isolation. If you're selling AI into regulated industries, this is your persuasion document for compliance teams.
Engram: Persistent Memory for AI Coding Agents
A Go binary that gives any coding agent long-term memory via SQLite + FTS5, exposed as an MCP server. If your agents keep forgetting project context between sessions, this is a drop-in fix — agent-agnostic with CLI, HTTP, and TUI interfaces.
When Everyone Has AI and the Company Still Learns Nothing
A sharp critique of organizations that deployed AI tools without changing their information architecture. The pattern: teams use AI individually but organizational knowledge stays siloed. Relevant if you're building AI-powered knowledge tools — the gap is in shared context, not individual productivity.
Async Rust Never Left the MVP State
Tweede Golf's deep critique of async Rust's ergonomics — pinning, the lack of async traits in many core libraries, and cancellation semantics — resonates especially today as Bun adopts Rust. If you're starting a new Rust project, consider whether you actually need async or if blocking I/O with threads is simpler for your use case.
DocuSeal: Open Source DocuSign Alternative Gaining Traction
4.6K engagement on an open-source document signing platform with templating, form building, and e-signatures. If you're building a SaaS that needs document workflows, embedding DocuSeal could save you from a DocuSign API bill and vendor lock-in.
Brush: A Bash-Compatible Shell Written in Rust
A POSIX-compatible shell reimplemented in Rust with 655 stars trending. Interesting for anyone building dev containers or embedded Linux systems where you want shell compatibility without shipping actual bash.
Train Your Own LLM from Scratch — Full Tutorial Repo
A well-structured repo walking through LLM training end-to-end. More educational than production-useful, but solid if you want your team to actually understand the stack they're building on.
Docker 29 Switches Default Image Store to containerd
New Docker installs now use the containerd image store by default, unifying image management between Docker and Kubernetes. If you're running CI/CD pipelines, test your image builds — some edge cases around multi-platform manifests behave differently.
Should You Run Docker Compose in Production in 2026?
A balanced analysis landing on: yes, for single-node deployments serving <10K users, Compose is fine and dramatically simpler than Kubernetes. If you're an early-stage team agonizing over orchestration, stop — Compose until your traffic forces the conversation.
Cloudflare's Pingora Library Trending Again
Cloudflare's Rust-based proxy/load-balancer library continues gaining attention. If you're building custom reverse proxies or API gateways and NGINX config is driving you mad, Pingora gives you programmatic control in Rust.
Multi-Tenant Auth Vulnerability Found in DoD Contractor
Strix found a zero-auth vulnerability in a DoD-backed startup's multi-tenant system — any authenticated user could access other tenants' data. A reminder: if you're building multi-tenant SaaS, test tenant isolation as aggressively as you test auth. Row-level security isn't optional.
CVE-2026-31431: Container Copy Bug Bypasses Rootless Protections
A copy operation vulnerability in rootless containers lets attackers escape isolation boundaries. If you're running rootless Podman or Docker in CI, patch immediately — this defeats the security model you're relying on.
iOS 27 Adds 'Create a Pass' to Apple Wallet
Apple is opening up pass creation directly from Wallet in iOS 27 — no developer account required for simple passes. If you're building loyalty, ticketing, or membership features, this lowers the friction to get into users' wallets dramatically. Worth prototyping against now.
Dark Islands VSCode Theme (Jetbrains-Inspired) Trending
A new VSCode theme porting the Jetbrains Islands aesthetic. 3.3K engagement says people care about their editor looking good. Low-stakes but if you stare at code 10 hours a day, it matters.
Rust continues consolidating as the default for systems-level product infrastructure — Bun's migration, Pingora's traction, and Brush all point the same direction. If you're starting a performance-critical project, the async Rust pain is real but the ecosystem gravity is undeniable. Meanwhile, the AI tooling story today is about cost discipline: computer-use is 45x more expensive than APIs, and agents need persistent memory (Engram) to stop being expensive amnesiacs. If you're building AI features, invest in structured integrations over screen-scraping agents, and give your agents memory before giving them more capabilities.