Simon Willison 发布 pwasm 0.2a0:让 Claude Opus 5.5 接手42个提交后,纯 Python 写的 WASM 引擎几乎覆盖全规范、还打进 PyPI
pwasm 0.2a0
评分 37
导读
Simon Willison 软件发布:pwasm 是他"一时 AI 狂热"期间(1月)整段 vibe-coded 出来的纯 Python WebAssembly 引擎,此后一直放着。这次他让 Claude Opus 5.5 上手,只给了"评估 pwasm 现状、想想把研究仓库里的 MicroPython 与微型 JavaScript 实验跑起来需要什么、以及提速需要什么"的提示词——42个提交、几乎无需后续提示,它现在能处理几乎所有 WASM 规范,PyPI 上的 wheel 已打包可用的 MicroPython、QuickJS 与 MicroPython 的 WASM 构建。
主体与标签
正文
pwasm is one of my folly projects - an entirely vibe-coded pure Python WebAssembly engine that I built in January during my first bout of AI mania .
I hadn't touched it since January, so I decided to let Claude Opus 5.5 loose on it and see if it could make any significant improvements:
Evaluate current state of pwasm - then consider what it would take to get the MicroPython and micro JavaScript experiments from the research repo working under it - and what it would take to speed it up
42 commits later (with minimal follow-up prompting) it now handles almost all of the WASM specification, and the wheel from PyPI bundles working WASM builds of MicroPython , QuickJS and Micro QuickJS .
I wouldn't trust this thing at all - hence the alpha version tag - but it's interesting seeing how today's models can improve on the work of models from 10 months ago.