3 ms·
Pyodide (standard cPython in WebAssembly) loads surprisingly quickly. My https://lite.datasette.io https://lite.datasette.io application usually starts up in l
by simonw 3y ago
Pyodide (standard cPython in WebAssembly) loads surprisingly quickly.
My https://lite.datasette.io https://lite.datasette.io application usually starts up in less than 10s - most of that is downloading about 10MB of WASM blobs, and 10MB isn't actually that big these days (many sites serve more than that in image headers).
When I built Datasette Lite I did it as a research project, assuming it would be far too slow loading to be useful. I've since changed my mind on that.
- jjtheblunt 3y agoYour project seems very cool, and good on you for it. 10 seconds is absurdly slow, though. That's like time to install Mathematica from a disk image level slow.
- simonw 3y agoI thought it was too slow as well, but apparently it's not - plenty of people are using it now, and I myself use it way more than I thought I would.
- polygamous_bat 3y ago> 10 seconds is absurdly slow, though. I hate to say this, but have you used any $ModenWebApp with $HotJSFramework recently? I thank the gods when those pages load without a 5-10 second of fancy spinning animation. Really thought we would be in a better place by 2024 but nope.
- jjtheblunt 3y agoI haven't used any such slow thing yet (am mostly a commandline world person).
- nick238 3y agoDon't work for a company where you need to turn in receipts or fill out info in crappy HR software? I mean, good for you and knowing the command line, but doing the less-fun, less-specialized parts of jobs usually involves regressing to the mean of what interfaces people know how to use.
- cozzyd 3y agoI started a job in an unusual way (first week, I deployed to the Greenland ice sheet). Workday wouldn't work over the high-latency connection so I couldn't fill out my HR paperwork without VNCing into a computer in CONUS...
- jjtheblunt 3y agoI don’t. But I understand what you’re describing
- bornfreddy 3y agoCurious - could these blobs be cached? I'm assuming they change only on upgrade?
- simonw 3y agoYes, they're cached using standard browser HTTP caching. A very rough estimate just now on my iPhone over 5G: 12s for the first load, then when I visited again took around 3s.