Python could soon rival JavaScript for web applications

coding
(Image credit: Shutterstock / Elle Aon)

There’s a new project that’ll reportedly enable the Python programming language to run within web browsers with the help of WebAssembly.

The CPython on WASM project, which will build the default and most popular implementation of the Python language written in C is developed by Berkeley-based software developer, Ethan Smith.

According to The Register, the project was created with the help of core Python developer Christian Heimes, and could make Python a viable alternative to JavaScript, at least for some web applications.

Python on the web

"The new project which Christian Heimes and I are working on has a goal of making the web a supported platform for CPython, just like Windows or macOS," Smith told The Register.

WebAssembly has taken the world by storm thanks to its promise of bringing the performance of native applications to the web, to the level that isn’t possible with JavaScript.

However, The Register notes that at this point, the goal of the project to bring Python to the browser through WebAssembly’s  Emscripten compiler, is more about enabling the use case, rather than performance.

The project reportedly comes in the wake of another project, called Pyodide, which too enables Python code to run in the browser.

"My hope is that this will enable a wider ecosystem of Python developers targeting the web, and allow for easier integration with existing Python tools and processes, many of which Pyodide has had to reinvent like micropip to replace the standard pip package installer,” explained Smith. 

Smith hopes that his project can help facilitate web-based cross-platform app development, but is quick to add that CPython on WASM is still in the early stages of development.

Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
A close up of a person typing on a MacBook keyboard.
Best IDE for Python of 2025
LinuxPDF
First Doom, now Linux: an unnamed high school student runs Linux OS in a PDF doc in Google Chrome so what's next?
The Python banner logo on a computer screen running a code editor.
Best Python online course of 2025
Parallels Desktop 20.2
This software may finally kill Windows on desktops for good, and I think Apple should buy it now
A laptop screen showing a ChatGPT coding panel
The ChatGPT Mac app just got a massive coding upgrade – and it’s coming to Windows soon
New NordLayer browser interface
‘Browsers cannot stay unprotected’ - NordLayer unveils its holistic cybersecurity-focused browser
Latest in Software & Services
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
Group of people meeting
Zoom vs Google Meet: which is the best video conferencing tool for your business?
Person at laptop
Windows 11 vs Windows 365: which is the best choice for businesses?
A man sitting at his desk in the evening and using a desktop computer
Office 2021 vs Office 2024: is it time to upgrade?
Microsoft 365 Business app logos
Office 2024 LTSC vs Microsoft 365 Business: what are the differences?
Windows 11 Start menu layout choices: Grid view
Windows 11 vs Linux for business: which operating system should you embrace?
Latest in News
Brad Pitt looks over his right shoulder with 'F1' written behind him
Apple Original Films will take you behind-the-scenes of a racing cockpit in this new thrilling F1 movie trailer
AI writer
Coding AI tells developer to write it himself
Reacher looking down at another character from the Prime Video TV series Reacher
Reacher season 3 becomes Prime Video’s biggest returning show thanks to Hollywood’s biggest heavyweight
Image showing detail of the Leica D-Lux 8
Still can't get a Fujifilm X100VI? This premium Leica compact costs less, and it's in stock
Man using iMessage on an iPhone
Apple will finally enable encrypted RCS messages between iOS and Android, and it's about time
Google Messages update
Google Messages could soon follow WhatsApp with an upgrade that makes it much easier to join group chats