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
使用泛型实现类型安全的依赖注入库,提供从 v1 升级到 v2 的指南。
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. PegoMock 4.3: A Powerful Yet Simple Mocking Framework
提供易读 DSL 的 Go 模拟框架,支持桩和参数匹配。
4. eBPF Web Fingerprint: Library and Server for TCP and TLS Fingerprinting
基于 eBPF 的 TCP 和 TLS 指纹识别库及服务器,用于网络流量分析。
5. The new()
Function Will Take an Expression in Go 1.26
Go 1.26 中
new()
函数将支持表达式参数,增强初始化灵活性。
6. Build a Water Simulation in Go with raylib-go
使用 raylib-go 库在 Go 中构建水模拟效果,展示图形编程能力。
7. Register Allocation in the Go Compiler
探讨 Go 编译器中的寄存器分配机制,深入理解编译优化。
8. Slice Tails Don’t Grow Forever
分析 Go 切片尾部不会无限增长的特性,揭示内存管理细节。