Show HN: A faster Python 3 interpreter implemented in C11, one week
Category: devtools
Tags: python, interpreter, c11, embeddable, sandboxing, quickjs
Score: 8.0/10 (Innovation: 8, Technical: 9, Documentation: 8, Utility: 7)
Small Python is an embeddable Python 3 interpreter written in C11, similar in spirit to QuickJS for JavaScript. It implements the core language (including async/await, pattern matching, and f-strings) with no CPython dependency, offers embedding APIs and packages for Python, JavaScript, Rust, and Go, and can compile scripts into small standalone binaries. Its sandboxed worker mode and focus on agent-friendly features make it a notable alternative for embedding Python in other applications.
Target audience: backend devs, language implementers, rust/go/js developers embedding python, devops
Repository: https://github.com/soasme/small-python · Python · MIT · 15 stars
View on Hacker News