2025-07-09 00:00
精选
1. What’s //go:nosplit
For?
详解 Go 注释指令
//go:nosplit
的性能影响与潜在风险,适合优化关键路径代码。
2. Generic Interfaces
展示泛型接口如何实现灵活的类型比较逻辑,以二叉搜索树为例演示多场景适配。
3. Serving 200 Million Requests Per Day with cgi-bin
用 Go 重启 CGI 的可行性探讨,现代硬件下传统方案的新可能(但需谨慎)。
4. doWM: A Tiling and Floating Window Manager for X11
纯 Go 实现的轻量级 X11 窗口管理器,适合 Linux 高级用户定制工作流。
5. GitLab Catches Supply Chain Attack Targeting Go Developers
虚假 MongoDB 驱动模块攻击事件,提醒开发者注意依赖安全。
其它
1. Go 1.25 Release Candidate 2
Go 1.25 RC2 发布,稳定版临近。
2. LLM-Powered FUSE Filesystem in Go
用 Go 实现的实验性 FUSE 文件系统,由 LLM 动态生成虚拟文件内容。
3. GORE: Pure Go Minimal ‘Doom’ Implementation
终端可运行的简化版 Doom 游戏,展示 Go 的跨平台图形能力。
4. Minimock: Generate Mocks from Interfaces
支持泛型的 Mock 生成工具,无缝集成标准 testing 包。
5. Lox: Lexer and Parser Generator for Go
类 ANTLR 的语法解析器生成器,LR(1) 算法且无依赖。
6. Hugo 0.148 Released
静态站点生成器更新,注意破坏性变更。
7. OpenFGA 1.9
基于 Google Zanzibar 的授权引擎升级。