Urgent.News

What's breaking now, across thousands of outlets.

Tech

Cloudflare Python Workers are now generally available

Cloudflare Python Workers are now generally available After a two year preview, Cloudflare's support for running Python code in their server-side Workers platform is now stable: "Python is now a first-class, fully supported language on the Cloudflare Developer Platform". A neat thing about this is how it works. Cloudflare are running Python compiled to WebAssembly via Pyodide in their V8-based…

Cloudflare has made its Python Workers platform generally available, following a two-year preview period. Python is now a first-class, fully supported language on the Cloudflare Developer Platform. This advancement is made possible by running Python code in their server-side Workers platform as compiled WebAssembly using Pyodide.

However, this setup has some limitations, as multiprocessing and threading are not functional in the WebAssembly VM. Cloudflare's pywrangler development tool, available at PyPI as workers-py, simulates the entire stack locally, including executing Pyodide code in the WebAssembly runtime within a 123MB workerd binary. The development of Python Workers underscores Cloudflare's commitment to enhancing the Python ecosystem.

Gyeongjae Choi, Dominik Picheta, and Hood Chatham, both core Pyodide maintainers, are credited with the release.

Written by urgent.news from Simon Willison's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at simonwillison.net →

More in Tech

More from Monday 21 September →