2025-07-09 00:00
精选
1. What’s //go:nosplit
For?
详解 Go 注释指令
//go:nosplit
的作用与潜在风险,适合性能优化场景但需谨慎使用。
2. Generic Interfaces
展示如何通过泛型接口实现灵活的数据结构(如二叉搜索树),支持多种比较方式。
3. Build Containers from Scratch
从 Linux 底层工具(如 chroot)到 Kubernetes 部署,手把手教你用 Go 构建容器。
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》终端渲染版,代码更符合 Go 风格且跨平台。
3. GitLab Catches Supply Chain Attack Targeting Go Devs
虚假 MongoDB 驱动模块攻击 Go 开发者,供应链安全需警惕。
4. Minimock: Generate Mocks from Interfaces
支持泛型的 Mock 生成工具,无缝集成
testing
包。
5. Lox: Lexer and Parser Generator for Go
类 ANTLR 的语法解析器生成器,依赖少且支持 LR(1) 文法。
6. Mods 1.8: Pipelineable AI CLI with MCP
Charm 的 AI 命令行工具新增 MCP 协议支持。
7. Hugo 0.148 Released
静态站点生成器升级,注意破坏性变更。
8. fzf 0.64: Fuzzy Finder Update
热门命令行模糊搜索工具新版本发布。