Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

1022: Bun re-written in Rust, Zig team big mad

CJ and Scott break down the biggest week in web dev: TypeScript 7 ships with a 10x-faster native port, Bun gets rewritten in Rust (much to the Zig team’s dismay), and Better Auth joins Vercel. Plus GPT-5.6 first impressions, Odin 1.0, Cloudflare’s new Workers cache and drag-and-drop deploys, and the

Featured Speakers

Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers Host

Topics Discussed

Episode Summary

Executive Summary: This Syntax Weekly episode covered major web-dev and AI news: TypeScript 7’s Go-based rewrite delivering 10x faster builds and lower memory use; the Bun-to-Rust rewrite drama and Zig community backlash; GPT-5.6’s new tiered models and practical performance; Better Auth’s acquisition by Vercel; Grok Build’s privacy controversy; and several Cloudflare, Odin, Open Code, and nostalgic/utility side topics.

Main Topics: TypeScript 7 native rewrite: The hosts discuss TypeScript 7’s Go-based compiler/language service, its migration path from TypeScript 6, and the large ecosystem gains from faster builds, lower memory use, and parallelized type checking in editors and CI. Bun rewrite in Rust and Zig community backlash: They unpack Jared Sumner’s AI-assisted rewrite of Bun from Zig to Rust, the expensive multi-agent process, and Andrew Kelley’s critical response that turned into a broader debate about language quality, community norms, and AI usage. GPT-5.6 release and model behavior: Scott and CJ compare GPT-5.6’s Luna/Terra/Sol variants, report strong real-world results on complex coding/shader tasks, and note both improved capability and the need for tighter agent controls due to over-eagerness. Better Auth acquired by Vercel: They cover Better Auth’s move to Vercel, framing it as a way to let the project focus on open-source auth, agent auth, and ecosystem maintenance without needing to build a monetized hosted product. Grok Build privacy and code exfiltration concerns: The hosts react strongly to reports that Grok Build uploaded entire repositories and secrets to a Google Cloud bucket, emphasizing that the tool should have been opt-in and that users need to be cautious with AI coding tools. Cloudflare product updates: Two Cloudflare updates are highlighted: direct cacheable worker responses to avoid worker invocation costs, and Cloudflare Drop for easy static-site deployment without a full setup flow. Odin 1.0 announcement and misc. fun items: They briefly mention Odin nearing 1.0, plus lighter segments on Winamp skins, Open Code 2, a custom MP3 player, and a Raspberry Pi-like robot project, mainly as community-interest side notes.

Key Arguments: TypeScript 7 is a major systemic upgrade because it speeds up builds, IDE language services, CI, and type-checking across the JavaScript/TypeScript ecosystem. The Bun rewrite controversy is as much about tone and community politics as technical merit; the Zig blog post’s personal attacks undermined its stronger technical criticisms. Rust’s safety and tooling make rewrites easier to complete with AI than Zig, since Rust training data and compiler constraints likely improve model output and reduce errors. GPT-5.6 feels materially better than prior GPT releases for coding and planning, especially when given clear goals, but it still tends to overcomplicate code and needs a leash. Better Auth joining Vercel likely benefits both sides: Better Auth gets salary/security and focus on open source, while Vercel gains talent and strategic influence over auth and agent tooling. Grok Build’s behavior is unacceptable because it should have been opt-in; private code and secrets should not be uploaded by default to external storage or model infrastructure. Cloudflare’s new cache behavior meaningfully improves performance and cost because cached responses can bypass worker execution entirely. The ecosystem is moving toward faster, native, and more automated tooling, but that increases the need for safeguards, privacy controls, and human review.

Data Points: TypeScript 6/7 build time improvement on VS Code: 125 seconds to 10 seconds - Scott cites TypeScript’s native port making the VS Code codebase build dramatically faster. TypeScript 6/7 build time improvement on Sentry: 140 seconds to 15 seconds - The release post’s example of a large open-source TypeScript codebase benefiting from the Go rewrite. Rewrite speedup headline: 10x faster - Core claim for TypeScript 7’s native compiler/language service. Bun rewrite token cost: $165,000 - CJ and Scott discuss Jared Sumner’s AI-assisted Bun rewrite as expensive but potentially worthwhile at scale. Bun rewrite token usage: 90 million output tokens - Referenced while discussing the magnitude of the AI-assisted Rust port. Parallel AI instances used for Bun rewrite: 64 instances of Claude - Jared’s workflow used multiple worktrees and many model instances to port Zig code to Rust. GPT-5.6 model tiers: 3 tiers: Luna, Terra, Sol - The release is described as having small, medium, and large model variants. GPT-5.6 Terra pricing/performance: Half as expensive as GPT-5.5 with similar performance - The hosts discuss cost/performance positioning of the mid-tier model. Cloudflare domain pricing: $10/month per account - Scott mentions paying Cloudflare for both personal and work accounts. Open Code 2 installation options: npm, Bun, Yarn - CJ notes Open Code 2 is available through package managers, with CLI changes and a new plugin API. Grok Build exfiltration example: 5.1 GB uploaded from a 12 GB repo - Reported in the cyber digest post, contrasted with a task needing only 192 KB. Rust rewrite vs team effort: Would have taken a team of four about a year - Used to justify the cost of the AI-assisted Bun rewrite.

Pivotal Quotes: "your builds will be 10 times faster" — Scott: Describing the headline benefit of TypeScript 7’s Go-based compiler rewrite. "we became increasingly horrified at the programming practices we saw in Bun's code base" — Andrew Kelley: Quoted while discussing the Zig creator’s criticism of Bun’s implementation choices. "GPT 5.6 Sol would torch your entire garden to remove a single weed" — Ashley Peacock (quoted by Scott/CJ): Used to summarize GPT-5.6’s tendency to overdo fixes and require a leash.

Implications: Listeners should expect faster tooling across the JS stack, but also tighter debates over AI, privacy, and language choice. The episode suggests the future favors native performance gains and agentic workflows—provided teams add guardrails and review.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats