go_weekly_2025-09-23

2025-09-17 00:00

原文链接

精选

1. Memory Allocation in Go

图解 Go 内存分配机制,深入剖析高效内存管理的底层原理。


2. GopherCon 2025 Go Contributor Summit Notes

核心贡献者讨论依赖管理、cgo 性能、WebAssembly 等关键议题的会议纪要。


3. Flaggy 1.6: Idiomatic Go Command Line Input Parsing

无依赖的命令行解析库,1.6 版新增 bash/zsh 自动补全生成功能。


4. graphics.gd: Use Go with the Godot Game Engine

在 Godot 游戏引擎中集成 Go 运行时,现已支持用 Go 开发 iOS 应用。


5. The Day the Linter Broke My Code

探讨静态检查工具因缺乏上下文而误判,导致代码修复后反而出错的问题。


其它

1. It’s Survey Time! The 2025 Go Developer Survey is Live

Go 官方开发者调查启动,9月30日截止,结果将影响语言未来发展方向。


2. Using Go Channels to Solve Interface Impedance Mismatch

利用通道解决接口阻抗不匹配问题,展示通道在非并发场景下的独特应用。


3. How to Implement the Outbox Pattern in Go and Postgres

在 Go 与 Postgres 中实现发件箱模式,确保消息可靠投递的最佳实践。


4. koanf 2.3: Read Configuration with Multiple Sources and Formats

轻量级配置管理库,支持 JSON、YAML、环境变量、命令行等多种数据源。


5. Google Gen AI Go SDK v1.25.0

官方 Go SDK 更新,支持集成 Gemini 和 Vertex AI 等谷歌生成式 AI 模型。


6. FastHTTP 1.66

高性能 HTTP 客户端/服务器库,适用于特定高并发场景的 net/http 替代方案。


7. PSQL Wire Protocol v0.15.0

纯 Go 实现的 Postgres 服务端协议,用于构建自定义数据库服务器。