Maybe, just maybe, the problem isn't the size of the javascript, it's how broken the entire web stack (specifically caching & PWA) is, that makes a trivial thing like code size a problem.
Maybe, just maybe, the problem isn't the size of the javascript, it's how broken the entire web stack (specifically caching & PWA) is, that makes a trivial thing like code size a problem.
But I am old enough to remember Gannt charts didn't use to take that long on old Pentium processors back in school, way before Git was invented.
Another thing is the sheer yuck of it:
If a typical web app was lots of business code, maybe. But when you look at the network tab and it feels like you are looking at the hair ball from a sink drain, lots of intertwined trackers to catch everything that passes, that is another story.
Could you give an example? I was an android app dev over 5 years ago and there was a huge push for lower app size everywhere. Google even made Android App Bundles to fight this issue specifically.
I just checked my web usage on my work computer. The last 120k opened URLs were on 8300 unique hosts. 8300 * 50MB is not feasible.
Web apps are soon going to be if not already matching native apps in terms of complexity yet we are still distracted from the real problem and quibble about some arbitrary and frankly pathetic code size restriction. Fix the root problem with PWA or something.
I'd say if it takes more than 50 megabytes to display a list of text, it's a problem :)
> yet we are still distracted from the real problem
Yes, I agree, "how broken the entire web stack" is the main problem. And the ungodly amounts of javascript you end up for the simplest problems is the symptom. However, neither caching nor PWA are the specific main problems in the web's brokenness :)
replace javascript with any native programming language, this has been always a problem with UI programming, but it's not THAT big of a problem because in other platforms people download the app once, instead of every time. There is a long list of problems in software engineering, but sorry to disagree with you, "the binary/script is too big" is no where near the top.