跳到正文
每分钟自动更新
11月24日周二
  1. Simon Willison

    Ladybird's first alpha release

    中文摘要

    中文摘要待更新

    英文原文

    Ladybird is an astonishingly ambitious project: a new browser, in 2026, with its own implementation of most of the key components - HTML parsing, CSS engine, layout, JavaScript, even WebAssembly. It still uses a few external components - things like HarfBuzz for text shaping, Skia for 2D graphics, ffmpeg for video, and SQLite for the things you do with SQLite. Everything else is part of Ladybird, or code brought in from Ladybird's even more ambitious predecessor project SerenityOS . This morning the Ladybird project released their first alpha , which means you can now install the browser (on macOS or Linux) without having to compile it yourself! I've been trying it out today, and it's very impressive. It feels fast, the UI is lightweight and intuitive, and most of the websites I've tried to load in it have worked as they should. It looks like this (showing my video-compressor tool): Here's the process tree after I opened six tabs in one window and another tab in a second window (generated by this script , thanks Claude): Ladybird (72925) [240 MB] └── Hub (72926) [61 MB] ├── RequestServer (72927) [29 MB] ├── ProcessReaper (72928) [1 MB] ├── Compositor (72930) [123 MB] ├── RequestSer

11月22日周日
  1. Simon Willison

    Muru

    中文摘要

    中文摘要待更新

    英文原文

    Muru Graham Dumpleton started mod_wsgi 20 years ago, and has been thinking about the ideal way to serve Python web applications in production ever since. Muru is his new, AI-assisted Rust server that aims to provide the best possible tools for running ASGI and WSGI Python apps both in development and production. As he did with wrapture , he's been publishing an extraordinarily detailed account of the project as he works on it - as part of his development process. Here's everything he's published so far, all in the last three weeks: 2026-11-04 — Twenty years of mod_wsgi, and what comes next 2026-11-05 — A first look at Muru 2026-11-07 — Muru: looking inside the workers 2026-11-08 — Muru: how it fits together 2026-11-09 — Muru: import once, fork many 2026-11-10 — Muru: HTTPS in development 2026-11-11 — Muru: WSGI and ASGI together 2026-11-11 — AI as a lifestyle choice 2026-11-12 — Muru: releases, not restarts 2026-11-13 — Muru: canaries without a service mesh 2026-11-14 — Muru: a better tenant in a container 2026-11-15 — Muru: working with Kubernetes, not around it 2026-11-16 — Muru: scaling from what the workers report 2026-11-17 — Muru: scaling to zero 2026-11-18 — Muru: overlays o

11月18日周三
  1. Simon Willison

    Quoting Daniel Stenberg

    中文摘要

    在这些代理将185,000行C代码转换为340,000行Rust代码的这段时间里(我进行了统计),我们在实际的curl项目中合并了300多个提交。在这些不到三周的时间里,我们实际上改进了curl。实际修复了200多个错误。这些Rust重写中并没有这些错误修复。我们还修复了一些漏洞。在接下来的一个月里,我们又完成了另外200多个修复,可能还修复了几个更多的漏洞。这些代码克隆体能跟上吗?——Daniel Stenberg,实际的curl Rust重写 标签:daniel-stenberg,curl,rust,安全,编码代理,c,人工智能,llms,生成式人工智能,vibe-porting

    英文原文

    During the time these agents converted 185,000 lines of C code into 340,000 lines of Rust code (I counted), we merged over 300 commits in the actual curl project. We actually improved curl during these a little more than three weeks. A little over 200 bugfixes actually. 200 bugfixes that none of those rust rewrites have. We also fixed a few vulnerabilities. In another month we have done another 200 and maybe fixed a few more vulnerabilities. Will these clones keep up? — Daniel Stenberg , Actual curl rewrites in Rust Tags: daniel-stenberg , curl , rust , security , coding-agents , c , ai , llms , generative-ai , vibe-porting

11月12日周四
  1. Simon Willison

    aws-emulator

    中文摘要

    aws-emulator 最终,AWS 出了一个官方的模拟器,可以在本地克隆他们的多种不同服务上进行测试,而无需申请付费的 API 密钥。这个工具是用 Rust 编写的,由一大群代理开发——在项目开始的前三周就完成了 29,684 次提交。Swaminathan(Swami)Sivasubramanian 在 Werner Vogels 的博客上发表了一篇客座文章,讲述了它是如何诞生的。目前,它在 macOS 或 Windows 上运行需要 Docker。我希望将来他们能解决这个问题——如果可以下载一个单独的二进制文件,并在其他语言和其他平台上作为标准测试套件的一部分使用,那就太好了。标签:亚马逊,亚马逊网络服务,测试,werner-vogels,人工智能,rust,docker,生成式人工智能,大语言模型,代理工程

    英文原文

    aws-emulator Finally, an official emulator from AWS to run tests against a local clone of their many different services without having to provision a paid API key to do so. It's written in Rust by a huge swarm of agents - 29,684 commits in the first three weeks of the project. Swaminathan (Swami) Sivasubramanian wrote about how it came to be in a guest post on Werner Vogels' blog. It currently requires Docker to run on macOS or Windows. I'm hoping they fix that in the future - it would be great if you could download a single binary and use that as part of a standard test suite in other languages and on other platforms. Tags: amazon , amazon-web-services , testing , werner-vogels , ai , rust , docker , generative-ai , llms , agentic-engineering

