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.

197
Articles
0
Likes
962
Views
2
Comments
Recent Articles

Latest from TonyBai

100 recent articles max
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
TonyBai
TonyBai
Jul 6, 2026 · Fundamentals

Is Go's Conservative Language Evolution Still Right for the Next 5 Years?

The article examines Go's deliberately cautious evolution—focusing on stability, minimal feature creep, and operational simplicity—by contrasting it with the rapid feature expansion of languages like C++, Rust, and TypeScript, and argues why this approach may remain advantageous over the next five years.

Backward CompatibilityGoconservative evolution
0 likes · 10 min read
Is Go's Conservative Language Evolution Still Right for the Next 5 Years?
TonyBai
TonyBai
Jul 5, 2026 · Backend Development

Five Years, Three Posts, and the Unsolved Private Go Module Distribution Problem

Over five years the author refined an internal private Go module fetching system, only to discover when delivering the code to a client that the assumed network and trust boundaries broke, prompting the creation of a command‑line tool (gvu) to automate vanity import mapping and module distribution.

GOPROXYGoPrivate Modules
0 likes · 11 min read
Five Years, Three Posts, and the Unsolved Private Go Module Distribution Problem
TonyBai
TonyBai
Jul 4, 2026 · Backend Development

Why ‘Easy’ Isn’t ‘Simple’: The Architecture Philosophy Behind Gin’s 88k‑Star Success

Manu Martínez‑Almeida explains how Gin’s commitment to ‘Simple over Easy’—rejecting reflection‑based injection, using a minimal routing language with a radix tree, zero‑allocation context pooling, and strict backward‑compatible API design—produced a high‑performance, maintainable Go web framework that now powers hundreds of thousands of projects.

Backward CompatibilityGinGo
0 likes · 11 min read
Why ‘Easy’ Isn’t ‘Simple’: The Architecture Philosophy Behind Gin’s 88k‑Star Success
TonyBai
TonyBai
Jul 3, 2026 · Artificial Intelligence

20 Loop Design Patterns Every AI Engineer Should Know

The article presents twenty essential loop design patterns for industrial AI systems, explains how they differ from single‑call prompts, provides concrete examples, code snippets, and use‑case scenarios, and shows how these loops enable self‑improvement, memory, planning, exploration, and system optimization for AI agents.

AIAgentLoop Engineering
0 likes · 23 min read
20 Loop Design Patterns Every AI Engineer Should Know