@webology have you looked in "Absurd Django" from @patrick and Wilhelm Klopp?
It's an experiment of running Django in the browser using Pyodide 💡
Try it here:
https://github.com/patrick91/absurd-django
@webology have you looked in "Absurd Django" from @patrick and Wilhelm Klopp?
It's an experiment of running Django in the browser using Pyodide 💡
Try it here:
https://github.com/patrick91/absurd-django
@paulox @patrick Yes, it's quite well done. I think these demos are super cool.
I dream of the day we can take a Python library like Django and get as close to pure WASM out of it vs. needing to emulate Python to then run Django.
Losing this overhead and download size would be a huge win. https://github.com/pyodide/pyodide/releases/tag/0.25.0
@webology @paulox my dream is that browsers will have a way to cache wasm interpreters (so you'd download python 3.12.x just once globally), but I think it will take time to get there
for the cost of pyodide, I think my next try will be with pure cpython (there's a wasm version), but it will still be relatively heavy. There's also micropython that can go on wasm (pyright has a version with it), but it does miss features (so django might not even run)