go_weekly_2025-10-11

2025-10-08 00:00

原文链接

精选

1. qjs: Run JavaScript in Go

Cgo-free JavaScript运行时,通过Wazero运行QuickJS WASM,支持Go-JS互操作和沙箱隔离。


2. How Cloudflare Found a Bug in Go’s arm64 Compiler

Cloudflare分享在Go arm64编译器中发现的罕见bug及其调试过程,展示大规模部署的挑战。


3. How to Reproduce and Fix an I/O Data Race with Go and DTrace

使用DTrace复现和修复Go文件系统数据竞争问题,提供CI环境问题的本地调试方案。


4. yzma: Perform Local Inference with VLMs and LLMs

纯Go本地AI推理库,通过purego直接调用llama.cpp,无需CGo依赖。


5. Lo v1.52.0: A Lodash-Style Library for Go 1.18+

Lodash风格的Go工具库,为slice和map提供丰富工具方法,新版改进文档站点。


其它

1. Reverse Engineering Doesn’t Have to Be Hard

逆向工程Go恶意软件的入门教程,展示基本分析技术,无需Go编码经验。


2. Terminating Elegantly: A Guide to Graceful Shutdowns

Kubernetes环境下Go应用优雅关闭实践指南,聚焦生产环境部署。


3. Killing O(n): How ‘Timing Wheels’ Expire 10 Million Keys Effortlessly in Go

使用时间轮算法高效处理大量键过期,展示Go高性能定时器实现。


4. PG Back Web 0.5: A Postgres Backup System with Web Interface

Go实现的Postgres备份系统,提供Web界面、定时备份和监控,支持Postgres 18。


5. Ebitengine v2.9.0

2D游戏引擎重大更新,显著提升矢量图形渲染质量。


6. Ginkgo 2.26

成熟测试框架新增JSON报告生成功能,兼容go test格式。


7. Go v1.25.2 and v1.24.8 have been released

Go安全更新版本,修复多个包的安全漏洞,建议升级。