Personally, I see no greater advance for humanity than curing diseases. Some of these illnesses have been with us since before humans became modern humans, and now for the first time ever, we have a chance at curing or…
Facebook.com, LinkedIn.com, and Google Sheets ship ~1MB of JS compressed for their main pages, which is 5-10 MB of JS uncompressed. So JS parsing time ends up taking hundreds of milliseconds on initial load. And of…
To be fair, pretty much any platform (operating system) provides rich APIs and basic functionality like built-in UI components. So I don't think there's a lot more pre-existing functionality in a browser vs Windows or…
Yup, replied above. Thanks for digging into this more :)
Facebook.com today loads functionality dynamically. Open the Network panel, interact with a secondary feature, and you will see it load code on-demand. With respect to your example of unnecessary modules, sometimes the…
Right, and that's what happens today, the JS for the secondary functionality is loaded on demand. Here's what I have in my FB homepage during a random load: - Search bar for searching people/groups/posts/pages - News…
I don't, you're welcome to prove me wrong if you want to whip up a basic prototype. I'm vdjeric on github. My goal is to make sophisticated web apps faster, I'm not married to any particular approach.
Yes, Facebook already lazily loads code for secondary functionality. More details in this comment https://news.ycombinator.com/item?id=14912871
Facebook already only ships code that is needed to render the current page. It even goes further and it streams the code in phases so that the browser renders the UI incrementally and the page becomes interactive as…
WebAssembly is well suited for statically typed codebases written in C++ etc. You can't compile JavaScript to WebAssembly. Yes, you could do Web development in a statically typed language, but would you want to?
Facebook.com does a lot more than show a newsfeed, profiles, and notifications. - It contains a fully-fledged messenger application that supports payments, videoconferencing, sharing rich media etc - The newsfeed…
Personally, I see no greater advance for humanity than curing diseases. Some of these illnesses have been with us since before humans became modern humans, and now for the first time ever, we have a chance at curing or…
Facebook.com, LinkedIn.com, and Google Sheets ship ~1MB of JS compressed for their main pages, which is 5-10 MB of JS uncompressed. So JS parsing time ends up taking hundreds of milliseconds on initial load. And of…
To be fair, pretty much any platform (operating system) provides rich APIs and basic functionality like built-in UI components. So I don't think there's a lot more pre-existing functionality in a browser vs Windows or…
Yup, replied above. Thanks for digging into this more :)
Facebook.com today loads functionality dynamically. Open the Network panel, interact with a secondary feature, and you will see it load code on-demand. With respect to your example of unnecessary modules, sometimes the…
Right, and that's what happens today, the JS for the secondary functionality is loaded on demand. Here's what I have in my FB homepage during a random load: - Search bar for searching people/groups/posts/pages - News…
I don't, you're welcome to prove me wrong if you want to whip up a basic prototype. I'm vdjeric on github. My goal is to make sophisticated web apps faster, I'm not married to any particular approach.
Yes, Facebook already lazily loads code for secondary functionality. More details in this comment https://news.ycombinator.com/item?id=14912871
Facebook already only ships code that is needed to render the current page. It even goes further and it streams the code in phases so that the browser renders the UI incrementally and the page becomes interactive as…
WebAssembly is well suited for statically typed codebases written in C++ etc. You can't compile JavaScript to WebAssembly. Yes, you could do Web development in a statically typed language, but would you want to?
Facebook.com does a lot more than show a newsfeed, profiles, and notifications. - It contains a fully-fledged messenger application that supports payments, videoconferencing, sharing rich media etc - The newsfeed…