Powering React with Python (WASM)
Powering React with Python (WASM)
A few weeks ago, Theo T3 posted a read-through of a Medium article showing how to augment an AngularJS website with WebAssembly in order to compute a factorial. I've been building a general(-ish) purpose Python compiler, mainly focused on numerical computing and AI inference. I figured it would make a good exercise to create something similar, this time with a bit more number crunching. I vibe-coded a Lightroom-esque image editor UI (thanks Claude!) then wrote a tiny Python function that does a contrast adjustment using PyTorch. It gets compiled to wasm with what I'm building, and runs blazing fast thanks to vectorized 128-bit wasm intrinsics (I wonder if we'll get 256-bit anytime soon). Play with it here: https://github.com/olokobayusuf/photo-editor . I'm exploring building a WebGPU-powered tensor framework to go even faster. Let me know what you think!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Mountaineer – Webapps in Python and React
"Who Is Hiring?" React and Python Top Requested
CustomStringParser ( Python)
Lusernews is an implementation of lamernews in python
Do/While in Python
Gatos, conCATenative functions for python
A wrapper around datetime, pytz and tzlocal for Python 3.2+
Parallelizing word2vec in Python
piprot – How rotten are your [python] requirements?
Fancy iterators for Python 2.7 - 3.x