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
Oct 25, 2026 · Databases

Why VictoriaLogs Is Fast: Architecture-First Performance Engineering in Go

This article dissects VictoriaLogs' performance engineering across four layers—data architecture (LSM-tree, time partitioning, log-stream locality), query optimization (sparse indexes, Bloom filters), columnar storage with type-specific encoding and compression, and Go runtime tuning—showing that reducing unnecessary work via smart data organization outweighs micro-optimizations.

Bloom filterGo performanceLSM-tree
0 likes · 26 min read
Why VictoriaLogs Is Fast: Architecture-First Performance Engineering in Go
TonyBai
TonyBai
Oct 24, 2026 · Backend Development

Proving Go Code Like Math Theorems: Gobra and Formal Verification in the AI Era

This article explores how formal verification tools like Gobra and Viper enable machine-checked correctness proofs for Go programs, using preconditions, postconditions, loop invariants, and permission logic to verify functional correctness, memory safety, and concurrency properties, and discusses how AI agents can assist in generating specifications while verification tools provide independent guarantees.

AI-assisted verificationGoGobra
0 likes · 42 min read
Proving Go Code Like Math Theorems: Gobra and Formal Verification in the AI Era
TonyBai
TonyBai
Oct 23, 2026 · Artificial Intelligence

Chef, Kitchen, Restaurant: Demystifying the Harness Behind AI Agents

This article uses a chef-kitchen-restaurant analogy to explain the Harness concept in AI Agent systems, distinguishing Interface, Harness, MCP, and Agent roles, and detailing how LLMs use tools via Harness with examples like Claude Code, Codex, and T3 Code.

AI agentClaude CodeCodex
0 likes · 14 min read
Chef, Kitchen, Restaurant: Demystifying the Harness Behind AI Agents
TonyBai
TonyBai
Oct 22, 2026 · Backend Development

Go SIMD Deep Dive: Hardware, Compiler Intrinsics & 9x Dot Product Speedup

This article explores Go's new experimental SIMD packages (simd/archsimd and simd), explaining SIMD hardware concepts, vector register operations, common SIMD patterns like broadcast and fused multiply-add, compiler intrinsic mapping, and demonstrates a dot product implementation achieving 9x speedup over scalar code.

AVX2FMAGo
0 likes · 31 min read
Go SIMD Deep Dive: Hardware, Compiler Intrinsics & 9x Dot Product Speedup
TonyBai
TonyBai
Oct 20, 2026 · Backend Development

Go + HTMX Full-Stack: Simpler Than React/Svelte, Even LLMs Get It

A backend engineer abandons Svelte for Go + HTMX + templ + sqlc, eliminating frontend state sync bugs, enabling type-safe HTML partials, and improving LLM code reviewability, with practical patterns for search, lazy loading, OOB swaps, and auth redirects.

Alpine.jsGoHTMX
0 likes · 31 min read
Go + HTMX Full-Stack: Simpler Than React/Svelte, Even LLMs Get It
TonyBai
TonyBai
Oct 20, 2026 · Backend Development

Go's http.Server Exposes Internal Middleware via HandleRequest for HTTP/3

Go proposal #77441 adds Server.HandleRequest to net/http, exposing internal request-processing middleware (OPTIONS *, DefaultServeMux fallback, panic recovery) so HTTP/3 and other protocol implementations can reuse standard library behavior without code duplication, while also enabling full-server integration testing.

API designGoHTTP/3
0 likes · 18 min read
Go's http.Server Exposes Internal Middleware via HandleRequest for HTTP/3
TonyBai
TonyBai
Oct 19, 2026 · Artificial Intelligence

Google's Harness²: Agents Self-Improve Their Own Harnesses Without Weight Updates

Google's Harness² introduces a dual-layer recursive self-improvement framework where agents optimize their own harnesses—prompt, tools, memory, skills—via behavioral comparison instead of ground truth, achieving up to 11.5-point gains on benchmarks and enabling weaker models to surpass stronger ones with static harnesses.

AI agentsGoogle ResearchHarness²
0 likes · 19 min read
Google's Harness²: Agents Self-Improve Their Own Harnesses Without Weight Updates
TonyBai
TonyBai
Oct 17, 2026 · R&D Management

How the Claude Code Team Does Code Review: AI-First, Tiered, and Human-in-the-Loop

The Claude Code team at Anthropic shares their evolved code review process where AI agents write 90% of code, using automated gates, risk-based human approvals, merge queues, feature flags, and incident-driven evals to cut revert rates by 40% while scaling PR volume 10x.

AI agentsClaude Codeautomated testing
0 likes · 35 min read
How the Claude Code Team Does Code Review: AI-First, Tiered, and Human-in-the-Loop