3 ms·
It bothers me that PWAs are a thing too. If we have a perfectly capable computer in our smartphones, just let a native app (whether it uses a higher level langu
by coldtea 8y ago
It bothers me that PWAs are a thing too. If we have a perfectly capable computer in our smartphones, just let a native app (whether it uses a higher level language or not) handle it.
Better performance, better battery use, better integration, more platform features available, better look and feel, and so on...
- vatueil 8y ago> It bothers me that PWAs are a thing too. I think you accidentally replied to the wrong comment. It sounds like you're responding to lettergram's comment, which also complains that PWAs bother him: https://news.ycombinator.com/item?id=19011910 https://news.ycombinator.com/item?id=19011910 Versus the parent comment from reichardt, which speaks favorably of PWAs.
- coldtea 8y agoNah, I switched what's the point of bother ironically. You're bothered by X? Yeah, I'm bothered by non-X as well...
- cm2187 8y agoThat's where wasm enters the scene! Pwa + wasm is I think a little revolution in client app development.
- coldtea 8y agoI think the problem is the DOM, not the execution engine. If it's just WASM and no-DOM, then it might as well be native.
- reichardt 8y agoI'm interested in better understanding your concerns. If the DOM and JavaScript are the main sticking points, how would you feel about web apps being implemented with WASM and targeting WebGL/WebGPU as the rendering target? Are you feeling more favorably towards technologies like Flutter? https://flutter.io/ https://flutter.io/
- untog 8y agoWebGL as a target would work, except that it has no accessibility affordances. That needs to be solved first.
- deleted 8y ago[deleted]
- pjmlp 8y agoUnfortunately accessibility affordances usually come after documentation and unit tests, so most projects only care about them when deploying into government regulated scenarios.
- coldtea 8y ago>how would you feel about web apps being implemented with WASM and targeting WebGL/WebGPU as the rendering target? In that case, what would make them "web" apps anymore, as opposed to apps running on a low-level VM and a GPU library? They'd be more like e.g. Java+OpenGL apps. Just that they launch from a web browser? All kinds of non-web technologies do that as well. >Are you feeling more favorably towards technologies like Flutter? Yes, though I'd prefer they targeted the native SDK's UI widgets.
- reichardt 8y ago>In that case, what would make them "web" apps anymore, as opposed to apps running on a low-level VM and a GPU library? They'd be more like e.g. Java+OpenGL apps. Just that they launch from a web browser? All kinds of non-web technologies do that as well. Yes, distribution via the browser sets apart web apps from native apps. This includes several advantages that I value very much. 1. Cross Platform: If your device runs a modern web browser than there's a high chance it will run any web app that adheres to open web standards. Browsers are unique in that regard because all major vendors make a good effort of working on and implementing the same specifications. Today almost any consumer device is able to run JavaScript. In the future this will include WASM. 2. No gate keepers: Google or Apple can stop developers from publishing an app on their platforms, but they can't stop developers from publishing a web app. To me that's a central promise of the web and severely limits corporations and nation states abilities to taking control of or censoring content.
- cm2187 8y ago> If it's just WASM and no-DOM, then it might as well be native. Two key arguments in favor of wasm against native: fully cross platform, security sandbox.
- coldtea 8y agoYeah, I'm not against those. In fact, I didn't mean my comment to be "If it's just WASM and no-DOM, then you might as well go full native" but rather ""If it's just WASM and no-DOM then it's more or less native already".
- nicoburns 8y agoThat does involve writing two apps instead of one if you want to support ios and android though. Plus, some PWAs are really good. I much prefer facebooks mobile website to their app...
- briandear 8y agoSo write two apps. Android and iOS are different, have different capabilities and a market size that justifies the effort — assuming your app is worth a damn in the first place. This lowest common denominator development trend is obnoxious. Basically, it “socializes” the experience so that every device is treated equally despite devices having different strengths and weaknesses. We are trying to make devices conform to the app rather than the app conform to the strengths of the device.
- nicoburns 8y agoThere's a trade off here, right? Between focussing on these platform specific UX details, and actually implementing more functionality jn the app. Also: modern smartphones are very similar to each other. Sure there are differences, but for the most part they are minor.
- coldtea 8y ago>That does involve writing two apps instead of one if you want to support ios and android though. As a user, it's enough for me that you support one platform, the one I use, as best as possible.
- nicoburns 8y agoWell, it's not enough if the company decides to support the one that you don't use! Also, many apps that provide access to a service don't make commercial sense unless they are accessible from both platforms.
- IvanK_net 8y ago- "better performance, better battery use" - this is not true at all. What makes you think so? - "better integration, better look and feel" - it depends a lot on available web standards, which are constantly improving. You forgot about disadvantages: Developers need to develop several versions of their app (they could spend that time on improving one version). They need several devices for testing (luckily, there are Unity and Xamarin). Authors have to pay fees for having their product in various "stores". Big corporations (such as Google, Apple, Microsoft, Steam) can throw you away anytime for any reason, accuse you of various violations. But noone can prevent you from going to a website.
- je42 8y agoeven for PWA. you still need to test your app. on several devices.
- coldtea 8y ago>- "better performance, better battery use" - this is not true at all. What makes you think so? How is that even remotely controversial? With native you run direct native code, in C/C++/Obj-C/Swift/etc and optimized native UI libraries. With a PWA you run a browser engine, a DOM rendering pipeline, and on top of it you run Javascript, and on top you run one today's frameworks. Guess what uses less battery? Ever did a comparison of native vs Electron apps on the desktop, where it's easy to compare? (To preempt a facile counter-argument: yes, a native app can be coded very silly, do busy wait or whatever, and eat all the cpu/battery/memory. We're interested about baselines and what happens "everything else being equal"). >- "better integration, better look and feel" - it depends a lot on available web standards, which are constantly improving. Doesn't matter how much they improve, they will always not be 1:1 with the access to the smartphone OS's SDK libs a native app has. Nor would be the exact same look/feel as the platform (which native gives you), ever compare to someone's ad-hoc UI or re-implementation of the native L&F. >You forgot about disadvantages: Developers need to develop several versions of their app That's a disadvantage of the developer, not the user. Why would I as a user care? So that I can get more worse apps more easily? Besides, WPA still need testing -- especially if they use the "available web standards, which are constantly improving". >Authors have to pay fees for having their product in various "stores" Still good in my book. Puts a somewhat higher barrier for crap.
- detaro 8y agoRealistically, the alternative to a PWA is often gonna be a a "native" app build on web tech, or in niche cases no app at all. At least in the niches I'm active in, a bunch of users unhappy with the fact that nobody makes an iOS app for them (but not unhappy enough to cough up the money for someone to make them one) would probably be happy that they can use PWAs instead of using only web apps in the browser. For simple apps, "better integration, more platform features" isn't necessarily a factor: If the "web platform" provides the features I need, having access to more features doesn't make my app better. If you don't like PWAs, they are easier to identify and avoid than "non-native native apps", so good for you too?
- pjmlp 8y agoI agree with you, but most business do not, specially for internal applications. So if I get to choose between mobile Web, and the likes of React Native, Ionic or Cordova, then I rather bet on mobile Web and let the browser do its work, instead of dealing with FFI and tooling integration issues. Also PWAs are actually native apps on some OSes, like ChromeOS and Windows.