4 ms·
How slim can you really be when your stack bundles an entire web browser so you can push pixels on the screen? Focusing on performance probably requires running
by loup-vaillant 5y ago
How slim can you really be when your stack bundles an entire web browser so you can push pixels on the screen? Focusing on performance probably requires running away from such bloat.
Remember: 25 years ago we were able to write relatively fast GUI applications. They may have gotten prettier, fancier, and screens have definitely grown larger. Still, computers are now much faster. And with M2 drives, starting a word processor or a drawing application should be instantaneous. Yet somehow it isn't.
You're right, the main problem is the lack of focus on performance. Here's the thing though: if we did focus on performance, we wouldn't have tolerated such bloated stacks in the first place.
- enumjorge 5y agoIMO it’s the increase in platforms that have pushed people towards a cross-platform solution even though it’s pretty wasteful. In the 90s if I wanted to write an application to target most computer users I would have written a Windows application. Now, depending on the app you need to target MacOS, Linux, web, iOS, Android. I think people underestimate how much stuff you have to learn to be an effective UI developer on a new stack. There’s layout rules, visual customization, state management, how to organize your effectively for large code based, debugging, accessibility, localization, visual effects. Not to mention how fleshed out the tooling and documentation is for the web stack. Browser dev tools are really good. It’s no wonder people want to reuse all those skills to build UIs. If even companies like Spotify or Slack think they don’t have the resources to build custom applications per platform, smaller companies or teams won’t either. (I say think because I disagree with their strategy but that’s beside the point). We need a way for people to use their web stack knowledge without requiring a full browser.
- seph-reed 5y agoVery much agree. I think web-dev, for better or worse, has pioneered a lot of UI concepts and design strategies purely by being more accessible. Getting those lessons into a more efficient compiled form would be a great step, and I do think TypeScript is slowly approaching a place where it might be able to bridge that gap.