Get the latest tech news
A possible future of Python in the browser
My Python code was too slow, so I made it faster with Python. For some definition of “Python”.
This is a good benchmark of how useful those runtimes are since effective animation needs to run at the refresh rate of your display, which in my case is 60Hz for the external monitor and 120Hz for my Macbook and iPhone. For the first end-user project in SPy, I decided to convert an existing Genuary entry I made with PyScript that draws an endless abstract topographic map. This computation was too much for pure Python in either Pyodide or MicroPython to happen inside the animation loop, so in the original project I pre-computed the map area in a Web worker.
Or read this on Hacker News