TonyBai
Author

TonyBai

Tony Bai's tech world (tonybai.com). Not satisfied with just "knowing how", we strive for mastery. Focused on Go language internals, high-quality engineering practices, and cloud‑native architecture, exploring cutting‑edge intersections of Go and AI. Gophers who pursue technology are welcome—follow me and evolve with Go.

232
Articles
0
Likes
1.9k
Views
2
Comments
Recent Articles

Latest from TonyBai

100 recent articles max
TonyBai
TonyBai
Jul 13, 2026 · Fundamentals

Stop Adding Java Patterns to Go: Unpacking spf13’s Idiomatic Go Principles

The article dissects spf13’s go‑skills repository, exposing how Java‑style project layouts, layered packages, heavy frameworks and misuse of generics clash with Go’s philosophy, and presents concrete, Go‑centric guidelines for package organization, interfaces, error handling, concurrency, testing, standard‑library usage, CLI design, and a pre‑code review checklist.

CLIGoconcurrency
0 likes · 27 min read
Stop Adding Java Patterns to Go: Unpacking spf13’s Idiomatic Go Principles
TonyBai
TonyBai
Jul 12, 2026 · Artificial Intelligence

Why AI Ignores Messy Code but Your Token Bill Doesn’t

A recent study shows that while AI coding agents can complete tasks equally well on clean or messy code, cleaner code consistently reduces token consumption and file revisits, leading to lower operational costs for developers.

AI coding agentsClaude CodeSoftware Engineering
0 likes · 15 min read
Why AI Ignores Messy Code but Your Token Bill Doesn’t
TonyBai
TonyBai
Jul 11, 2026 · Industry Insights

Go Is the Agentic AI Era’s ‘Chosen Language’ – TypeScript 7.0 Gains 10× Build Speed

Microsoft’s TypeScript 7.0 compiler, rewritten in Go, now builds ten times faster, prompting former Go product manager Steve Francia (spf13) to argue that Go’s readability‑first design, deterministic dependency management, and rapid compile cycle make it the optimal language for the emerging Agentic AI development workflow.

Agentic AIBuild SpeedGo
0 likes · 25 min read
Go Is the Agentic AI Era’s ‘Chosen Language’ – TypeScript 7.0 Gains 10× Build Speed
TonyBai
TonyBai
Jul 10, 2026 · Industry Insights

Zig Creator Slams Bun's Rust Rewrite, Says 'We've Been Waiting to See This'

The article dissects Andrew Kelley’s pointed response to Bun’s Rust rewrite, recounting a five‑year Zig‑Bun relationship, exposing five technical criticisms of the official blog, and reflecting on how venture‑backed startups can strain open‑source community ties.

BunCommunity DynamicsOpen Source
0 likes · 12 min read
Zig Creator Slams Bun's Rust Rewrite, Says 'We've Been Waiting to See This'
TonyBai
TonyBai
Jul 10, 2026 · Artificial Intelligence

The New AI Stack: Models, Harnesses, Loops, and Self‑Evolving Agents

The article argues that AI product performance hinges not on ever smarter foundation models but on the surrounding harness framework—covering loops, file‑system memory, sub‑agents, context engineering, and self‑optimizing code—and provides concrete patterns, pitfalls, and a four‑week roadmap for developers.

AIAgentic SystemsContext Engineering
0 likes · 26 min read
The New AI Stack: Models, Harnesses, Loops, and Self‑Evolving Agents
TonyBai
TonyBai
Jul 9, 2026 · Artificial Intelligence

How AI Rewrote Bun in Rust: 1 M+ Lines, 11 Days, 64 Parallel Claude Instances

The article details a full‑scale, AI‑driven rewrite of the Bun runtime from Zig to Rust, performed by a single engineer with 64 parallel Claude agents over 11 days, producing over a million lines of Rust code, cutting memory usage, binary size, and improving performance while documenting costs, bugs, and safety reviews.

AI code generationBunClaude
0 likes · 20 min read
How AI Rewrote Bun in Rust: 1 M+ Lines, 11 Days, 64 Parallel Claude Instances
TonyBai
TonyBai
Jul 9, 2026 · Artificial Intelligence

MCP Server Architecture Patterns: 5 Designs and 4 Anti‑Patterns Uncovered

The article reviews the arXiv paper on MCP Server architecture, presenting five reusable design patterns and four anti‑patterns, explains the research methodology, shares concrete code examples, and quantifies how tool count affects LLM selection accuracy, offering practical guidelines for building robust MCP Servers.

LLMMCPModel Context Protocol
0 likes · 21 min read
MCP Server Architecture Patterns: 5 Designs and 4 Anti‑Patterns Uncovered
TonyBai
TonyBai
Jul 8, 2026 · Backend Development

Complete Guide to Pulling Private Go Modules: Credential Setup & Vanity URLs for Individuals and Teams

The article explains why private Go modules often cause pain points such as scattered credential storage, import path lock‑in, and scaling issues, then details the underlying mechanisms of GOPRIVATE, GOPROXY, GOSUMDB and GOVCS, and walks through personal and organizational solutions—including .netrc, git config rewriting, static HTML, govanityurls, and hosted services—while comparing trade‑offs and offering a decision matrix.

CICredential ConfigurationGOPRIVATE
0 likes · 15 min read
Complete Guide to Pulling Private Go Modules: Credential Setup & Vanity URLs for Individuals and Teams
TonyBai
TonyBai
Jul 7, 2026 · Artificial Intelligence

From a Song‑Switching Tool to Zero‑Code: The Epic Birth of Claude Code

The article chronicles Claude Code’s four‑year evolution from an internal “clide” prototype and a simple song‑switching demo to a fully autonomous command‑line coding agent, detailing the technical hurdles, team dynamics, product pivots, and the model breakthroughs that reshaped software development at Anthropic.

AI agentsAnthropicClaude Code
0 likes · 21 min read
From a Song‑Switching Tool to Zero‑Code: The Epic Birth of Claude Code
TonyBai
TonyBai
Jul 7, 2026 · Artificial Intelligence

Build Robust AI Loops with Claude Code: A Step‑by‑Step Guide

This guide explains why AI development now relies on reusable loop structures, defines the six essential loop components, shows how to implement a minimal four‑file system with Claude Code, and provides detailed instructions for triggers, context, actions, verification, state updates, decision logic, permission ladders, scheduling, and common pitfalls.

AI loopsCLIClaude Code
0 likes · 26 min read
Build Robust AI Loops with Claude Code: A Step‑by‑Step Guide