by anonymouse008 · 5y ago · 0 comments
Does anyone have any insight into the major differences between native and web app in 2021?
The biggest disparity between webapp and native used to be Notifications - but with Twilio, it appears trivial to make an arguably better notifications user flow through SMS and direct link to user content.
For the rest of the differences, it feels like much of the benefit Apple brings to the table (view management, security, continuity between devices, distribution, ...), does appear to carry a premium when placed in comparison to building a monolith web app.
Oh god please no.
I can turn off app-level notifications. I don't want to have to deal with app-level texts instead.
Ha!! See, I think SMS notifications are still stellar! Because right when the offender steps in, in the height of righteous anger, you can yell (text) "STOP" and by law it must bug off!!
Not to mention the cool new commands that could emerge like, "give me a week" or other conversational ways to interact with your notifications on a person level... which to me, is what it was all about in the first place!
Is that the law everywhere in the world?
> Not to mention the cool new (…) conversational ways to interact with your notifications
Which you could achieve by allowing replies from within the notification itself, like Messages on macOS.
And SMSs cost money. It doesn’t matter how cool your conversational interactions are, no one would be happy being charged for international text messages to respond to a bot, especially when the norm today is automated assistants barely understand what you mean.
Running games as web apps is technically possible, but performance tend to be an issue, even for simple 2D games.
I don't think Apple is embracing Webassembly enough to facilitate this transition, this is not their best interest.
Write once, run everywhere has a cost, and one that is largely borne by users.
Twilio or other SMS based services aren’t a solution as in lots of countries they still cost $0.10 per 160 characters, require an active SIM card and cannot be opened into an app.
Maybe something can be done with websockets but that will also require platform support to improve battery life and allow web apps to run in the background.
No general insight, but Telegram has two web apps that try to emulate the native app [1]. They do work fairly well but are definitely glitchier than the native app (or any native chat app).
> For the rest of the differences, it feels like much of the benefit Apple brings to the table (view management, security, continuity between devices, distribution, ...), does appear to carry a premium when placed in comparison to building a monolith web app.
That might be true, but the value free apps like WhatsApp bring to the iPhone is unmeasurable and WhatsApp pays exactly 100$ a year to Apple for access to all the tooling.
[1]: https://telegram.org/blog/payments-2-0-scheduled-voice-chats...
If you want to build a competitive game engine or do any sort of machine learning on device then it has to be native.
It's cross-platform VM-enabled bytecode? Approaching native performance very closely is the best plausible outcome. Measured on all metrics and not just pure number-crunching (start-up time generally, "cold" start-up, memory use, memory use over time, et c., all in real-world applications and not bespoke benchmarking programs) it's unlikely it'll even get very close. Close enough? Maybe, but I'm skeptical that there is such a (realistic) achievable state as "close enough" on a platform that runs on a small battery. Look at Android's decades of playing catch-up on performance & power use, for instance.
[EDIT] Down-voters, please comment: do first-year CS principles and direct observation of existing, long-lived, real-world cross-platform VM systems (the JVM, for example) somehow not apply to WebAssembly?
This is what Flash was already capable of doing in 2011 with CrossBridge, their C++ compiler stack.
https://adobe-flash.github.io/crossbridge/
"Unreal Engine 3 Support for Adobe Flash Player - Unreal Tournament 3"
https://www.youtube.com/watch?v=UQiUP2Hd60Y
Here we are 10 years later with WebAssembly still mostly stuck at MVP 1.0, browsers that bork WebGL experience thanks blacklisting, which no matter what will never go beyond OpenGL ES 3.0.
Even if WebGPU gets released tomorrow, I would like to point out that WebGL 2.0 was released in 2017 and still isn't available across all browsers.
Then there are all other native capabilities that I glanced over.
Then why was the Android Flash experience so bad that it got quickly killed off?
There was a time where Adobe could have shown a performant, stable version of mobile Flash, and Apple would have had to find a way to accept it. But it never got there, on any mobile OS.
While everyone was celebrating iOS victory over Flash, they were playing Flash games on iOS, AOT compiled to native code without knowing it.
Adobe eventually let it go thanks to the competition of Cocos, Unreal and Unity.
On what axes are you measuring performance? I care about how quickly and smoothly something runs, but also how much battery, memory, and bandwidth it consumes.
Honestly, if you believe that Apple ever planned for iPhone to be web only you've got to buy this bridge from me. No kidding.
Apple used the "web only apps" angle as a stopgap until their SDK was ready. Then they did everything they could to ensure that web apps ran like crap without making it too obvious.
That's a go ahead email. That's not an email showing the conception of the idea.
We already had app stores on phones before this. You think they didn't come up with the idea until that email? It's perhaps the most obvious idea in the world.
Sorry, y'all are just wrong. This email is evidence that its all been discussed many times before the "go ahead".
Apple told developers that webapps were the solution. They didn’t give any public indication that this would change. Now, one could argue that this was just cover while they got the native SDK ready, but that Bertrand Serlet email from the other thread was the point at which they even officially decided to have a native SDK at all (months after telling devs to write webapps).
I think the real issue is with the phrase “Apple planned”, because Apple is not one person, and the people disagree on “the plan”. We mythologize them sometimes as an all-planning “the Vatican thinks in centuries” kind of organization. But as emails like that one and others show, there are often legitimate arguments within Apple. In this case, some folks[0]were arguing that native apps would be too much of a security nightmare to be worth it, and that anything that needed to be native could just be built by Apple themselves.
So in conclusion: “Apple” planned nothing, some people at Apple had clear plans to push through a native SDK from day zero, and some people at Apple spent months being deadset that that would never happen.
[0] I’m too lazy to look up these sources right now, check out Melton and Ganatra’s multi-part interview on the Debug podcast.
Obviously, This is something that has been discussed over and over and over since they started planning the iPhone. I've watched Apple work, they don't hash out what their products are going to do through emails.
Sorry, but you're wrong. The idea had clearly occurred to them way before any of these emails that you're referencing.