主页 | Web版 | 订阅 | 归档 | Feed

GopherDaily

20251031

每日一谚:Avoid repetition in naming


Go技术生态

Go官方详解“Green Tea”垃圾回收器:从对象到页,一场应对现代硬件挑战的架构演进
就在最近,Go 运行时和编译器团队的一项决议,更是将这一趋势推向了高潮:他们计划在 Go 1.26 版本中,将实验性的“绿茶”GC 作为默认的 垃圾回收器正式落地。为了帮助大家深入理解这一重大变更背后的技术原理与深层思考,我翻译了 Go 官方博客10月29日的最新文章《The Green Tea Garbage Collector》。该文是基于 Go 团队核心成员 Michael Knyszek 在 GopherCon 2025 大会上的演讲整理而成。在这篇极具技术深度的原理文章中,没有人能比官方团队的讲解更为专业和权威。因此,为了最大程度地保留其“原汁原味”,我选择以全文翻译 的形式,将其最真实、最精确的面貌呈现给大家。

【Go模块构建与依赖管理】01 前世今生:从 GOPATH 的“混乱”到 Go Modules 的“秩序”

抛弃 gRPC-Go:VictoriaTraces 中 OTLP/gRPC 支持背后的故事
为什么 VictoriaTraces 在没有使用 gRPC-Go 的情况下构建 gRPC 支持? 采用简单的 HTTP/2 服务器和 easyproto 有什么好处?

Andrej Karpathy 认为 Agent 需要 Diffs
在 Dwarkesh 播客最近的一次采访中,Andrej Karpathy 谈到了 Agent 如何需要 diffs。我们很羡慕我们没有想到这一点,所以我们写了一篇文章来赞扬 Andrej 的观点。

新引入的传递依赖中的嵌入可执行文件 — 实时开源软件供应链安全
一次常规的依赖升级引入了一个可疑的传递依赖,其中包含一个嵌入的可执行文件。虽然手动分析证实它并非恶意软件,但这次事件突出了我们对开源代码的隐式信任,以及攻击者如何通过看似无害的依赖更改来利用软件供应链。

🚀 Go Faster: Cutting the Slack in GC with Smart Memory Allocation
我的最后几篇文章深入探讨了并发(竞争条件)和系统可扩展性的问题。现在,让我们来谈谈引擎盖下的引擎:<u>Go的内存管理</u>。 **Go的垃圾收集器**非常棒,并发的,非代际的,并且设计为低延迟。但即使是最好的GC也会使用CPU周期并导致短暂的*“停止世界”*暂停,这在对延迟敏感、高吞吐量的应用程序中可能很重要。 最好的GC是**与任何事情无关的GC**。通过最大限度地减少我们在堆上创建临时对象的频率,我们可以显着减少GC开销。 **在本文中,我们将介绍** * 堆栈与堆分配如何影响性能 * 逃逸分析以及如何将数据保存在堆栈上 * 实用策略:`sync.Pool`,预分配和避免Goroutine泄漏 * 何时以及如何在生产环境中调整GC设置

云原生技术

构建在 Tailscale 之上:我们如何制作一个微型身份提供者
如何快速构建和配置在 tailnet 内部和外部都可运行的安全应用程序。

视频编码101:全面指南
视频编码是实现出色流媒体体验的基础。 了解更多关于其内部工程和潜在益处的信息。

域名的历史
域名简史。在过去的四十年里,注册了近10亿个域名。让我们回顾一下过去四十年来的域名里程碑,并思考一下未来会发生什么。

宣布 Columnar
回到数据连接的未来

The price of mandatory code reviews
Weave combines LLMs and domain-specific machine learning to understand engineering work. We understand how much work was done by AI vs. humans. How much AI is helping your team ship faster, if it's having an impact on code quality and code reviews.

AI

Here’s How the AI Crash Happens
美国正成为一个英伟达州。

The Smol Training Playbook: The Secrets to Building World-Class LLMs - a Hugging Face Space by HuggingFaceTB
Discover amazing ML apps made by the community

流行工具与项目

helm/helm
The Kubernetes Package Manager

open-telemetry/opentelemetry-collector
OpenTelemetry Collector

Tencent/WeKnora
LLM-powered framework for deep document understanding, semantic retrieval, and context-aware answers using RAG paradigm.

juanfont/headscale
An open source, self-hosted implementation of the Tailscale control server

ArvinLovegood/go-stock
🦄🦄🦄AI赋能股票分析:AI加持的股票分析/选股工具。股票行情获取,AI热点资讯分析,AI资金/财务分析,涨跌报警推送。支持A股,港股,美股。支持市场整体/个股情绪分析,AI辅助选股等。数据全部保留在本地。支持DeepSeek,OpenAI, Ollama,LMStudio,AnythingLLM,硅基流动,火山方舟,阿里云百炼等平台或模型。

gin-gonic/gin
Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

zitadel/zitadel
ZITADEL - Identity infrastructure, simplified for you.

envoyproxy/ai-gateway
Manages Unified Access to Generative AI Services built on Envoy Gateway

juicedata/juicefs
JuiceFS is a distributed POSIX file system built on top of Redis and S3.

kubernetes-sigs/gateway-api
Repository for the next iteration of composite service (e.g. Ingress) and load balancing APIs.

ollama/ollama
Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.

usememos/memos
An open-source, self-hosted note-taking service. Your thoughts, your data, your control — no tracking, no ads, no subscription fees.

grpc/grpc-go
The Go language implementation of gRPC. HTTP/2 based RPC

nektos/act
Run your GitHub Actions locally 🚀

zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.

chaitin/SafeLine
SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

smartcontractkit/chainlink
node of the decentralized oracle network, bridging on and off-chain computation

coreybutler/nvm-windows
A node.js version management utility for Windows. Ironically written in Go.

korotovsky/slack-mcp-server
The most powerful MCP Slack Server with no permission requirements, Apps support, multiple transports Stdio and SSE, DMs, Group DMs and smart history fetch logic.

aquasecurity/trivy
Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more

authelia/authelia
The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™

moby/moby
The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems


编辑:Tony Bai

编辑主页:tonybai.com

GopherDaily项目:github.com/bigwhite/gopherdaily

Copyright 2019-2024 GopherDaily