Compilers and AI 'cyber' defense

2026年7月10日

AI 摘要 AI 生成,可能有误

Steve Klabnik 描述了新的 AI 模型(Sol 和 Fable)如何一再拒绝为他的 Rue 编译器项目提供帮助,因为其安全层将该项目的一些防御性测试实践——例如模糊测试工具(fuzzer)、净化器钩子(sanitizer hooks)和蓄意的崩溃测试——标记为潜在的网络安全威胁。虽然 AI 本身确认这些都是误报——源于这项工作表面上与漏洞利用开发的相似性——但 Klabnik 无法绕过这些防护机制。他表示担忧,此类安全政策可能会使个人开发者无法让自己的软件像大型组织所开发的软件那样健壮。

I haven’t had time to blog in a while, I have a lot to say, but have been doing a lot of things and so haven’t gotten words down in a while.

One of those things in the past few weeks has been picking back up my Rue project. I’m really excited for what it’s turning into, even though it’s not really ready for anyone else to use just yet. So go take a look if you want, but don’t expect anything amazing, it’s very much a work in progress.

Anyway, one of the things that got me back into working on it is the releases of Fable and Sol. I hadn’t really touched Rue since January, and a lot of things have changed since then. It’s fun to have new models take a look at older projects and see what their new perspectives are.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 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.

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.

Agentic development basics

AI 摘要This article, part two of a series on agentic development, guides readers through starting to write code with Claude Code after initially using it read-only. The author recommends using version control, committing fully to not writing code manually on a new throwaway project, and reviewing Claude's suggested edits closely to build intuition about how the tool interprets requests. It also introduces plan mode, which lets developers collaborate with Claude on a plan before allowing it to modify files, as preparation for more advanced techniques covered later.