Thirteen years of Rust and the birth of Rue

2025年12月21日

AI 摘要 AI 生成,可能有误

在加入 Rust 之旅十三周年之际,Steve Klabnik 宣布推出 Rue——一门新的业余编程语言。他从 AI 怀疑论者转变为用 LLM 完成大部分编码工作后,在 Claude 的帮助下开始了这个项目。他将该项目定位为一项实验,旨在探究在没有大型团队或像 Mozilla 当年投入 Rust 那样的资金支持的情况下,能否有意义地构建一门编程语言。他强调,Rue 只是一个为了乐趣而做的个人项目,目前仍非常简陋且不完整,没有明确目标要建立社区或将其发展为超越爱好的事业。

I started using Rust on December 21, 2012. It’s now December 22, 2025. That’s a long time.

I don’t have a ton of thoughts about Rust to share today, like I thought I might. I program in the language regularly, it’s nice, I prefer it to all others. I have my beefs and my regrets, like any real project, but for the most part, I am pretty happy these days. To be honest, after a pretty rough last few years, that’s been the theme of 2025: I’m pretty happy these days.

I have long been wondering if I should try and make my own language. I really like them! That’s part of why I got involved in Ruby and then Rust in the first place! But I’ll be turning 40 in a month, and I barely have time for things anymore. So I had kind of put that on the back burner.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Steve Klabnik

Arguing about arguments

AI 摘要The article surveys argument-related language features—named parameters, optional/default arguments, and function overloading—and explains why the author, a former Ruby programmer turned Rust enthusiast, has long opposed adding them to Rust, citing the intertwined complexity and obscurity they introduce at call sites. However, the author now tentatively supports named parameters alone, arguing that AI coding agents shift the cost-benefit analysis: verbosity no longer matters much when agents write the code, while the inline clarity benefits both humans and agents. They still reject optional/default arguments because they hide what is actually being passed in, and note that many practical implementation concerns remain for adding named parameters to Rust.

So, what happened to my Claude Code series?

AI 摘要The author explains that his Claude Code series stalled because he has been extremely busy and the AI landscape has been changing so rapidly that keeping the documentation up to date became infeasible. With new releases like Claude Fable and OpenAI's upcoming Astra making the series feel increasingly outdated, he has decided to officially end it, though he still believes his earlier posts are valuable for getting started. He stresses that this decision doesn't reflect skepticism about AI—which he believes is here to stay and transforming how people work—but simply a lack of time for this specific project.

Too many words about DIDs

AI 摘要This article by Steve Klabnik explains how Decentralized Identifiers (DIDs) function in the atproto protocol that underlies Bluesky, describing how DIDs are resolved into DID Documents containing cryptographic keys and service endpoints. It compares the did:web method, which depends on DNS and self-hosted servers, with Bluesky's did:plc method, which uses the plc.directory service and remains stable even if domain names change, while discussing the trust trade-offs of each approach. The author concludes that while Bluesky initially generates and controls users' keys, did:plc's key rotation feature allows motivated users to run their own PDS and fully own their identity.

Compilers and AI 'cyber' defense

AI 摘要Steve Klabnik describes how new AI models (Sol and Fable) repeatedly refuse to help with his Rue compiler project because its safety layers flag the project's defensive testing practices—such as fuzzers, sanitizer hooks, and deliberate crash tests—as potential cybersecurity threats. While the AI itself confirms these are false positives stemming from the work's surface similarity to exploit development, Klabnik cannot bypass the guards. He expresses concern that such safety policies may leave individual developers unable to make their software as robust as that produced by large organizations.

The most important thing when working with LLMs

AI 摘要The article argues that the single most important practice when working with LLMs like Claude is giving them fast, objective ways to evaluate whether their work is correct, along with guidance pointing them in the right direction when it isn't. Drawing on lessons from teaching programming to children, the author notes that computers do what you say rather than what you mean, and applies Amdahl's law to show why optimizing the slow monitoring-and-approving step of the LLM development loop yields the biggest velocity gains. Practical techniques include letting Claude auto-run builds, tests, and commands, using informative compiler errors, and trimming verbose tool output so the model receives clear success signals and actionable failure feedback.