3 ms·
Indeed, but you also get more bang for your downloaded buck. My toy project https://k8.fingswotidun.com/static/ide/?gist=ad96329670965dc023c5ae740b433ad6 https
by Lerc 6y ago
Indeed, but you also get more bang for your downloaded buck.
My toy project https://k8.fingswotidun.com/static/ide/?gist=ad96329670965dc023c5ae740b433ad6 https://k8.fingswotidun.com/static/ide/?gist=ad96329670965dc...
Gives you an emulator, an 8-bit AVR Assembler, and an IDE for just over 500k transferred. Almost all of it JavaScript.
Using math.js is by far the heaviest part but at least your Asm already knows things like solarMass and planckConstant :-). CodeMirror comes in second heaviest but for user-experience-per-byte you're always going to be streets ahead of a gif.
- szhu 6y agoTrue, but clients can opt to not load (or lazy-load) images without too much adverse effect. JS-heavy sites often completely break without JS.
- rdumont 6y ago> Indeed, but you also get more bang for your downloaded buck. Yet this is most times used to load React to make a button clickable.
- dvfjsdhgfv 6y agoYours is an exception to the rule - in 99% cases for 1MB of JS you get 1 MB of ads/tracking code.