monty-go: Pure-Go wrapper for Pydantic's Monty Python Interpreter
networked
49 points
12 comments
August 30, 2026
Related Discussions
Found 5 related stories in 63.2ms across 4,990 title embeddings via pgvector HNSW
- A pure scheme web programming tool guenchi · 74 pts · July 12, 2026 · 44% similar
- Pgbot: A 5.9 MB read-only Postgres tool for humans and agents sashash · 47 pts · August 25, 2026 · 41% similar
- G#: A modern .NET language with Go, Kotlin, and Swift ergonomics mashally · 12 pts · July 11, 2026 · 41% similar
- Self-contained highly-portable Python distributions jcbhmr · 129 pts · July 27, 2026 · 40% similar
- Show HN: PyScrappy, self-healing web scraping selectors plus an MCP server vedaant00 · 20 pts · August 16, 2026 · 39% similar
Discussion Highlights (6 comments)
digdugdirk
Is this Python in Rust in WASM in Go? The Monty name was a perfect choice, Yakety Sax was playing in the distance as I read through the readme. Jokes aside, I do love seeing WASM as a bridge to enable cool stuff like this.
mkl
Monty itself seems much more interesting than a Go wrapper for a WASM runtime running the Rust implementation that runs the Python code. There was a big discussion about it 6 months ago: https://news.ycombinator.com/item?id=46918254
simonw
If you're going to run Python code inside a WebAssembly container anyway why go with the Monty subset when you could use full CPython (or MicroPython) compiled to WASM instead?
evacchi
loving to see more uses of wazero in the wild! I think these uses of the Wasm sandbox show a lot of promise!
camdenclark
Funny -- I just built a pure go wrapper myself because this one is super out of date! https://github.com/CamdenClark/monty-go It implements the new subprocess model for spawning Monty VMs that help keep your main thread isolated if one of the VMs crashes. Because Monty is packaged as a binary now, you don't need to do the WASM embedding stuff, you just need to make sure you have the binary. (Similar to how you would run playwright in Go, for example)
tuvix
Are there significant differences re: sandboxing between Lua and monty? Just curious if there are any holes that a Lua sandbox has that monty might account for