2025-10-01 00:00
精选
1. Flight Recorder in Go 1.25
Go 1.25 新增飞行记录器,持续收集执行跟踪数据,便于事后诊断问题。
2. Accepted! Go Proposals Distilled
系列博客解读已接受的 Go 提案,帮助开发者了解未来版本特性,无需阅读完整提案。
3. Do 2.0: Type-Safe Dependency Injection Toolkit
使用泛型而非反射的类型安全依赖注入库,提供升级指南和完整文档。
4. Failsafe: Fault Tolerance, Resilience Patterns & Policies
提供重试、熔断、限流等容错策略的库,新增使用跟踪和执行预算功能。
5. Starving, Sleeping, and Yielding: Understanding Go’s Scheduler
深入解析 Go 调度器的饥饿、休眠和让出行为,帮助理解并发程序行为。
其它
1. We Tried Go’s Experimental Green Tea Garbage Collector and It Didn’t Help Performance
在特定场景下测试 Go 1.25 实验性 Green Tea GC,未发现性能提升。
2. 3 Critical TTL Patterns for In-Memory Caching
基于 Hot 库的内存缓存关键 TTL 模式,提升应用性能。
3. The new()
Function Will Take an Expression in Go 1.26
Go 1.26 中
new()
函数将支持表达式参数,增强语言灵活性。
4. PegoMock 4.3: A Powerful Yet Simple Mocking Framework
提供易读 DSL 的模拟框架,支持桩代码和参数匹配功能。
5. OpenCV for Go and WebAssembly with Ron Evans
90分钟直播讲解 Go 和 WebAssembly 中的计算机视觉应用。
6. Traefik project celebrates its tenth anniversary
Traefik 项目庆祝十周年,回顾其作为知名 Go 基础设施工具的成长历程。
7. Build a Water Simulation in Go with raylib-go
使用 raylib-go 库在 Go 中构建水模拟效果。
8. Register Allocation in the Go Compiler
探讨 Go 编译器中的寄存器分配机制。
9. Slice Tails Don’t Grow Forever
分析 Go 切片尾部不会无限增长的内存管理特性。