sparqlite: SPARQL 1.1 inside SQLite, written in Rust
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
应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。
来源:Simon Willison · simonwillison.net