go_weekly_2025-07-13

2025-07-09 00:00

原文链接

精选

1. What’s //go:nosplit For?

详解 Go 注释指令 //go:nosplit 的性能影响与风险,适合需要极致优化的场景。


2. Generic Interfaces

展示如何通过泛型接口实现灵活的数据结构(如二叉搜索树),支持多种比较方式。


3. Build Containers from Scratch

从 Linux 底层工具(chroot/namespaces)到 Kubernetes 部署,深入理解容器原理。


4. Serving 200 Million Requests Per Day with cgi-bin

用 Go 重启 CGI 的可行性实验,展示现代进程启动速度下的性能表现。


5. doWM: A Tiling and Floating Window Manager for X11

纯 Go 实现的轻量级 X11 窗口管理器,适合 Linux 高级用户定制。


其它

1. Go 1.25 Release Candidate 2

Go 1.25 RC2 发布,进入发布前最后测试阶段。


2. GORE: A Pure Go Minimal ‘Doom’ Implementation

用 Go 重构的跨平台 Doom 引擎,支持终端渲染。


3. GitLab Catches Supply Chain Attack Targeting Go Devs

虚假 MongoDB 驱动模块攻击事件,提醒依赖库安全风险。


4. Minimock: Generate Mocks from Interfaces

支持泛型的 Mock 生成工具,深度集成 testing 包。


5. Lox: Lexer/Parser Generator for Go

类 ANTLR 的语法解析器生成器,LR(1) 算法且无依赖。


6. MCP-Go 0.33 Released

官方 Model Context Protocol SDK 新版本发布。