跳到正文
原文
Simon Willison·· 18 天前AI 评分32

pwasm 0.2a0:Claude Opus 5.5 优化纯 Python WebAssembly 引擎

pwasm 0.2a0

AI 导读

Claude Opus 5.5 模型对纯 Python WebAssembly 引擎 pwasm 进行优化,使其处理了几乎所有 WASM 规范,并支持 PyPI 包的 WASM 构建,包括 MicroPython、QuickJS 和 Micro QuickJS。目前版本为 alpha,仍需谨慎使用。

原文

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.

来源:Simon Willison · simonwillison.net