Bringing Python to Workers using Pyodide and WebAssembly
Starting today, Cloudflare is launching an open beta for writing Cloudflare Workers in Python. This new feature integrates a Python implementation directly into workerd, the open-source Workers runtime. Bindings to various resources such as Vectorize, Workers AI, R2, Durable Objects, and more are supported from day one. The Python execution environment is provided for users, mirroring how Workers written in JavaScript already work. This feature is made possible by Pyodide, a port of CPython to WebAssembly that interprets Python code without any need to precompile the Python code itself to any other format.
Company
Cloudflare
Date published
April 2, 2024
Author(s)
Hood Chatham, Garrett Gu, Dominik Picheta
Word count
4030
Language
English
Hacker News points
None found.