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!
olokobayusuf•3h ago