11月9日周一
  1. Simon Willison

    parse_number() as a SQLite extension: C vs Rust

    中文摘要

    研究:将parse_number()作为SQLite扩展:C语言与Rust 当我带着狗散步时,我开始好奇编写一个SQLite C扩展来添加一个parse_number()函数会有多容易/困难,这个函数可以将类似-$1,234.56或'12.5%'这样的字符串转换为可以求和和排序的数值。我打开了常规的Claude聊天(Opus 5.5),并输入了以下内容: 我正在考虑一个SQLite自定义函数'parse_number(value)',它会删除','、'$'、'£'和'%',处理前导的'-',并返回'NULL'如果无法解析任何内容。 探索以C语言还是Rust语言构建这个SQLite扩展之间的差异——我想比较性能以及最终生成的.so(或其他)文件的代码复杂性和大小。 这给了我一个良好的起点——Rust扩展使用Rusqlite时是321 KB,使用sqlite-loadable-rs时是298 KB,而C扩展是14 KB。但Rust扩展更快!原来是因为Rust中C的strtod的等效实现“快两倍”。因此我继续提问: 尝试编写你自己的C函数,将文本解析为十进制数字,以赶上或超越Rust实现 它做到了,使用了“Clinger的快速路径”:每行的净成本超过2百万

    英文原文

    Research: parse_number() as a SQLite extension: C vs Rust I was out walking the dog when I got curious about how easy/difficult it would be to write a SQLite C extension that adds a parse_number() function for turning strings like -$1,234.56 or '12.5%' into numeric values that could be summed and sorted. I fired up regular Claude chat (Opus 5.5) and prompted : I'm thinking about a SQLite custom function 'parse_number(value)' that strips ',', '$', '£' and '%', handles a leading '-', and returns 'NULL' for anything it can’t parse Explore the difference between building this as a SQLite extension in C v.s. in Rust - I want to compare performance and code complexity and size of the resulting .so (or whatever) file This gave me a solid starting point - the Rust extension was 321 KB (using Rusqlite ) and 298 KB (using sqlite-loadable-rs ), while the C extension was 14 KB. But the Rust extension was faster! Turns out that's because the Rust equivalent of C's strtod is "twice as fast". So I prompted: Try writing your own C function for parsing text into a decimal number that catches up to or beats the Rust implementation And it did, using "Clinger's fast path": Net cost per row over 2 mill

10月16日周五
  1. Simon Willison

    sparqlite: SPARQL 1.1 inside SQLite, written in Rust

    中文摘要

    研究:sparqlite:在SQLite中运行的SPARQL 1.1,用Rust编写。这个研究任务实际上是在“Ultracode”模式下运行Claude Code的网络实验,如Claude Code文档中“使用动态工作流在大规模中协调子代理”所描述的那样。当开启Ultracode时,Claude Code会积极地使用动态工作流——它生成JavaScript,用来定义并协调一个子代理网络来处理复杂的问题。我最初的提示是这样的——我原本的意思是“直接操作行”,“delete”这个词是我手机上的一个意外拼写错误:用Rust编写一个SQLite扩展,植入SPARQL,并且运行得非常快,因为它可以直接删除行。这导致Claude Code for web运行了超过12个小时。第二天我查看了它的进展,并在注意到它构建了多少个Rust crate时发送了一个后续提示:每个crates/目录中的文件夹都需要一个README。包括一个tutorial.md,教用户如何安装扩展,如何在SQLite CLI中运行它,然后教他们如何使用SPARQL以及如何使用SQLite扩展。包括一个带有教程的脚本,用于用有用且现实的示例数据填充SQLite数据库。

    英文原文

    Research: sparqlite: SPARQL 1.1 inside SQLite, written in Rust This research task is really an experiment in running Claude Code for web in "Ultracode" mode, as described in Orchestrate subagents at scale with dynamic workflows in the Claude Code documentation. With Ultracode turned on, Claude Code makes aggressive use of dynamic workflows - it generates JavaScript that defines and coordinates a network of subagents to take on complex problems. My initial prompt was this - I meant "hit the rows directly", the word "delete" was an accidental typo on my phone: Write a SQLite extension in Rust that implants SPARQL and runs really fast because it can hit the delete rows directly This caused Claude Code for web to churn for over 12 hours. I checked in on its progress the next day and sent a single follow-up prompt when I noticed how many Rust crates it had built: Every folder in the crates/ directory needs a README Include a tutorial.md teaching users how to install the extension and how to run it in the SQLite CLI and then teaching them SPARQL in addition to how to use the SQLite extension Include a script with the tutorial for populating a SQLite database with useful and realistic exa