go_weekly_2025-10-29

2025-10-22 00:00

原文链接

精选

1. The Draft Go 1.26 Release Notes

Go 1.26 草案发布,支持 new 表达式等增强功能,预计2026年2月发布。


2. The Speed of Random Number Generators

比较 Go 随机数生成器性能,math/rand/v2 使用 PCG 算法速度最快。


3. The ‘Compare IP Subnets’ Proposal

Go 1.26 将简化 IP 子网比较,如直接比较 10.0.0.0/8 等 CIDR 格式。


4. gotests: Automatically Generate Test Boilerplate From Code

v1.8.0 支持泛型,可从源代码自动生成表驱动测试代码。


5. Writing Better Go: Lessons from 10 Code Reviews

基于10次代码审查经验,分享 Go 最佳实践和改进建议。


其它

1. The “10x” Commandments of Highly Effective Go

十条 Go 开发高效准则,配合 GoLand IDE 示例说明。


2. urfave/cli 3.1: A Declarative Way to Build Go CLI Apps

声明式构建 CLI 应用,支持自动补全、选项解析和帮助文本生成。


3. go-torch: Torch-Like Deep Learning Framework in Go

纯 Go 实现的深度学习框架,从头构建类似 PyTorch 的功能。


4. superfile: Go-Powered Terminal-Based File Manager

基于 Bubble Tea 的现代化终端文件管理器,支持主题定制。


5. Durable Background Execution with Go and SQLite

使用 Go 和 SQLite 实现持久化后台任务执行,确保任务可靠性。


6. JWT Authentication in Go with Gin

在 Gin 框架中实现 JWT 认证,适用于 Vonage 及其他场景。


7. go-nvtrust: NVIDIA GPU and NVSwitch Confidential Computing Attestation

Go 版 NVIDIA 可信计算证明工具,用于 GPU 机密计算验证。