A possible future of Python in the browser
Published on: 2025-07-15 16:15:14
A peek into a possible future of Python in the browser
My Python code was too slow, so I made it faster with Python. For some definition of “Python”.
I spent last week in the gorgeous Aosta Valley with Antonio Cuni from Anaconda (middle) and Hood Chatham from Cloudflare (left). I was the only one without a Ph.D. degree, but they were both kind enough to act as if they didn’t notice. We managed to get SPy to run in the Web browser, unbreak Pyodide on iOS, as well as make a SPy-accelerated demo with Pyodide. But let’s start at the beginning.
Looking back
Eleven years ago Gary Bernhardt gave an influential talk at PyCon US called The Birth & Death of JavaScript. The Web platform is shaping up to be just as powerful as Gary’s vision in 2014. WebAssembly exceptions and garbage collection are generally available, JavaScript Promise Integration is close as well. I feel like we’re on the verge of true programming language democracy on the Web.
In 2019 I gave a keynote at PyConDE and PyLon
... Read full article.