Alternatives
Products that do what A library for `exec`ing Python code safely using WASM does
Inspired by Simon Willison's blog post that was catalyzed by this HN post: https://news.ycombinator.com/item?id=34598024 wasm_exec is a Wasm-powered, sandboxed implementation of exec() for safely running dynamic Python code There are number of use-cases emerging that require arbitrary code execution, often code that is generated by LLMs (Large Language Models) like ChatGPT. This can enable some really cool functionality - like generative BI or website generation - but also introduce a massive security flaw if implemented via eval() or exec(). This is because arbitrary code can…
- 1WR
A while ago I started experimenting with compiling the Python interpreter to WASM. To build a secure, fast, and lightweight sandbox for code execution — ideal for running LLM-generated Python code.
2024 · github.com
- 2PT
2014 · github.com
- 3WW
2020 · blog.yifangu.com
- 4

- 5EA
eno [1] - A modern plaintext language w/ libraries [2] for JavaScript, Python, Ruby & soon more! We migrated a big relational research database to a file-based solution - requirements were: - Super fast and easy editability for users - Highest performance for parsing/validating >10K documents on every user change. Our trials with YAML/TOML showed us that we wanted something both faster [3][4] and easier [4], something tailored for file-based content management ... and after months of research & development it's now publicly available (under MIT license) for everyone! Last but…
2018
- 6

- 7PP
Hi everyone! I just released the Practical Python Projects book! (https://practicalpython.yasoob.me) I am happy to announce the first version as a release candidate. I have poured a lot of love into writing this book and would love to hear what you guys think. (A limited 100% off and discount coupons at the end) This is not a pure beginner book. The book does assume some background Python knowledge. You need to know the basics like methods, functions, classes, and such. If I use something that is not typically covered in beginner Python books, I will explain it before I use it.…
2021 · practicalpython.yasoob.me
- 8MA
2020 · github.com
- 9AC
2010 · pyxc.org
- 10FO
Recently, I saw few Python accelerators getting a lot of attention, and I thought it would be a good time to finally present the project that we will make available to test in the upcoming days. Flyable is an ahead-of-time compiler that takes your Python code, analyses it, and outputs very optimized machine code. Micro-benchmarks show that it produces programs that run between 10-70x time faster than Python. Flyable is certainly one of the fastest and easiest ways to accelerate your Python code. It finally allows Python to compete in the ring of fast and efficient languages without having to…
2020
- 11SI
2021 · sourcery.ai
- 12LA
We combined Stanford's ACE (agents learning from execution feedback) with the Reflective Language Model pattern. Instead of reading traces in a single pass, an LLM writes and runs Python in a sandbox to programmatically explore them - finding cross-trace patterns that single-pass analysis misses. The framework achieved 2x consistency improvement on τ2-bench.
Mar 2026 · github.com
- 13PP
2020 · codewithrepl.it
- 14CV
cataclysm is an over-the-top experiment to take more of the human out of coding. Any function you give it, it generates and executes. No need to think about what you need, it'll make it for you. I haven't taught it to use itself yet if a module isn't installed, but that's next on the agenda once GPT4 isn't so slow. Video intro here: https://www.youtube.com/watch?v=ZK8fUuQDgZ4 Some random examples when using global cataclysm: >>> uhoh = first_prime_with_3_digits() >>> print(uhoh) 101 >>> scary_words = get_italicized_phrases_wikipedia(page="Global catastrophic risk",…
2023 · github.com
- 15AC
2020 · github.com
- 16CE
2019 · github.com
- 17AW
I've spent the past couple of weeks building a Wasm-to-Go translator. It supports a subset of Wasm useful enough to translate SQLite into 600k LoC (~20 MiB) of Go code. It already passes all of my Go SQLite driver's tests across the 20 platforms I support. Performance compared to https://wazero.io/ is a bit of a mixed bag: code that frequently crosses the Go-Wasm boundary improves, but code that spends most of its time in "Wasm land" doesn't. There's probably room for improvement (I'd love to hear your ideas), but this is also a testament to how good the wazero AOT compiler…
Feb 2026 · github.com
- 18IM
I found a serious bottleneck in Python binding of Wasmer and Wasmtime and I found a trick to make 25x faster. Then beat all that using NumPy.
2023 · medium.com
- 19FP
As developers, we've used StackOverflow, blogs, tutorials, etc to solve our day-to-day code issues and we've been able to find answers to virtually all of our questions. At the same time, CodePen, CodeSandbox, JSFiddle, etc have made it simple to share and execute code for frontend developers but when I look for folks working at the backend side (preferably Python) there is nothing that entices the whole developer community yet. While other Python sandbox solutions are available, they do not provide installation choices or are not intended for embedding and sharing. With this thought, we…
2022 · pythonsandbox.dev
- 20AE
2016 · github.com
- 21LR
Hi there, I built a React code editor component that also compiles, executes and returns the outputs of the program written in it (via pyodide/webassembly). I believe that this is a useful package for those building projects with web-based code editors. Expanding the library to be more flexible + have greater language support is a goal for the future. Hope it helps someone out there - please feel free to reach out if I can assist. Feedback and suggestions are always welcome.
2024 · npmjs.com
- 22NL
Built this because I was tired of every AI tool shipping my data to someone else server n0x runs the full stack LLM inference via WebGPU, autonomous ReAct agents, RAG over your own docs, sandboxed Python execution via Pyodide all inside a single browser tab. No account No keys No backend Models download once, cache in IndexedDB permanently. Biggest challenge was context window budgeting for the agent loop and making the WASM vector search non-blocking. Happy to talk architecture. GitHub: https://github.com/ixchio/n0x | Live demo: https://n0x-three.vercel.app
Mar 2026 · n0xth.vercel.app
- 23MC
Hi HN, I'm excited to introduce Mixlayer, a platform I've been working on over the past 6 months that allows you to code and deploy prompts using simple JavaScript functions. Mixlayer recreates the developer experience of using LLMs locally without having to do all of the local setup yourself. I originally came up with this idea when using LLMs on my MacBook and thought it’d be cool to build a product that makes it easy for everyone. It compiles your code to a WASM binary and runs it alongside a custom inference stack I wrote in Rust. When you integrate LLMs in this way, your code and the…
2024 · mixlayer.com
- 24PF
2020 · pythonexperienced.substack.com
Ranked by how close each launch is in meaning, then by votes. Refine with a description →