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.

111
Articles
0
Likes
59
Views
0
Comments
Recent Articles

Latest from TonyBai

100 recent articles max
TonyBai
TonyBai
Mar 19, 2026 · Information Security

Why Using go get @latest Can Let Hackers Hijack Your Server

Blindly running `go get @latest` can pull malicious packages into your Go project, as supply‑chain attacks exploit the latest version tag; the article explains the underlying threat, examines Go’s MVS and SumDB defenses, and details the proposed cooldown mechanism to mitigate such risks.

CooldownGoMVS
0 likes · 11 min read
Why Using go get @latest Can Let Hackers Hijack Your Server
TonyBai
TonyBai
Mar 17, 2026 · Industry Insights

What Will AI Engineers Really Face in 2026? A Post‑Bubble Reality Check

The article analyses the shifting AI engineering job market, exposing a crowded hiring landscape, rapid skill depreciation, over‑reliance on generative AI, and the need for data governance and fundamental engineering skills to stay relevant by 2026.

AI ToolsAI engineeringSoftware Engineering
0 likes · 9 min read
What Will AI Engineers Really Face in 2026? A Post‑Bubble Reality Check
TonyBai
TonyBai
Mar 17, 2026 · Fundamentals

Why Go’s regexp Is Slower Than Python – The Safety Trade‑offs Behind the Design

The article dissects why Go’s standard regexp package lags behind Python and other languages, tracing the slowdown to a pure‑Go implementation that avoids CGO, the choice of a Thompson‑NFA engine for safety, heavy UTF‑8 rune decoding, memory‑intensive NFA simulation, and shows how community projects like coregex reclaim performance while preserving Go’s safety guarantees.

CGOGoPerformance
0 likes · 13 min read
Why Go’s regexp Is Slower Than Python – The Safety Trade‑offs Behind the Design
TonyBai
TonyBai
Mar 16, 2026 · Fundamentals

Does Go Really Eliminate Undefined Behavior? An In‑Depth Investigation

The article examines Go’s claim of eradicating undefined behavior, showing that while the language defines many formerly UB cases such as integer overflow and out‑of‑bounds access, it still harbors UB in concurrent data races, interface type confusion, and certain unspecified behaviors.

ConcurrencyData RaceGo
0 likes · 18 min read
Does Go Really Eliminate Undefined Behavior? An In‑Depth Investigation
TonyBai
TonyBai
Mar 15, 2026 · R&D Management

Why Writing Ultra‑Clean Code Keeps You Stuck in Your Career (and How to Package Simplicity)

The article argues that overly simple, clean code often goes unnoticed in performance reviews, illustrates this with a contrast between a minimalist engineer and a flashy architect, and then provides concrete “defensive packaging” techniques and templates to make simplicity visible and promotable.

Go languageSoftware Engineeringarchitecture review
0 likes · 9 min read
Why Writing Ultra‑Clean Code Keeps You Stuck in Your Career (and How to Package Simplicity)
TonyBai
TonyBai
Mar 15, 2026 · Artificial Intelligence

Why Your OpenClaw Skills Keep Making AI Fail—and How to Fix Them

The article explains why many developers' OpenClaw skills cause AI agents to stall or hallucinate, identifies three common pitfalls in skill description, command style, and control flow, and offers a systematic, high‑level approach to mastering skill engineering and batch‑creating reliable AI skills.

AI agentsOpenClawPrompt Engineering
0 likes · 7 min read
Why Your OpenClaw Skills Keep Making AI Fail—and How to Fix Them
TonyBai
TonyBai
Mar 14, 2026 · Information Security

How Go sumdb Defends Against Supply‑Chain Attacks with Transparent Logs and Tiling

The article explains how Go's checksum database (sumdb) uses append‑only transparent logs, Merkle‑tree proofs, and a novel tiling algorithm to provide cryptographic existence and consistency guarantees, protecting developers from covert supply‑chain attacks and fork attacks.

Consistency ProofGoMerkle Tree
0 likes · 14 min read
How Go sumdb Defends Against Supply‑Chain Attacks with Transparent Logs and Tiling
TonyBai
TonyBai
Mar 13, 2026 · Backend Development

Why DuckDB Beats ClickHouse for Light‑Weight Analytics: 18 M Rows/sec in a Single Go Binary

The article analyzes why traditional row‑oriented databases struggle with high‑volume analytics, introduces DuckDB as an embedded columnar engine for Go, presents benchmark results of up to 18.6 M rows per second writes and 6 M rows per second scans, walks through the Appender API code, and outlines the trade‑offs and ideal hybrid architecture.

Columnar StorageDuckDBEmbedded Database
0 likes · 11 min read
Why DuckDB Beats ClickHouse for Light‑Weight Analytics: 18 M Rows/sec in a Single Go Binary
TonyBai
TonyBai
Mar 12, 2026 · Artificial Intelligence

Why Future Trillion-User Products Won’t Need a UI

With machine traffic now surpassing human traffic, the author argues that traditional front‑end UI is becoming obsolete for the coming era of AI agents, urging developers to treat APIs as the true UI and focus on agent‑friendly infrastructure such as sandbox compute, micro‑payments, service discovery, and composable workflows.

AI agentsAPI‑firstagent infrastructure
0 likes · 8 min read
Why Future Trillion-User Products Won’t Need a UI
TonyBai
TonyBai
Mar 12, 2026 · Backend Development

Why My Go Service Slowed Down on a 128‑Core Server

A 128‑core, 256‑thread server should boost Go microservice performance, but the author explains how NUMA architecture, Go's scheduler affinity loss during GC pauses, and non‑NUMA‑aware memory allocation cause cache misses, remote memory penalties, and higher latency, preventing linear scaling.

ConcurrencyGarbage CollectionGo
0 likes · 9 min read
Why My Go Service Slowed Down on a 128‑Core Server