2025-10-01 00:00
精选
1. Flight Recorder in Go 1.25
Go 1.25 新增飞行记录器,持续收集执行跟踪,便于事后诊断问题。
2. Accepted! Go Proposals Distilled
系列博客解读已接受的 Go 提案,帮助开发者快速了解未来版本特性。
3. Starving, Sleeping, and Yielding: Understanding Go’s Scheduler
深入解析 Go 调度器的行为机制,帮助理解并发程序的运行原理。
4. Do 2.0: Type-Safe Dependency Injection Toolkit
使用泛型实现类型安全的依赖注入库,提供更优雅的 API 设计。
5. Failsafe: Fault Tolerance, Resilience Patterns & Policies
提供重试、熔断、限流等容错模式的库,增强系统韧性。
其它
1. We Tried Go’s Experimental Green Tea Garbage Collector and It Didn’t Help Performance
实验性 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. eBPF Web Fingerprint: Library and Server for TCP and TLS Fingerprinting
基于 eBPF 的 TCP 和 TLS 指纹识别库,适用于网络流量分析。
6. Build a Water Simulation in Go with raylib-go
使用 raylib-go 构建水流模拟,展示 Go 在图形编程中的应用。
7. Register Allocation in the Go Compiler
深入探讨 Go 编译器中的寄存器分配算法和优化策略。