Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My biggest issue with Pyodide (which is of course an awesome project/build on its own) is the long wait times. I haven't figured out a way around a ~5 second load time where the entire UI hangs every single time you load the page.

My app (similar to Simon's, a lite mode of a data IDE): https://app.datastation.multiprocess.io.

My code: https://github.com/multiprocessio/datastation/blob/main/shar....



If you use it in a web worker the UI does not hang. It requires a bit more setup though:

https://pyodide.org/en/stable/usage/webworker.html

Edit: typo



Running in a Web Worker can help a lot here - you can at least avoid locking the main browser UI thread and show your own loading indicator.


Damn, I had an idea to build a very similar thing since last week. There's nothing new under the sun.

Really impressive app though, great job.


> I haven't figured out a way around a ~5 second load time where the entire UI hangs every single time you load the page

Stop using compile-to-browser junk and be a browser "native" instead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: