go_weekly_2025-07-16

2025-07-09 00:00

原文链接

精选

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

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


2. Generic Interfaces

展示泛型接口如何实现灵活的类型比较方案,提升代码复用性,适合复杂数据结构场景。


3. Build Containers from Scratch

从 Linux 底层工具到 Kubernetes 部署,系统讲解容器原理与实现,适合深入理解云原生技术。


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

用 Go 重启 CGI 高性能方案,挑战传统持久化应用模式,适合高并发场景的另类实践。


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

纯 Go 实现的轻量级 Linux 窗口管理器,适合定制化桌面环境的开发者。


其它

1. Go 1.25 Release Candidate 2

Go 1.25 RC2 发布,包含最新功能改进和稳定性修复。


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

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


3. Minimock: A Tool to Generate Mocks from Interface Declarations

自动生成类型安全的测试 Mock,无缝集成标准 testing 包。


4. GitLab Catches Supply Chain Attack Targeting Go Developers

恶意伪造 MongoDB 驱动模块的供应链攻击事件预警。


5. Lox: A Lexer and Parser Generator for Go

类似 ANTLR 的语法解析器生成工具,支持 LR(1) 和无依赖解析。