Simon Willison's WeblogJun 6, 2026, 3:53 AM
Running Python code in a sandbox with MicroPython and WASM
Simon Willison explores sandboxed Python execution using MicroPython compiled to WebAssembly via wasmtime.
Simon Willison describes his latest attempt to safely run Python plugin-style code inside his own applications. The alpha package micropython-wasm uses MicroPython compiled to WebAssembly, executed through the maintained wasmtime Python library. His goals include clean PyPI installation, CPU and memory limits, controlled file and network access, host functions, and reliable documentation.
想看英文原文 / 完整內容?
前往 Simon Willison's Weblog 原文 →相關
摘要由 AI 整理,以原文為準。