[HN Gopher] App Should Have Been a Website (and Probably Your Ga...
       ___________________________________________________________________
        
       App Should Have Been a Website (and Probably Your Game Too)
        
       Author : thunderbong
       Score  : 168 points
       Date   : 2024-12-31 07:38 UTC (15 hours ago)
        
 (HTM) web link (rogueengine.io)
 (TXT) w3m dump (rogueengine.io)
        
       | gazchop wrote:
       | I disagree. The problem is more nuanced.
       | 
       | A well implemented (native) app is always better than a well
       | implemented web site.
       | 
       | The problem is poorly implemented apps which are just UI wrappers
       | hitting dumb APIs or embedding entire web stacks which hit dumb
       | APIs. A well implemented web app isn't much better than that.
       | They don't work offline, they use way more resources than
       | anything native and they leak data like a sieve generally.
        
         | adastra22 wrote:
         | > at Rogue Engine, we're committed to being the go-to game
         | engine for Three.js and the web
         | 
         | and there you go, author has a vested interest in you making
         | web apps.
        
           | polotics wrote:
           | well the article is well reasoned enough. what I gave up on
           | was finding actual pricing information for this engine. all
           | it say is free if you earn less than 80k... so what's the
           | price please?
        
             | egypturnash wrote:
             | https://rogueengine.io/GetStarted says:
             | 
             | Plus $ 20 $ 10 / month / seat Billed Annually $ 120
             | 
             | Pro $ 50 $ 25 / month / seat Billed Annually $ 300
             | 
             | Enterprise $ 90 $ 45 / month / seat Billed Annually $ 540
             | 
             | Each of those tiers has a different "free if you earn less
             | than $xxx" level that I'm not gonna cut and paste. There's
             | a chart with the differences between what those tiers gets
             | you too.
             | 
             | Also:
             | 
             | Can I publish anything I want to Rogue Play?
             | 
             | You're allowed to publish content that is neither sexual in
             | nature or illegal under either UK law and the laws of your
             | country of residence.
             | 
             | What happens to my files if I cancel my subscription?
             | 
             | When you cancel your subscription your files will be locked
             | and you won't have access to them until you buy a new
             | license. They will be scheduled for deletion in 30 days.
             | 
             | What happens to my files if I downgrade my subscription?
             | 
             | It's your responsibility to free the necessary space before
             | downgrading. Your files will be deleted after 24hs unless
             | you take action.
             | 
             | ----
        
             | adastra22 wrote:
             | I don't think the article was well sourced. WebGL
             | technologies might be adequate for casual games... maybe.
             | But it will be a very long time before they approach AAA
             | gaming performance. And there is still a ton of funkyness
             | about input (gamepad? multitouch?) and latency that is hard
             | to address on a web stack.
             | 
             | He just asserts that the underlying technology has come
             | along. It hasn't.
        
         | ndr42 wrote:
         | From the article: "[...] web apps have caught up. They're
         | faster [...]" Especially how can this be true?
         | 
         | Maybe this doesn't matter because it's already fast enough but
         | the difference in look and feel will be noticeable.
        
           | oneeyedpigeon wrote:
           | The writer probably meant "faster [than they used to be]"
           | rather than "faster [than native apps]".
        
         | hombre_fatal wrote:
         | > A well implemented (native) app is always better than a well
         | implemented web site.
         | 
         | Dunno, native app doesn't have URLs nor deep links. I can't
         | link you to a page in my native app that you can click on.
         | 
         | In my iOS HN app I'd have to click "Copy website link" to share
         | a submission. If there were no website, I couldn't share it at
         | all. Same with Reddit.
         | 
         | For most apps, that's a lot to give up when you app is
         | basically just a website without a url bar.
        
           | oneeyedpigeon wrote:
           | Same native apps don't even relayout when you change window
           | size, let you change the font size, or let you copy text.
        
             | manmal wrote:
             | Native apps made with SwiftUI or Jetpack Compose adjust
             | their font size according to user preference in system
             | settings out of the box. They also relayout automatically.
             | Copying text on press is a one-liner in both frameworks,
             | just need to think of it.
        
           | sltkr wrote:
           | Android apps absolutely support deep links:
           | https://developer.android.com/training/app-links (surely iOS
           | supports this too?)
           | 
           | It's also widely implemented in practice. For example,
           | Instagram allows copying links to posts, and if you can view
           | an Instragram link in the browser, it opens in the app.
        
           | victorbjorklund wrote:
           | ios and mac got url schemes. Sure not all developers
           | implement it correctly. But not all sites implement a good
           | url structure either (keeping state etc in url for sharing)
        
             | jcotton42 wrote:
             | Android and Windows do too.
        
           | dickersnoodle wrote:
           | iOS apps absolutely do support deep links and URLs. Custom
           | URL schemes are the older of the two and let iOS launch the
           | app when someone taps on a URL that begins with its protocol
           | (e.g. "bugmunch://orders?id=xxxxxxx"); the newer is Universal
           | Links, which lets you set your web site up to launch your app
           | from the web page if it's installed on your device.
        
         | backspace_ wrote:
         | On a side not, I like how we have electron apps that are 100s
         | of mega that just access a website. Just as much of a waste.
        
         | amelius wrote:
         | > A well implemented (native) app is always better than a well
         | implemented web site.
         | 
         | No, because it fails to support the feature of running
         | virtually anywhere.
         | 
         | For many people this is the #1 feature. Everything else is just
         | icing on the cake.
         | 
         | Who cares about an app that is 2x faster but doesn't run?
        
           | flkiwi wrote:
           | I've watched Logseq (note app) go from a perfect little
           | browser-based app that did exactly what I wanted--block-based
           | markdown notes synced through git--to an app with dozens of
           | features that are pure bloat for me that I can't use in half
           | the places I need it because I cannot install apps.
           | 
           | It was an interesting process to watch start, because people
           | were like "finally an app!" and "moving on from 'just' a
           | website!" but without any real justification for it. The app
           | itself was the accomplishment.
           | 
           | And I should note the Logseq app is a good piece of work. In
           | absolute terms it's great. It is, however, not what it used
           | to be and not really what I want. I'd like to fork Logseq,
           | deprecate the app, and have a self-hosted browser interface
           | with storage on the server, synced to a git repository for
           | backup.
        
           | mjmsmith wrote:
           | > For many people this is the #1 feature. Everything else is
           | just icing on the cake.
           | 
           | I hear this sentiment from developers much more than non-
           | developers. I wonder what percentage of developers do all
           | their work within a browser.
        
             | amelius wrote:
             | Non developers typically don't think about these things.
             | They just suffer them subconsciously or accept the
             | situation as something they can never change anyway and go
             | on with their lives. You have to ask them to find out.
             | 
             | And I also hear developers complain more about performance
             | issues than non developers.
        
         | syndicatedjelly wrote:
         | > A well implemented (native) app is always better than a well
         | implemented web site.
         | 
         | Given that the entire article argues pretty strongly against
         | this, you need to at minimum argue against the points posed, or
         | present your arguments for why "well-implemented native apps
         | are always better". It's not enough to make a straw man of the
         | worst possible scenario and claim that it holds true for the
         | general case as well.
        
       | ctippett wrote:
       | I sympathise, but talking to my sister I've come to appreciate a
       | different point of view. I have an "app", a PWA, that she says
       | she cannot find because it's not in the App Store. Despite
       | telling her it's available as a website, this seems too much...
       | she just doesn't use -- or is comfortable using -- Safari.
        
         | spiderfarmer wrote:
         | Never call a PWA an app, people will get confused.
        
           | oneeyedpigeon wrote:
           | But the "A" stands for "app"! Is there anything you could
           | call it that would be _less_ confusing (because  "PWA" or
           | "Progressive Web App" sure ain't it)?
        
             | spiderfarmer wrote:
             | Until some massive marketing campaign explains to all users
             | of the internet what PWA's are (which is never going to
             | happen), there's nothing wrong with calling your PWA a
             | website if it prevents a lot of confusion.
        
               | oneeyedpigeon wrote:
               | Sure, but I also think there's nothing wrong with calling
               | it an "app" if that's the buzzword that will tip some
               | people from dismissing it towards trying it out.
        
               | spiderfarmer wrote:
               | If it's clear that people expect 'apps' to be in the app
               | store, how can you think "there's nothing wrong" with
               | calling PWA's 'apps'?
        
               | oneeyedpigeon wrote:
               | OK, "there's nothing wrong with calling a PWA an 'app' in
               | most contexts, unless the person listening to you is
               | likely to try to search for the PWA in an app store".
        
               | spiderfarmer wrote:
               | Ask any random person where they would go to install an
               | app and you'll stop belittling this problem.
        
               | jay_kyburz wrote:
               | I don't know why you wouldn't just call them "web apps".
               | Why the P and why the acronym.
        
               | neilalexander wrote:
               | Further to that, there are plenty of people who can't
               | really articulate what a web browser actually is or how a
               | website differs from an app. It's not clear to me whether
               | these users would be more accepting of a PWA or if they
               | would be even further confused by them, particularly if
               | they have to be left to find the app on the web first in
               | order to "install" it, even more so if they've never
               | bothered to look at what all those buttons in their web
               | browser actually do.
        
         | Ntrails wrote:
         | I dislike apps and avoid installing them in general terms.
         | They're bloated and frankly I have better things to store on my
         | phone (mostly music, but also photos, conversation histories
         | etc). I do not need an "app" for submitting a form. Looking at
         | a website. etc etc
         | 
         | My favourite thing about using a website? It can't send me
         | attention grabbing notifications. It can't harass me for perms.
         | 
         | I'm 100% an outlier. My friends don't blink twice to install
         | all manor of loyalty, news, social media, lifestyle, games etc
         | etc and rarely clean up. It's all just choices and preferences
         | - the world does not suit me.
        
           | mrweasel wrote:
           | The world seems to be reversed in my mind. On my phone
           | everything wants to be an app, and everything on my computer
           | wants to be a webapp. I want the opposite. Native apps on the
           | computer and the phone can just be webapps, because I don't
           | really care, nor do I need to repeatably use the same app on
           | my phone.
           | 
           | On my computer I have a few programs installed, which I just
           | constantly. On the phone I need each app only a few times a
           | month, if that, yet they all insist on being actual apps.
        
           | rpdillon wrote:
           | I'm right there with you. There are probably dozens of us!
        
           | SoftTalker wrote:
           | Same. I have only a few apps installed that my phone didn't
           | come with. No games. No social media apps. Even email I
           | access via Safari. If I absolutely must use an app for
           | something, I typically install it, do what I need, and then
           | delete it.
        
           | 00deadbeef wrote:
           | > My favourite thing about using a website? It can't send me
           | attention grabbing notifications. It can't harass me for
           | perms.
           | 
           | But it works the same as for apps. You get prompted once on
           | iOS at least. You either opt in for notifications or you
           | don't. There's no difference.
        
         | fidotron wrote:
         | This was because every ad agency on the planet wanted to be in
         | apps when the App Store took off, so they rebranded websites to
         | apps to confuse people.
         | 
         | Chrome, being a division of a huge ad company that makes money
         | from these agencies, not merely played along but took a leading
         | role in sowing the confusion.
        
       | franze wrote:
       | It is not about tooling, but distribution.
        
         | noam_compsci wrote:
         | This should be auto posted as first comment on every post about
         | a new technology / platform
        
         | streptomycin wrote:
         | Android lets you list PWAs in the app store, so we're halfway
         | there...
        
       | oneeyedpigeon wrote:
       | > Platforms like Poki and CrazyGames, with a combined 95 million
       | players a month, are leading the charge in, what I like to call,
       | the Browser Games Renaissance.
       | 
       | I'm probably not the target market, but my first impression of
       | Poki is that it's absolute trash; it looks like a shopfront for
       | the lowest quality mobile games I can imagine. The first thing I
       | tried was a block-puzzler that involved drag-and-drop to move
       | pieces, but the drag didn't track the mouse cursor properly.
       | 
       | If someone asked me "which site is leading the charge in the
       | Browser Games Renaissance?", I would say itch.io, hands down.
        
         | noam_compsci wrote:
         | Agreed I'd rather spend more time on itch. But from a dev
         | perspective poki has a chance to monetise while itch
         | monetisation is near zero at the moment.
        
           | nottorp wrote:
           | That's a good thing for the customers though.
           | 
           | When the original article is talking about escaping the
           | tyranny of the app store it sounds to me like they don't want
           | to share the loot box revenue with Apple/Google, like our
           | chinese friends at Epic.
           | 
           | Unfortunately for them, there are still pay once real games.
           | Some of the good indies are on itch.io indeed.
           | 
           | Stop calling lootbox dispensers "games" please. I prefer
           | paying for a game in advance instead of being monetized.
        
       | nforgerit wrote:
       | Whilst I agree with most of the points, author is making here I
       | cannot help but make a small snarky remark that we, as a dev
       | community, have been talking and dreaming about those talking
       | points since the advent of html5 which is roughly 15ys.
       | 
       | Marketing and availability, i.e. is it within reach when a
       | customer thinks about it, are core problems needing to be solved.
        
         | manmal wrote:
         | Maybe 2025 will be the year of PWAs? /s
        
         | syndicatedjelly wrote:
         | Who is this unified hivemind dev community you speak of?
        
       | spiderfarmer wrote:
       | As the solo founder of a couple of 'popular' websites I get asked
       | regularly if I want to create an app. When I ask them what they
       | want the app to do what a website can't, they can't name a single
       | USP, especially now notifications work on all devices.
       | 
       | And really, who has the time to maintain a website and two apps?
       | Or rebuild a decade old platform in a janky cross compiling
       | solution like Flutter that is always on the brink of being
       | sunsetted?
       | 
       | Not me. I'll spend that time on improving my websites, thanks.
       | I'll let my competitors go bankrupt on trying to monetise an
       | expensive app that should have been a website.
        
         | _fat_santa wrote:
         | > And really, who has the time to maintain a website and two
         | apps? Or rebuild a decade old platform in a janky cross
         | compiling solution like Flutter that is always on the brink of
         | being sunsetted?
         | 
         | I'm a solo dev for a startup and this is something I always
         | hammer home to my non-technical co-founder. I tell him that
         | spinning up an app that would have parity with our current app
         | will not only take close to a year for a single person to
         | develop, but from there on out every feature will come out
         | slower since we need to have mobile parity as well. Out current
         | plan is to slowly make all the pages on our website mobile
         | friendly and even that is a big lift for a complex business app
        
       | mertbio wrote:
       | > But fast-forward to today, and browsers can do all that.
       | 
       | Browsers can't access all the APIs in iOS.
       | 
       | > Developers pay hefty app store fees
       | 
       | You pay 99$ per year and 15% for each sale. Apple handles VAT,
       | refunds, distribution and so on.
       | 
       | > They're faster, more flexible, and work seamlessly across
       | devices. Native apps? Not so much.
       | 
       | Enabling iCloud sync for your app is just a single click on
       | Xcode.
       | 
       | > Why Web Apps Are the Future
       | 
       | On a national TV program in Germany, they talked about an app
       | related to trees in Hamburg. That same day, my app on the App
       | Store experienced a significant spike in downloads. When I looked
       | into it, I discovered that the app they mentioned on the news was
       | actually a PWA! :)
       | 
       | I feel like the author doesn't have any idea about native app
       | development.
        
         | jampekka wrote:
         | There are other platforms than iOS.
        
         | oneeyedpigeon wrote:
         | Your first quote is very misleading because it followed this:
         | 
         | > apps had unique features like notifications and offline
         | access.
         | 
         | Browsers _can_ do those things. If you 're going to offer
         | "Browsers can't access all the APIs in iOS" then, at the very
         | list, provide one or two examples of what you're referring to.
        
           | aman-pro wrote:
           | Contacts API; Not all sensors are supported
        
           | charrondev wrote:
           | One major one for anything with a text input it the inability
           | to know when the keyboard is open and closed and how large it
           | is.
           | 
           | It's very common for something like a comment box to keep the
           | text pinned above the virtual keyboard. This is impossible on
           | the web. If you have ever seen an implementation of this on
           | the web (for iOS) please point me in that direction as I
           | would love to copy the implementation.
           | 
           | Notifications just came recently, but weren't available for a
           | decade after availability to native apps.
           | 
           | The final hurdle is discovery. It's not possible for a site
           | or app to act as a one click installer of a PWA (add to
           | homescreen) and sites can't prompt to be added.
        
         | threeseed wrote:
         | > Browsers can't access all the APIs in iOS
         | 
         | And nor should they.
         | 
         | Every single API that gets added to a browser increases the
         | likelihood that you will be accurately fingerprinted and
         | tracked across the web. This data is then packaged and sold to
         | third parties whom you will never know about.
         | 
         | Every time I hear the PWA argument it's always what is in the
         | best interest of developers not users.
        
           | bogdan wrote:
           | Fingerprinting isn't going anywhere without legislation. New
           | browser APIs or PWAs won't change the underlying problem.
           | It's the same status quo.
        
           | the_gipsy wrote:
           | Apps fingerprint you much, much better, and can access more
           | data (despite what apple marketing says), your argument is
           | moot.
        
             | scarface_74 wrote:
             | What data can apps access without your explicit permission?
        
               | bdangubic wrote:
               | install tiktok (if you do not have it) and disable
               | everything, no mic/camera/photos/contacts/... nothing.
               | then ask you partner/friend/... to send you some text
               | messages about purchasing an ebike for instance. open
               | safari and do some searches for ebikes (https://blue.bike
               | perhaps and others)... the head on over to tiktok and
               | scroll a bit and see if any ebikes start showing up...
        
               | threeseed wrote:
               | a) There is no evidence that Apple is sharing messages
               | with third parties.
               | 
               | b) You are simply confirming my point which is that when
               | you visit a website it is able to tie you to an
               | consistent identifier through the APIs your browser
               | supports.
        
               | bdangubic wrote:
               | there is no evidence for a whole lot of things... /s
        
               | scarface_74 wrote:
               | So you think there a conspiracy and that TikTok for iOS
               | has been able to break out of its sandbox and read your
               | text messages?
               | 
               | This would have made news if so.
        
             | acheron wrote:
             | What? No. Apps are guaranteed to be sandboxed and can't
             | access anything you don't let them.
        
           | rpdillon wrote:
           | > Every time I hear the PWA argument it's always what is in
           | the best interest of developers not users.
           | 
           | I can control a web app through customizations to my browser
           | in ways I can't with a native app. It's about user choice.
        
         | mamcx wrote:
         | > Developers pay hefty app store fees
         | 
         | So, hosting doesn't cost?
         | 
         | Too many app-but-websites should be local, but because are web
         | requires hosting and likely a database (that must be 'web-
         | scale' so it survives bots).
         | 
         | My web app cost far more than my older native one. And is far
         | harder to maintain...
        
         | e12e wrote:
         | >> They're faster, more flexible, and work seamlessly across
         | devices. Native apps? Not so much.
         | 
         | > Enabling iCloud sync for your app is just a single click on
         | Xcode.
         | 
         | How well does that work on Android, Linux and Windows desktop,
         | ChromeOS?
        
       | noam_compsci wrote:
       | Web gaming might be a decent incremental revenue source (< 10%)
       | for big developers or the main distribution channel for small
       | studios that will never make it big.
       | 
       | But it will never be more than that.
       | 
       | 1. Game ops is too entrenched in mobile. The entire stack (user
       | acquisition, analytics, monetisation) is tried and tested on
       | mobile. These are difficult problems that seem easy to port to
       | web games, but "devils in the detail". Eg When you're waiting on
       | appsflyer to ship an update to properly attribute reinstalls for
       | 6 months and end up wasting 25% of your UA budget during that
       | time.
       | 
       | 2. Consumers don't want web games. The UI just isn't there yet.
       | You misclick out of a tab and lose progress or get distracted /
       | start browsing another tab. Also to do with the ephemeral nature
       | of a browser tab.
       | 
       | 3. Unity's dev network effects are too large. People who know how
       | to make games use unity. People who want to make games therefore
       | learn unity. It's a flywheel.
       | 
       | 4. Something psychological about downloading an app and seeing it
       | on your Home Screen leads to retention.
       | 
       | Source: 7 years game dev and each studio I've worked in has been
       | paid multiple tens of thousand dollars to port a game to web.
       | Metrics were never anywhere near as good.
        
         | jampekka wrote:
         | I'm sure there are problems with web games, but some of your
         | arguments seem stem from ignorance about the modern web
         | tech[1].
         | 
         | > 2. Consumers don't want web games. The UI just isn't there
         | yet. You misclick out of a tab and lose progress or get
         | distracted / start browsing another tab. Also to do with the
         | ephemeral nature of a browser tab.
         | 
         | Fullscreen mode mostly solves the misclick problem. PWAs solve
         | it entirely. Do consumers care at all about what the underlying
         | technology is.
         | 
         | > 3. Unity's dev network effects are too large. People who know
         | how to make games use unity. People who want to make games
         | therefore learn unity. It's a flywheel.
         | 
         | There's Unity web. And people who really know how to make games
         | can also use e.g. Unreal, which as compiled for web for ages.
         | 
         | > 4. Something psychological about downloading an app and
         | seeing it on your Home Screen leads to retention.
         | 
         | PWAs can install to Home Screen.
         | 
         | [1] There is admittedly one company unable to implement modern
         | web tech.
        
           | noam_compsci wrote:
           | Just played around with a PWA on iOS and added it to Home
           | Screen. Works really really nicely and so it seems pwa have
           | come along a lot since I last looked into them! Thanks for
           | the prompt to update my understanding.
           | 
           | I do disagree in the developer point though. Those who know
           | unity really do not translate well to unreal. Totally
           | different languages and ecosystems. Also unity web has always
           | really really sucked for anything other than gimmick games.
        
       | rubymamis wrote:
       | While the web platform is catching up due to the continuous
       | supply of abstractions by modern browsers, once you must deviate
       | from those abstractions, you quickly find yourself needing to
       | implement something yourself that is much less efficient than a
       | native implementation.
       | 
       | I wrote about developing my own block editor from scratch[1]
       | using C++ and QML after finding that Notion (and so many other
       | web apps) are extremely slow and inefficient - in terms of
       | CPU/RAM/battery life.
       | 
       | I detailed a comparison between native and web block editors, and
       | the difference is huge. The fastest web app (MarkText) is 60x
       | slower at loading texts and uses 3x more RAM than my native app.
       | Also, all web apps couldn't handle loading a very large text file
       | (they were all hanging).
       | 
       | Modern computers are blazing fast and efficient, there's no
       | reason a text editor couldn't load large files. This is why, in
       | my view, web apps aren't really the progress people make them to
       | be. We're going backward, not forward, with web apps. This need
       | to change.
       | 
       | [1] https://rubymamistvalove.com/block-editor
       | 
       | [2] https://rubymamistvalove.com/block-editor#8-performance
        
         | oneeyedpigeon wrote:
         | A web app that cannot handle a text file bigger than X bytes
         | doesn't become useless, in the same way that a native app isn't
         | useless even though it, too, has a limit on the maximum file
         | size it can handle.
        
           | rubymamis wrote:
           | Any text editor that struggles to load a large text file on a
           | modern computer is, simply put, inefficient. If 20 years ago
           | they managed to write programs that could handle such cases
           | and today many (web) apps fail at this task means we're going
           | backward.
           | 
           | My point is that it's much harder to write efficient code in
           | the web ecosystem because you're bound to specific
           | abstractions from the browser. Once deviating from said
           | abstractions, it's not trivial to write efficient code.
        
             | oneeyedpigeon wrote:
             | > Any text editor that struggles to load a large text
             | file...
             | 
             | Define "large". If it's bigger than the biggest text file
             | I'll ever open, then I don't care.
             | 
             | My point is that "efficient" code isn't absolutely
             | necessary in many, many cases.
        
               | rubymamis wrote:
               | The problem with that mentality is that you start seeing
               | inefficiencies spring everywhere (why loading Discord
               | takes so long? Slack? etc, etc).
        
               | xcv123 wrote:
               | It's a third world mindset where we end up with the
               | software equivalent of public defecation, living in
               | squalor and filth.
        
               | kebokyo wrote:
               | How is Discord not loading fast enough the result of a
               | "third world mindset"? Is this one of those "this
               | software is bad because it was made in China / India /
               | outsourced to one of those countries" arguments (which I
               | don't even think applies to this topic???)
        
               | jknoepfler wrote:
               | Inefficiency also compounds. If you're sending too much
               | data over an unreliable connection using a bloated
               | protocol (say), you have three multipliers. Now start
               | daisy-chaining these things together, host them on
               | bloated images on pods in underpacked nodes in k8s (not a
               | potshot at k8s, which I like quite a bit, just... another
               | plausible source of inefficiency). Write all the servers
               | in Python (or worse, some Ruby on Rails backed by MySQL
               | or something comically underperformant).
               | 
               | We could keep going, but it maths out to mind-blowing
               | amounts of waste just copying bytes around between
               | buffers with no value add.
               | 
               | (Old man editorializing at clouds: "and all so we can
               | employ people who don't know how computers work to
               | satisfy corporate product pipelines by shoveling digital
               | shit onto people that they neither want nor need")
        
               | cosmic_cheese wrote:
               | The old metaphor of shipping bananas by packing the
               | entire jungle surrounding the ape that's holding the
               | banana does very well to illustrate the truly egregious
               | level of inefficiency at play here, especially when one
               | considers how there's tens or hundreds of thousands of
               | these jungles involved in any given product...
        
               | TeamDman wrote:
               | I've recently been summarizing entire directories into a
               | single chunk of text for use with Gemini, the other day I
               | overshot and ended up pasting 28 million characters into
               | vscode. It handled it pretty well.
        
             | bee_rider wrote:
             | I don't know that I completely agree. It depends on the
             | functionality offered, right? Like vim, for example, can
             | struggle with very large files if you ask it to do syntax
             | highlighting all the way from the beginning (or, it can
             | give you syntax highlighting that is just wrong if you
             | don't). I don't think vim is very inefficient (could be
             | wrong there, though), and I don't see any way to generally
             | do syntax highlighting without looking at the whole file
             | (although, of course, in practice there are often shortcuts
             | for specific languages...)
        
         | nmstoker wrote:
         | First the needs of the user-base should trump those of the dev.
         | 
         | And secondly the kinds of apps that are referred to here are
         | not the type that need massive efficiency or some complex
         | feature - when inconvenienced by yet another single-use car
         | park payment app, I've never once thought how marvellous it was
         | that the text downloaded so much faster than the many web sites
         | I regularly use: mainly because that responsiveness is blown
         | away by the need to faff about installing the app (not to
         | mention the effort needed to avoid giving unnecessary phone
         | access out!)
        
         | mvladic wrote:
         | Obsidian is an Electron app (I don't know if it belongs to the
         | Block editor category). It loads just as fast as your app. I
         | tried copying and pasting the text file War and Peace (66035
         | lines) from Notepad into both apps and, interestingly, Obsidian
         | is slightly faster. Also, scrolling through this large chunk of
         | text is slightly faster on Obsidian, too. Obsidian memory
         | consumption (4 processes) is 172 MB and Daino Notes consumption
         | (1 process) is 352.7 MB. Tested on Windows 11 PC.
        
           | rubymamis wrote:
           | Obsidian is not a block editor. Can you put a Kanban or any
           | other complex block in the middle of a document? From my
           | understanding, you can't. Here's how to think of it: a block
           | editor is a basically a virtualized list with dynamic
           | loading, so it can load any arbitrary component *while*
           | allowing the user to interact with the list as it was a
           | singular piece of document - so you get text selection
           | between these discrete blocks, editing, etc like you would in
           | a regular text editor.
           | 
           | Again, from my understanding, Obsidian is not that. If I
           | remember correctly it is based on CodeMirror which is
           | designed to only handle (EDIT: rich) text.
           | 
           | Edit (addendum): BTW, I'm not sure your Obsidian RAM reading
           | is correct, an empty instance of Obsidian with one note uses
           | 285MB (all 4 processes together) on my machine (M1).
        
             | mvladic wrote:
             | Here is the screenshot showing memory consumption of
             | Obsidian (I did wait 30 seconds for memory to settle down
             | after initial spike which was 240 MB):
             | https://pasteboard.co/uW2lPNSbL7f7.png
             | 
             | [EDIT] Here is memory consumption of Daino Notes:
             | https://pasteboard.co/z5pciLoh99i6.png
        
               | rubymamis wrote:
               | This is what I get with an *empty* vault:
               | https://pasteboard.co/N3IdNUKUUNKq.png
               | 
               | EDIT: Btw, I do have plans to cut RAM usage significantly
               | in Daino Notes (I focused more on load time and
               | responsiveness). But getting back to my point - I can do
               | these optimizations because those RAM inefficiencies are
               | a result of my code, not some abstractions I can't
               | change.
        
           | maratc wrote:
           | > pasting the text file War and Peace (66035 lines)
           | 
           | Funny, but how about a log of one Jenkins run weighting at -
           | checking... - 630 MB? Or two of them so someone can compare
           | them?
        
           | kebokyo wrote:
           | Obsidian is the only Electron app I don't despise.
           | 
           | VSCode is close to counting... but it absolutely sucks on RAM
           | usage, so I try to avoid it when I can.
        
             | leptons wrote:
             | RAM is cheap, my time is not. VSCode is the best game in
             | town (for me), and my 32GB computer has no problem with its
             | RAM requirements. Even 8GB would be enough for VSCode
             | depending on what else your toolchain requires.
        
               | hnthrowaway2376 wrote:
               | > RAM is cheap
               | 
               | RAM is cheap _for you._
               | 
               | It's always silly when people bring up their top-of-the-
               | line computer into discussions about performance.
               | Software shouldn't be just for the top 1%.
        
               | leptons wrote:
               | _Apple_ RAM is expensive. Every other kind of RAM is
               | pretty cheap. 32GB DDR4 can be had for under $30, and
               | 16GB DDR4 can be had for about $25. I 'm not sure who you
               | think has a computer, is developing software, and can't
               | afford that. Maybe someone in India, I guess. Too bad if
               | that's you, but "top 1%" is a laughable claim when RAM is
               | so cheap. 16GB of RAM is nowhere near "top of the line".
               | You're just trolling here, "hnthrowaway2376".
        
         | darknavi wrote:
         | It's funny that part of the reason computer hardware has gotten
         | faster and more efficient is because heavy usage work flows,
         | even things like web apps.
         | 
         | So while you think web apps are going "backwards", they've
         | likely helped contributed to modern computing hardware speeding
         | up your native programs!
        
           | freehorse wrote:
           | Is that true, or the reverse? That web apps became a feasible
           | thing only after consumer hardware, esp phones, became
           | performant enough to handle loads like that (which lead to
           | less and less offloading to servers)?
        
             | tanewishly wrote:
             | I'd say that web apps became a thing because Google really
             | wanted them to be. They first tried with their browser
             | plugin. That worked, but adoption wasn't good enough. So
             | they ditched Google Gears and started developing a browser
             | with sufficient performance for web- native apps. They
             | succeeded quite well.
             | 
             | So in my view, browsers became capable, but then plenty of
             | "heavy" web apps appeared, which required more beef in the
             | machine.
             | 
             | That's also the typical way it goes: current hardware being
             | okayish but not great is one of the strongest drivers for
             | better hardware. Whether it is gaming (PCs), camera
             | (smartphones), the web bloating (both).
        
         | cosmic_cheese wrote:
         | Native apps also give users a type of control that web apps
         | can't, by way of existing as fully independent executables on
         | storage in possession of the user.
         | 
         | Web apps can just up and disappear, spontaneously grow
         | paywalls, or slowly enshittify over time, and unless both the
         | user is technically savvy and the web app is fully open source,
         | there's nothing the user can do about it.
         | 
         | In contrast, when a new release of a native app is worse or its
         | company goes under, the user retains a useful product (old
         | binary) that can be run bordeline indefinitely one way or
         | another (hacks, emulation, etc).
        
           | la_fayette wrote:
           | Yes, but native Apps have adds, which at least I don't know
           | how to block. On Firefox mobile I can just use ublock origin
           | to watch YouTube Videos without ads, as one example...
        
             | cosmic_cheese wrote:
             | That applies mostly to online-service apps, which are in a
             | bit of different category as their usefulness without a
             | connection is extremely restricted. Most apps don't need to
             | fall into the bucket.
        
           | jkestner wrote:
           | Let's normalize offline web apps, then. Your examples at the
           | end go back to needing technical chops, and in the end,
           | everything gets bitrot.
           | 
           | The biggest problem is with apps that show you content. Web
           | sites give the user more control over what content to save,
           | better exposure to scrapers and APIs, standard navigation to
           | every other web site.
        
             | cosmic_cheese wrote:
             | Offline web apps are better but still not great because
             | unless their dev has gone out of their way to wrap it in
             | Electron, they don't come in nice self-contained units like
             | native apps do... for instance, if you're upgrading your
             | computer and want to copy over a previously installed but
             | now defunct offline PWA, where do you go looking? The
             | wrapper binary built by your browser doesn't actually
             | contain it, all the inner workings are squirreled away in
             | some obscure directory with an inscrutable name.
             | 
             | Websites _can_ give more control but that's hardly a rule
             | these days and depends on how the site /webapp in question
             | was built. Something built with a canvas-based UI (as is
             | sometimes necessary for displaying high volumes of
             | information without performance degradation) for example
             | isn't going to give the user any better control than a
             | native app would, and in some cases less.
        
         | kebokyo wrote:
         | I am so happy that you made this, legit. I'm absolutely going
         | to try it whenever I get a chance.
         | 
         | I've wanted to do the same thing you did but with coding
         | notebooks (e. Jupyter) for a while now. It frustrates me to no
         | end that the only native software for notebooks is JetBrains
         | IDEA (and even that's only an "I _think_ it's naive" lol).
         | Hopefully I can take what you learned and documented and apply
         | it to my app ^-^
        
           | rubymamis wrote:
           | Very cool! I hope my blog post could be of help. Let me know
           | if you need any help my socials are in my HN profile. And let
           | me know what you think of my app, would love to hear any
           | feedback.
        
         | alternatex wrote:
         | This app looks exactly like one I had used in the past. Took me
         | a while to find it: https://www.notes-foss.com/
         | 
         | Even the logo is almost identical.
         | 
         | Is this the same project? Looks like two separate GitHub repos
         | by the same author. Why two similar projects/websites?
        
           | Multiplayer wrote:
           | I was wondering about that too. This is in the article linked
           | to https://rubymamistvalove.com/block-editor
           | 
           | 7. The previous version of Daino Notes, called Notes is FOSS
           | (free and open-source software) available at
           | https://www.notes-foss.com/ and the source code is available
           | at https://github.com/nuttyartist/notes. I decided to make
           | Daino Notes closed source due to difficulties in monetizing
           | FOSS. In order to comply with Notes' MPL license, all common
           | files between Notes and Daino Notes are published in
           | https://github.com/nuttyartist/daino-notes-public
        
           | rubymamis wrote:
           | Hi there! Yes, I will switch to a more distinctive icon in
           | the future once I can afford to hire a new designer.
           | 
           | Multiplayer was quoting the correct reason. I also exeplained
           | more about the timeline here: https://github.com/nuttyartist/
           | notes/issues/690#issuecomment...
           | 
           | Tldr: The FOSS version earned a stable revenue through Google
           | Ads placed on the website, since the website ranked high on
           | Google searches. Two years ago, that changed since the
           | website got de-ranked, so I created a different, proprietary
           | version of the app based on the FOSS version but with a
           | totally revamped block editor that I wrote from scratch -
           | that I worked on full-time for a whole 1 year.
        
       | PaulRobinson wrote:
       | A couple of weeks ago I was with a friend who was looking at a
       | website for unusual holiday properties and he bemoaned the lack
       | of an app. I asked him why bookmarks didn't work for him, and he
       | explained it all just got lost - he wanted this to be in the
       | "hotels and holidays" section of his phone's home screen. So I
       | showed him how to add a website to his home screen (well, sort
       | of, I've been iOS since ~2009 and he uses Android, so we had to
       | do a little of collaboration to make it work). Mind blown.
       | Effusive thanks. He now has a way to bookmark sites that works
       | for him.
       | 
       | I'm a big fan of the PWA phenomenon, and got very annoyed with my
       | CEO when I was CTO'ing a new platform about 10 years ago, because
       | he wanted to move to native apps just so that a loading screen
       | looked a little nicer. Ended up using a native shell, did the
       | loading screen the way he wanted and then fell back to a WebUI
       | view for core functions.
       | 
       | However, there are some areas where I think native wins out,
       | primarily the developer experience - I'll take SwiftUI + Swift
       | over almost any other UI based developer workflow out there.
       | 
       | WebASM _should_ mean we see a nice little bit of innovation in
       | the web app dev experience in the near future, and I keep meaning
       | to find time to try Elm out, but at the moment the next app I 'm
       | thinking about (which has some tricky low latency UI needs), I'm
       | eyeing up native a lot.
        
         | chrisjj wrote:
         | > I showed him how to add a website to his home screen
         | 
         | Some sites prevent rhis, diverting you to install their app.
        
       | i_love_retros wrote:
       | Apps get access to the device advertising id, can slurp up more
       | valuable data from users who don't know better than to install
       | it, and are harder to block ads in (average Joe isn't going to
       | set up DNS level ad blocking)
       | 
       | It's all about advertising, always, everywhere.
        
       | newusertoday wrote:
       | Webapps do not have access to public url's outside their
       | domain(CORS). Webapps don't have access to gpu in 2024(there is
       | webgpu in chrome but not yet enabled in firefox) Webapps don't
       | have access video/audio codecs.(There is webcodecs api but its
       | partly enabled and there is no api for muxing/demuxing which
       | makes accessing them difficult.) Webapps don't have access to
       | other hardware features that are required for ML.
       | 
       | So while i am rooting for webapps it is still long way to go.
        
       | leshokunin wrote:
       | One aspect I find fascinating and under estimated is how Apple
       | makes the browser kind of secondary to apps. The browser is
       | basically a navigator, a renderer of websites.
       | 
       | People don't think of the web as a platform for apps. For them,
       | it's like a bunch of pages you get to via Google. They have very
       | poor notions of how to navigate or make workflows with it. How
       | many people do you know who just have a million tabs open? Who
       | have no notion of what web apps to use and mainly use Gmail /
       | Slack / Google?
       | 
       | This is why Apple pushes apps so much. A dedicated little place
       | for a use case.
       | 
       | PWAs are a good in between for sure. But for a lot of humans,
       | having a logo of a brand they recognize is going to be the main
       | thing.
       | 
       | "I want a button that says Music, it's Apple Music, I pay it 10
       | bucks, I get all the music."
        
         | ANewFormation wrote:
         | Are you trying to tell me there are people _without_ a million
         | tabs open?
        
       | taminka wrote:
       | while i understand the sentiment and having an app for everything
       | is annoying, there's a reason ppl prefer app: most web developers
       | are either incompetent as hell or don't care and write horrible
       | websites, and forcing ppl to make a native app at least ensures
       | some basic level of saneness and performance
       | 
       | i think there's maybe two or three popular websites that work
       | well on my phone, everything else is unuseable, while apps still
       | work okay
        
       | BlueTemplar wrote:
       | Please stop making web apps, the web is for documents, not to be
       | hijacked by Google in their attempt to wrestle personal computing
       | from Microsoft.
       | 
       | This issue becomes even worse if you try to make software that
       | can both be used with keyboard & mouse and on a small
       | touchscreen. With very few exceptions, you end up with something
       | that works poorly with both interfaces, instead of working great
       | on one of them. Trying to do that in a browser rather than the OS
       | only makes the issue worse (what happens when you press "Alt" ?).
        
         | superkuh wrote:
         | Yep. And it gets worse.
         | 
         | Websites are at least supposedly sandboxed so they are not as
         | much of a risk as running native binaries. But this is getting
         | worse and worse as browsers expose more and more of their host
         | operating system's functionality. The benefits of using a
         | website instead of a native app are quickly disappearing while
         | the drawbacks have only been somewhat mitigated. We're getting
         | to the point where browsers are worthy of the decades old
         | criticism Emacs has received. They have eventually become an OS
         | with many fine features - simply lacking a good web browser.
         | 
         | The browser, and the web, has been destroyed by the insane
         | security model of modern OS-Browsers: running every executable
         | they're sent from anyone with not a care in the world as if it
         | is normal. This one thing has made it so browsers cannot be in
         | control of the user, made it so that CA TLS is pretty much
         | required and so that browser devs write entirely for the
         | security use cases of the insane corporate web applications
         | instead of writing for human people looking at website
         | documents.
         | 
         | And this same security model makes it so that web apps
         | basically cannot communicate with each other at all, unlike
         | real applications where piping between small applications is
         | the entire idea.
        
           | watermelon0 wrote:
           | Mobile operating systems have really good security models,
           | and native apps are even more isolated compared to the
           | websites.
           | 
           | I really wish that we would have similar isolation options on
           | desktop/laptop OSes.
        
             | add-sub-mul-div wrote:
             | It would be horrible if we lost desktop computing to a
             | scenario where we need permission from one of the tech
             | giants before running code.
             | 
             | Those who sacrifice freedom for security deserve neither.
        
         | qudat wrote:
         | The browser is an operating system. This might be unsettling to
         | this crowd but we can't just cover our eyes and hope it turns
         | into the browser from 20 years ago.
         | 
         | > Please stop making web apps
         | 
         | No.
         | 
         | > the web is for documents
         | 
         | No it isn't.
        
         | syndicatedjelly wrote:
         | I think you're about 25 years late to the conclusion of the
         | first war, and 10 years late to the second
        
       | shahzaibmushtaq wrote:
       | Users should educate themselves about when to use web apps and
       | native apps.
        
       | flax wrote:
       | For my game, I do have a web version, but I also have native
       | apps, because the web monetization path is just not as smooth as
       | native.
       | 
       | I chose Flutter because I like Dart far more than
       | TypeScript/JavaScript. AdMob doesn't support web. Of course there
       | is a Google Web ads solution, but Google's "significant content"
       | evaluator doesn't see any Flutter content, so you have to add a
       | bunch of useless text to use web ads. In-app purchases are fairly
       | easy compared to getting Stripe set up, and for the user far more
       | usable.
       | 
       | I'd LOVE to stop dealing with app stores and the 15% tax, and iOS
       | entirely, but it's not a good user experience.
       | 
       | Of course, I could choose not to monetize at all, but I would
       | like to get something for my efforts, at least enough to support
       | its own running costs.
        
       | parski wrote:
       | The web is for hypertext. Simultaneously, lots of apps should be
       | App Clips or whatever the Android fragment equivalent is called.
        
       | pacifika wrote:
       | The app can be installed only by tapping, but the web app
       | requires typing in the url or into a search.
       | 
       | I feel this is difficult for many more people with less motor
       | skills, or that can't read.
        
         | sumuyuda wrote:
         | Do you not have to search for the app on the app stores? How
         | else is the app found?
        
       | kyriakos wrote:
       | I currently have 4 parking apps, and 2 ev charging apps on my
       | phone. None of those have a Web version when you can clearly see
       | that most of their ui is webview based. They could have been
       | bookmarks indeed.
        
       | jbombadil wrote:
       | As a consumer, I understand the need of a native app for
       | something that is performance intensive or that requires a level
       | of OS access that the website doesn't provide.
       | 
       | OTOH, in tired of everyone pushing apps that could easily be a
       | website.
       | 
       | I had an xfinity technician aggressively pushing me to install
       | their xfi app when they came to install the service. They told me
       | it was the only good way to configure the WiFi (!) and that they
       | had to check a task in their technician to do list that they
       | "walked the consumer through installing the app".
       | 
       | Horrible consumer experience. Between the borderline lies and the
       | nefarious push for the app, if I had had any other choice I would
       | have rejected the installation on the spot. But alas xfinity was
       | literally the only provider that could offer service with any
       | decent speed.
        
         | capitainenemo wrote:
         | Definitely not necessary for internet service alone. You also
         | don't need their modem. Just buy your own. Cheaper in the long
         | run and a bit more control over the device. Never had a tech
         | push me into installing anything either.
         | 
         | But, I guess if you're paying for one for one of their all-in-
         | one packages where the service is managing
         | voip/streaming/tv/internet I guess I can see their equipment
         | and management tool might be necessary. Wouldn't know, have
         | avoided all that. Try to keep them just as an ISP.
        
         | xemdetia wrote:
         | It has been crazy since before apps were 'apps.' It is a simple
         | flow chart to me: do I need to interact more than once a month?
         | No? Should probably be a website. The only time I want an app
         | is for things I check more than 50 or so times a day, but that
         | is because the UI for phones is awful and it is more convenient
         | to context switch. Needless to say I find messaging apps to be
         | the only ones that qualify.
        
         | ukoki wrote:
         | I don't think it has anything to do with performance. Apps make
         | it far easier to advertise to users.
         | 
         | You can send the users a notification even when they aren't
         | using the app
         | 
         | It's much harder or impossible for users to block in-app
         | advertising
         | 
         | It's easier to track users via apps, and your tracking data
         | will be richer, more accurate and therefore more valuable.
         | 
         | Until this changes, we'll get stupid apps that should have been
         | websites.
        
           | chrisjj wrote:
           | > Apps make it far easier to advertise to users.
           | 
           | And to obstruct users e.g. from screenshotting content such
           | as my bank transaction data.
        
           | aeroghi wrote:
           | Also, the majority of users are going to _search Google_ for
           | the website they want, rather than enter a url directly. An
           | app avoids exposing the user to competitor 's ads.
        
             | kevincox wrote:
             | Both major app stores have similar ads. I don't see the
             | difference. Maybe they could provide a URL and QR code and
             | go straight to the site without depending on third parties.
        
         | glitcher wrote:
         | This reminds me of aggressive technicians trying to convince me
         | to install their bloatware on my computer in order to complete
         | setting up internet connectivity 20+ years ago. One was
         | completely baffled by my insistence that he was not going to be
         | touching my computer, makes me laugh now.
        
         | GoblinSlayer wrote:
         | Android app? Then install amd64 Lineage OS in virtualbox, push
         | app there, then restore a snapshot.
        
       | etothet wrote:
       | This argument has existed since native apps were first
       | introduced. One of the problems I see now is how horrible and
       | frankly broken browsing the web can feel, especially on a mobile
       | device. With all of the cookie confirmations due to GDPA and
       | other ways mobile websites try to engage you (such as popups to
       | subscribe to a newsletter or for discounts off your first order),
       | some websites become almost unusable on a mobile device. If
       | that's the future where native apps don't exist, count me out.
        
         | watermelon0 wrote:
         | There is no difference regarding GDPR/newsletter/discount
         | popups between website and application. It's up to the owner if
         | they want to nag users, and on which platforms.
         | 
         |  _(as for the GDPR, consent must explicitly be given in app as
         | on the website, if they are doing tracking and sharing the data
         | with 3rd parties)_
        
       | blae wrote:
       | Is this written by an AI? It's all too long.
        
       | summermusic wrote:
       | I generally agree, but not for any critical workflow. You can't
       | easily archive copies of web software. One day any website you
       | rely on could introduce user-hostile regressions or simply
       | disappear. Apps in the mobile ecosystem also have this problem,
       | but at least you can archive and sideload old APKs on Android
       | (for now).
        
         | bdcravens wrote:
         | > you can archive and sideload old APKs
         | 
         | Only as long as external dependencies (like APIs) are
         | satisfied.
        
           | summermusic wrote:
           | Very true, but you can also keep around an old Android phone,
           | or even emulate an old AOSP distribution if your really need
           | to. Obviously this is not ideal, but if you're trusting your
           | hobby or business to an app, it is in your best interest to
           | make sure that it doesn't _poof_ out of existence randomly
           | before you can upgrade.
        
       | tannedNerd wrote:
       | Cool, but web apps still can't do location tracking in the
       | background. So please do tell me how my fitness app should be a
       | web app instead?
        
         | bdcravens wrote:
         | Does your app still function if the user disables location
         | sharing?
        
           | averageRoyalty wrote:
           | Regardless of the answer, it's very common for people to wish
           | to share their workouts, locations included.
        
       | not_the_fda wrote:
       | I'll take a native app over a web app every time.
       | 
       | HTTP was not designed for apps, it was designed for serving HTML.
       | We had a decent solution in Java applets and the tech giants
       | could play nice so we couldn't have nice things.
       | 
       | The work around has been a huge kludge of crap frameworks of the
       | day trying to reinvent the OS and associated API in the browser.
       | It sucks all the way down.
       | 
       | Apps are:
       | 
       | More powerful
       | 
       | More efficient
       | 
       | Have better tooling
       | 
       | Have stable APIs
       | 
       | Are easier to debug
        
         | est wrote:
         | > a decent solution in Java applets
         | 
         | Uh!
        
         | bdcravens wrote:
         | When HTTP was designed, there also weren't any images, CSS, or
         | Javascript.
        
           | snakeyjake wrote:
           | There was no support for images in the two pre-1.0 versions
           | of HTTP.
           | 
           | The two versions written by one man as experiments and used
           | by (by reasonable interpretation) absolutely nobody.
           | 
           | HTTP 1.0, the first "real" HTTP did indeed include support
           | for images at some point prior to being finalized as RFC
           | 1945.
        
         | rpdillon wrote:
         | Apps also:
         | 
         | Require devs pay a tithe to the app store owner
         | 
         | Are less able to be customized, reverse-engineered, and
         | controlled by the user
         | 
         | Are subject to arbitrary, vague, constantly shifting, opaque
         | app store approval rules
         | 
         | Require constant updates just to continue existing, since the
         | platforms they target don't care for backwards compatibility,
         | and are constantly releasing updates
         | 
         | Are hostile to open source projects that have limited
         | resources, as those represent a drain on the system, since they
         | generate no revenue
        
       | guzik wrote:
       | I'd give anything to move our apps to the web. We're in the
       | medical field (our apps connect to medical devices over
       | Bluetooth), so publishing on Google Play is like a Kafkaesque
       | fever dream. Two days ago they tell us our app fits into
       | categories like:
       | 
       | Activity and Fitness
       | 
       | Nutrition and Weight Management
       | 
       | Sleep Management
       | 
       | Medical Device Apps
       | 
       | So we gotta update our policies, but today they said something
       | like: "Actually, jk, you don't qualify as a Medical Device App
       | anymore - app update rejected."
       | 
       | Meanwhile, Apple (who used to be the actual nightmare) has
       | somehow turned into the reasonable one. They approve apps in
       | minutes now. MINUTES.
       | 
       | It's like Google saw Apple's approval process from 10 years ago
       | and thought, "Let's do that, but make it a circus." At this
       | point, I dream of ditching native apps entirely. Too bad
       | Bluetooth on the web is still a bit... fragile.
        
         | fidotron wrote:
         | The Google Play update emails kill me with the level of
         | irrelevant noise.
         | 
         | "This is an important tax update for [country you didn't think
         | existed anymore]." etc.
        
           | Dig1t wrote:
           | Good lord this is so true.
           | 
           | I somehow got my personal email associated with the classroom
           | Google Play account from back when I was at university, so
           | every app uploaded by all students for each new semester I
           | get emails for still. Every few months I get a batch of 30+
           | emails telling my that my app is not in compliance and it's
           | at risk of being removed.
        
             | adastra22 wrote:
             | We've wandered off topic, but there should be a safe harbor
             | provision if your app has <500 installs or something.
        
         | FredPret wrote:
         | The web is just a beautiful publishing platform.
         | 
         | - no permission needed (mostly)
         | 
         | - built-in discoverability
         | 
         | - you get to figure out whatever payment processing you want
         | 
         | - works on every device
         | 
         | - update code in seconds
         | 
         | - no copy protection needed
        
           | frereubu wrote:
           | True except the part about "works on every device" is
           | dependent on what part of the device you're trying to use, as
           | the parent says about Bluetooth.
        
             | Ajedi32 wrote:
             | I'm a bit curious about what's wrong with Bluetooth on the
             | web. Is it just because Safari and Firefox don't support it
             | yet?
        
               | leptons wrote:
               | Not just Safari and Firefox, on iOS all browsers are
               | forced to use Safari's web view, because Apple wants to
               | force developers to write apps so they can make 30%
               | revenue from the app should any money exchange hands.
               | They can't force developers to write apps if web browsers
               | on iOS are allowed to access bluetooth and other modern
               | browser APIs.
        
             | amelius wrote:
             | Their devices should probably just include a different
             | interface, such as one based on a secure internet
             | connection. Or use bridging hardware.
        
           | dotancohen wrote:
           | > works on every device
           | 
           | Assuming that the device has an up-to-date browser available
           | for it. And today, that usually requires having a multi-MHz
           | multi-core processor and GiBs of memory. No matter how lean
           | your actual application/website is.
           | 
           | I have a stack of E-Ink readers, all in terrific condition.
           | My favorite is the B&N Nook Glowlight 3. When it was new just
           | about five years ago, I could install a web browser on it via
           | ADB and it would work reasonably well. Today, all the
           | browsers are bloated beyond installable and usable.
        
             | FredPret wrote:
             | True, and regrettable; on the other hand, mobile compute is
             | getting so much cheaper all the time. This is the driving
             | force behind all that bloat.
        
           | mattgreenrocks wrote:
           | Developing apps on it still seems really, really primitive.
           | HTML alone is not sufficient for a decent looking UI.
           | Tailwind directives gunk it up rapidly. Component frameworks
           | help some but still don't seem quite as nice as something
           | like SwiftUI. Server side functionality still requires a lot
           | of manual serialization/deserialization (unless you use the
           | newer crop of frameworks that have figured out this is pure
           | noise).
           | 
           | And then there's JS.
           | 
           | Rails, htmx, and a few others seem like the only ones who
           | really get that a simple web app should be 50-100loc.
        
             | leptons wrote:
             | >HTML alone is not sufficient for a decent looking UI
             | 
             | Well that's some nonsense. HTML can absolutely achieve 1:1
             | on any UI you care to mention. It isn't even difficult if
             | you have any skill at all.
             | 
             | >And then there's JS.
             | 
             | And then there's another person who didn't take the time to
             | learn JS and just hates it _for reasons_.
             | 
             | >Rails, htmx, and a few others seem like the only ones who
             | really get that a simple web app should be 50-100loc
             | 
             | Show me a native app with a polished UI and any useful
             | functionality in only 50-100loc.
        
             | ipaddr wrote:
             | "Tailwind directives gunk it up rapidly"
             | 
             | CSS classes are all of the rage these days.
        
           | hgs3 wrote:
           | Isn't some of what you're describing a critique of walled
           | garden platforms rather than web vs native? e.g. When I self-
           | publish a native desktop app, I can pick the DRM, code
           | updater, and payment processor I use.
        
         | Neywiny wrote:
         | Looks like at least chromium has web Bluetooth. Could that
         | work?
        
       | bdcravens wrote:
       | Meetings should be emails
       | 
       | Youtube content should be a blog
       | 
       | React websites should be static with sprinkles of vanilla JS
       | 
       | etc
       | 
       | These are all ideas that in many cases are true, though sometimes
       | they aren't, but if you ask the right questions, usually those
       | holding the line have a financial incentive.
        
         | ndileas wrote:
         | I look at these things as essentially aesthetic preferences.
         | There's certainly cases where a certain medium is the
         | objectively right one for a task, but there's many others where
         | it really just a matter of taste.
        
           | ilrwbwrkhv wrote:
           | I actually think of them as more than just an aesthetic
           | preference. It is fundamentally about proof of work.
           | Something that will become more and more important as we move
           | into a post AI world.
           | 
           | Every single piece of art, music, game or any other creative
           | piece, has three things to it. One, the actual artifact
           | itself of the music, the art and the game. Second is who is
           | making it. And the third is how much have they put into it.
           | 
           | This last point I think matters a lot. As producing things
           | gets easier and easier, just because almost all of creative
           | art is a popularity contest, things will move towards who has
           | put in most of their hearts / effort into it.
           | 
           | And that is why still I think we will always remember a
           | desktop game such as Stardew Valley but never a web game, no
           | matter how good it is. I mean Roblox has been around for a
           | while and maybe I can tell you one or two games in their
           | entire history, which I even remember.
           | 
           | The same with movies from Netflix which are becoming this
           | data oriented, aesthetically pleasing, easy to watch things,
           | but none of them are worth remembering. Will Netflix and
           | these platforms keep growing and having more and more users?
           | Sure.
           | 
           | But therein lies the conundrum. We will have a lot of
           | everything. We will own none of it and our lives will grow
           | more and more shallow and meaningless.
        
             | ndileas wrote:
             | That's a interesting way of thinking of it, but a little
             | limited. For most, the proof of work aspect becomes just
             | another part of the the status competition. I think I'm a
             | little more optimistic about the future.
             | 
             | Also, there's definitely web games (paperclips, kittens)
             | and art in every media that are memorable and excellent to
             | someone. That's kind of the point that I was making; the
             | medium is part of the message, but many things can be
             | presented in different ways, and mostly this doesn't
             | detract from anyone else.
             | 
             | Fundamentally, I reject your model of art; I personally
             | think the actual artifact should be the most important
             | part. Anything else shouldn't even be considered as far as
             | we're able, even though we are mostly status seeking
             | monkeys who pay very close attention to every other
             | monkey's status so as to increase our status.
        
             | GoblinSlayer wrote:
             | That's monopoly problem. Text retains quality, because it's
             | more democratic, and AI can democratize visual art.
        
               | hnthrowaway2376 wrote:
               | How does AI democratize visual art? Anyone can pick up a
               | pen and draw. Affording all the expensive hardware to
               | train AI, on the other hand, is limited to a much smaller
               | group of people, unless there's something I'm missing?
        
             | autoexec wrote:
             | What web game is as good as Stardew Valley and deserves to
             | be just as remembered? Most web games are crap.
             | 
             | That's just an argument about quality though. In the end
             | it's quality that matters more than the amount of effort
             | expended (which isn't something you can easily quantify or
             | confirm). Technology promises to make things easier
             | allowing for quality that wouldn't have been practical
             | otherwise.
             | 
             | Even when the quality is identical there are times when I
             | can appreciate the effort that went into something just
             | because the creator choose to make something in the most
             | inefficient and painful way possible. That's kind of fun in
             | its own way, but it's the exception, not the norm.
             | 
             | As games, music, and other forms of art get easier to
             | produce and distribute thanks to technology we'll have more
             | to choose from. Having choice will always mean you have a
             | lot of sifting through garbage to find things you like, but
             | technology can make that easier too. I'd rather have an
             | overabundance of options than be forced to select from only
             | a few options because creation/distribution is reserved for
             | a select few due to cost/difficultly
        
         | deadbabe wrote:
         | I actually don't think it's always financial.
         | 
         | I understand better now that by forcing a more complex medium
         | you will inherently attract a consumer who has greater
         | commitment to your content.
         | 
         | A person getting an email isn't as locked in as a person who is
         | attending a zoom meeting. And a person in a zoom meeting isn't
         | as locked in as a person forced to physically attend a meeting.
         | 
         | You could make your YouTube channel a blog but now you'll
         | mostly attract an audience that has a greater chance of getting
         | their attention consumed by something shinier, like another
         | YouTube channel.
         | 
         | Therefore, you will always want to deliver a message through
         | the most complicated medium that still lets you attract a
         | suitable audience. It creates more hooks for people to latch
         | onto.
        
       | duxup wrote:
       | Do individual consumer web apps get many sales when compared to
       | smartphone apps in a store?
        
       | fidotron wrote:
       | The problem with web games is monetization. If you look at Poki,
       | for example, the most popular games are those that simply drag
       | the user into a sort of low level loop where they are not ever
       | going to actually fail but also never really succeed, as the aim
       | is just to keep them there long enough to show more and more ads.
       | 
       | This makes casino games look almost virtuous because in those the
       | possibility that you win and walk away actually exists.
       | 
       | On reflection, since I also experimented and contributed to this
       | mess, the whole Facebook game era of web games was the peak,
       | because at least those games enabled strengthening connections
       | between real people.
        
         | mwest217 wrote:
         | Strongly disagree that Facebook games were the peak. To me that
         | was classic flash games like nitrome.com
        
       | hahahacorn wrote:
       | Agreed but on mobile, the native app still has a marginally nicer
       | UX. For apps I use heavily, I appreciate that. (Funnily enough, I
       | use the inverse as a means of controlling my screen time. Too
       | much YouTube? Delete the app and suffer through using it on
       | Safari.)
       | 
       | This is exactly why I'm such a huge fan of Strada. I'm not
       | married to Strada as the "best" solution, but it was early on
       | trending towards the (seemingly) obvious solution.
        
       | perons wrote:
       | One comment that I haven't seen yet and that puts PWA for Games
       | in jeopardy: the maximum caching allowed for Safari PWA's (thus
       | the whole iOS ecossystem) is only 50mb. Most mid-core / hardcore
       | mobile games are bigger than that after downloading remote assets
       | when the app loads for the first time, and this means a player of
       | a mid-core PWA game would have to redownload a good chunk of the
       | assets everytime the game loads.
       | 
       | I could be mistaken though, but I tried looking for how PWA's
       | work with caching and it is a whole layer of uncertainties that
       | depends on which browser/OS/ecosystem you are in, and if the user
       | clears it's browser cache. In the end, it seems like PWA will
       | only work reliably when the PWA is super light, and doesn't need
       | a lot of caching, so for gaming that would mean only lightweight,
       | casual and hypercasual games.
        
         | streptomycin wrote:
         | The 50mb limit no longer exists, it's much higher now
         | https://bugs.webkit.org/show_bug.cgi?id=198133#c15
         | 
         | Safari will delete your cached data if your app goes unused for
         | a little while though. Native apps may do the same thing
         | though... at least on Android I get notifications about it
         | deleting cached data for native apps I haven't used recently.
        
           | henriquelalves wrote:
           | That's nice, thanks for correcting me! Although it's quite a
           | nuisance that most PWA info I looked for before posting had
           | the old 50mb (mis)information.
        
         | anderber wrote:
         | Safari has always hampered PWAs, and probably for the reason
         | that they want you to use the appstore instead ($$$).
        
           | DrBenCarson wrote:
           | Is Android dramatically better for PWAs?
        
             | cosmic_cheese wrote:
             | It's a bit better but I've still not found any PWAs that
             | I'd want to use over a native Android app, if only because
             | they're near-universally rough, quirky, and generally
             | unpleasant in ways that modern Jetpack Compose apps aren't.
        
             | Rohansi wrote:
             | There are fewer walls, yes.
             | 
             | Push notifications from PWAs are another area that is
             | unnecessarily limited on iOS. They only work if the user
             | has added your PWA to their home screen and Safari doesn't
             | support the install prompts available in Chrome and
             | similar.
             | 
             | So your users will need to go out of their way to add the
             | PWA to their home screen and then they can receive silent
             | push notifications because Apple says sound and vibrations
             | are only allowed for native apps.
        
           | scarface_74 wrote:
           | It came out in the Epic trial that 90% of App Store revenue
           | comes from games. Those aren't going to be web apps anyway
           | for monetization reasons.
           | 
           | If PWAs are so bad on iOS and great on Android, why do
           | companies bother with writing Android apps, web apps for
           | computers and iOS apps instead of just telling Android users
           | to use the web apps?
        
       | alexpotato wrote:
       | One of my kids recently started playing travel basketball and
       | being a nerdy, into stats tech dad I wanted to take stats on the
       | game.
       | 
       | Instead of downloading an existing app, I decided to see if I
       | could write my own web app with the following constraints:
       | 
       | - no frameworks
       | 
       | - just basic javascript
       | 
       | - track multiple stats
       | 
       | - be able to enter stats via phone and only using one hand
       | 
       | - while also holding a 4 year old in my other arm
       | 
       | It was a fun exercise and I actually got it working! It can track
       | multiple players, multiple stats and even saves the data to a
       | server for later viewing or more analysis.
       | 
       | "You can just build things" also includes fully functional web
       | apps using old school technologies to solve your own
       | needs/constraints.
        
         | CyberDildonics wrote:
         | I don't understand what this has to do with the topic.
        
           | alexpotato wrote:
           | The general topic was web apps vs phone apps.
           | 
           | I was pointing out that this applies to apps that you can
           | build yourself.
        
             | CyberDildonics wrote:
             | This is about apps being easily simple enough to make into
             | a web page.
             | 
             | No one is saying a table with javascript can't be done in a
             | web page, people have been doing it for 30 years.
        
       | chrisjj wrote:
       | Love this:
       | 
       | > Important!! the Windows version might show a false warning, if
       | it does, hit More Info and then Run Anyway.
       | 
       | because recognising a _false_ warning is impossible.
        
       | chrisjj wrote:
       | > A Unity like environment to create web apps
       | 
       | Spell check needed.
        
       | chrisjj wrote:
       | > To create an Audio Asset, you need to import your audio file
       | (mp3, wav, ogg, mkv) into your project.
       | 
       | Seriously? You can't have audio except precomputed in a file?
        
       | jeena wrote:
       | I'm playing https://www.twilightwars.com it's a turn based game.
       | You get a notification once it's your turn. If you don't click on
       | the notification but just open the browser, the browser thinks
       | you don't want the notifications and stops them. There is no way
       | of whitelisting the notifications.
        
       | evanjrowley wrote:
       | This reasoning is why I'm keen to try out RomM[0], a ROM library
       | manager that has EmulatorJS[1] built in. Rather than having to
       | setup emulation on each device where I want to play a simple
       | game, I can instead use this combination to do it from any web
       | browser on my local network.
       | 
       | [0] https://github.com/rommapp/romm
       | 
       | [1] https://github.com/EmulatorJS/EmulatorJS
        
       | marxisttemp wrote:
       | Lol no thanks, not everyone hates beautiful native design
        
       | nox101 wrote:
       | I'm also curious about apps vs native. Here on HN it seems people
       | often hate on the web "you're the product, not the customer" vs
       | native. But, half the websites I visit say "download the
       | app!!!!". If all the spying on the web is so great for them but
       | they're pushing you to an app, that to me suggests they get more
       | spying on the app. Even if the app is just a webview, they get to
       | set the policy so no blocking the 950+ companies they're letting
       | spy on you. And, even better, the app will require you to login
       | in so they can magically get even better data.
       | 
       | It feels like we (the HN crowd?) should be pushing for more web
       | (the one place where you can inject more control like ad
       | blockers, etc), than native apps (where you have no control)
        
         | yonatan8070 wrote:
         | The modern web sucks, with all the tracking, etc.
         | 
         | But it's still a lot better than apps, which give the developer
         | more control without (in most cases) any tangible UX benefit.
         | Just as an example, Reddit doesn't need to have an app, all
         | they do is display text and images, along with some
         | interaction, and they especially don't need to lock some
         | content behind the app (I recently got a popup when trying to
         | view a post saying that "unreviewed content" is only available
         | in the app, despite the post clearly loading for a split second
         | before the popup).
        
       | rmac wrote:
       | email me when y'all are upset enough to actually do something
       | about this => e.g., create a newsgroup like app-store across iOS
       | and Android using the new api's exposed by apple and google
       | 
       | maceip@sina.com
        
       | apitman wrote:
       | > it's time to get back to what the web was always meant to be: a
       | universal platform for everyone
       | 
       | That is not what the web was always meant to be. The web is a
       | document distribution platform. In its purest form, that should
       | mean no bloat, no tracking, no JavaScript period. Browsers should
       | be tiny, extremely secure programs.
       | 
       | There's nothing wrong with having a universal app platform that
       | embraces important lessons from the web like URIs, the security
       | model, WebAssembly, etc, but it should be a separate program.
        
         | idle_zealot wrote:
         | That ship appears to have sailed. The more realistic proposal
         | would be the converse: a stripped down browser that acts only
         | to retrieve and display web pages that are documents, not apps.
        
           | apitman wrote:
           | I actually agree. I think that's the best way to achieve what
           | I'm talking about. Compatibility with current browsers must
           | be maintained for many years. But we split the web into two
           | much simpler platforms. One for documents that includes HTML
           | and a tiny subset of CSS, and the other that's basically
           | WebAssembly + WebGPU and other APIs for networking etc.
           | 
           | 90% of the web can be documents. If you're actually building
           | an app use the app platform. People using legacy browsers
           | don't need to know the difference, but over time they'll want
           | to switch because of the benefits.
        
       | furyofantares wrote:
       | I'm working on a little niche puzzle game in Love2D. Well, I'm
       | done, I just need to ship it. I currently have web, iOS, and
       | Windows builds. I strongly prefer playing the native version.
       | 
       | I'm not sure what I'm going to do about this. I think people will
       | have a better experience with the native versions, but won't
       | discover that if the web version exists. However there are also
       | probably people who would play the web version who wouldn't
       | install an app.
       | 
       | Probably most of the attention I can drive to it will come from
       | other daily web puzzle games I run. I suppose if that weren't the
       | case, I wouldn't bother with the web version (unless I get
       | rejected by app stores - which looks somewhat likely at the
       | moment.)
        
       | jbverschoor wrote:
       | Nope.. HTML should've been just that, hyperlinked text.
       | 
       | Friend should've been forms.
       | 
       | Applications should've been apps.
       | 
       | The thing is that html/http is such a great distribution model
        
       | Devasta wrote:
       | Referring to everything as "web" when they mean JavaScript has
       | been such a feat of marketing.
       | 
       | I'd rather not have stuff I pay for be websites, thanks. I have
       | games from 2005 I can still play today. The flash games from back
       | then on the other hand are gone forever.
        
         | debugnik wrote:
         | Plenty of flash games got archived in time as .swf files! And
         | many can still be played with either Ruffle or the last build
         | of the standalone Flash Player Projector (which is still
         | available on Internet Archive).
         | 
         | Games nowadays however have so many online-only features and
         | content that it's getting much harder to keep them working no
         | matter the platform.
        
       | thot_experiment wrote:
       | I man don't get me wrong, I love the idea of PWAs but this dude
       | is out to lunch. It's so painful making anything complex work
       | cross browser/cross platform. On iOS iirc they don't even support
       | adding PWAs to the homescreen? You definitely can't Bluetooth
       | outside of Chrome (probably only on Android and Windows too
       | because nothing fun is ever allowed on Macs).
       | 
       | Multiplayer games you kind of need UDP. You cannot UDP in the
       | browser (WebRTC data channels technically use UDP but that stack
       | is an abomination wrapped in SCTP and DTLS)
       | 
       | This is by no means an exhaustive list, just issues I've dealt
       | with recently. It's _better_ than it was with WebGPU and WASM,
       | some of the gap between a native app and a website is
       | surmountable, but unless you 're doing something extremely boring
       | surmounting the gap is hard fucking work.
        
         | coip wrote:
         | I have several PWAs on my home screen on a iPhone that open in
         | a window that doesn't appear as a browser.
        
         | tshaddox wrote:
         | > On iOS iirc they don't even support adding PWAs to the
         | homescreen?
         | 
         | You've been able to add websites to the home screen going back
         | at least to the iPhone 5 in 2012. Is it the "PWA" part you're
         | questioning? iOS definitely does have PWA support, although
         | with a few notable limitations that may be deal-breakers for
         | certain apps. Oh, and apparently Apple recently disabled PWAs
         | entirely in the EU.
        
           | xeromal wrote:
           | One big missing piece is the inability for me to put an
           | "Install" button like I can on android. I don't want to have
           | to teach old people how to add to desktop
        
           | Anechoic wrote:
           | _Oh, and apparently Apple recently disabled PWAs entirely in
           | the EU_
           | 
           | Apple reversed that decision back in March [0] (expand "Why
           | don't users in the EU have access to Home Screen web apps?")
           | 
           | [0] https://developer.apple.com/support/dma-and-apps-in-the-
           | eu
        
             | moffkalast wrote:
             | > The need to remove the capability was informed by the
             | complex security and privacy concerns associated with web
             | apps to support alternative browser engines that would
             | require building a new integration architecture that does
             | not currently exist in iOS and iPadOS.
             | 
             | This rationalization makes zero sense, it's just opening a
             | standalone browser window from a convenient icon shortcut.
             | They could even ignore the manifest.json entirely like
             | Android does half the time anyway cause the implementation
             | is buggy as all hell.
             | 
             | I think the real reason was some kind of retaliation worthy
             | of a baby insanity wolf meme because they were forced to
             | stop reskinning Safari for all other browsers on iOS which
             | was absolutely ridiculous in the first place.
        
               | brookst wrote:
               | Shows why guessing and gut feel are bad basis for
               | opinions.
               | 
               | In fact, Apple's problem was that the PWA serviceworker
               | runs as root, a bad decision made years ago. Enabling
               | Chrome-hosted PWAs means Google gets root on those
               | peoples' phones.
               | 
               | We can still lambast Apple and go all ad hom, but let's
               | stay factual?
        
           | panic wrote:
           | In fact, home-screen web apps on iPhone OS predate third-
           | party apps on the platform. Originally all third-party
           | software was going to be installed this way.
        
         | voxic11 wrote:
         | WebTransport is now supported in most common browsers (just
         | missing safari support) and provides a nice API for
         | sending/receiving messages via UDP.
         | https://developer.mozilla.org/en-US/docs/Web/API/WebTranspor...
        
           | thot_experiment wrote:
           | Thanks for pointing this out! I wasn't aware this had more or
           | less landed. (though I think my broader point about cross
           | platform support unfortunately still stands, I personally
           | don't care about supporting iOS on my side projects and I'm
           | excited to mess with this)
        
         | pjmlp wrote:
         | Most of the time a PWA isn't needed at all, a mobile Web
         | friendly website suffices.
        
           | brookst wrote:
           | For offline use?
        
         | codazoda wrote:
         | You can add PWAs to the Home Screen on iOS; Share, Add to Home
         | Screen. This is how I build apps to scratch my own itches.
         | 
         | Edit: Err, sorry to pile on. I see others have already
         | mentioned this.
        
         | hot_gril wrote:
         | iPhones support PWAs on homescreen. However, there's no way to
         | trigger the "install the PWA?" prompt. The user has to do it,
         | which very few know about, and maybe that's what you were
         | thinking of.
        
           | CharlesW wrote:
           | I haven't looked at this lately and so don't have a specific
           | recommendation, but there are small libraries for helping iOS
           | learn how to add PWAs using the standard Share - Add to Home
           | Screen mechanism.
           | 
           | https://github.com/khmyznikov/pwa-install (Try on device:
           | https://khmyznikov.com/pwa-install/)
        
         | leptons wrote:
         | Apple is currently being sued by the DOJ for a variety of
         | abusive business practices, including forcing all web browser
         | apps on iOS to use the Safari browser engine, which limits the
         | usefuleness of all web browsers on iOS, so that developers are
         | forced to develop an app which Apple can then take a 30% cut of
         | all revenue generated by the app. It's a pure money-grab by
         | Apple, and they deserve this legal action against them.
        
           | bdangubic wrote:
           | buy android
        
           | acheron wrote:
           | Is the only alternative still Google? Yeah I'm good with
           | Apple, thanks.
        
         | paxys wrote:
         | I can't say about gaming, but a huge chunk of popular apps out
         | there are PWAs with a native wrapper. If built well people
         | aren't even going to notice.
        
         | segfaltnh wrote:
         | I think the part where he calls out airline apps is spot on
         | though. They don't need any of that tech.
        
           | brookst wrote:
           | As a frequent user of both web and phone airline apps, the
           | phone apps are just _nicer_. UI idioms that are appropriate
           | for the platform, etc.
        
       | j45 wrote:
       | WebOS had quietly solved this years ahead of its time.
       | 
       | All apps and the OS are JavaScript based.
       | 
       | The timing of the hardware missed or maybe it could have stuck
       | more.
        
       | MattHeard wrote:
       | One thing I haven't seen addressed in the post or comments (sorry
       | if it's there and I just missed it) is for apps and websites that
       | sell non-digital goods to customers.
       | 
       | For returning customers, a customer with an app installed is
       | simply going to have a lot less friction to open the installed
       | app and place an order than a customer who has to open their
       | browser, log in again, and then place the order.
       | 
       | That alone is worth the investment for many companies in making
       | an app, even if a minority of customers actually choose to
       | install the app and keep it installed.
        
       | la_fayette wrote:
       | There are definitely apps, which could be websites, e.g., using
       | the coinmarkecap app doesn't make any sense in comparison to the
       | website.
       | 
       | But there are many things which cannot be done sufficiently on
       | the web, e.g., augmented reality, tracking gps in the background,
       | accessing a users calendar or phonebook, Bluetooth, scheduled
       | notifications, etc...
       | 
       | In general there is something called app fatigue. Convincing
       | somebody to install an app is difficult these days, even if it's
       | free... Let's see what the future brings for app development.
        
       | Animats wrote:
       | > Thanks to HTML5, WebGL, and WebAssembly, browser games are
       | catching up to native ones in ways we couldn't have imagined just
       | a few years ago. Meta's Oculus browser already delivers web games
       | that rival native apps in performance. And once WebGPU becomes
       | standard, the differences will be practically invisible.
       | 
       | If only. Have you tried Google Earth on Firefox lately? You can't
       | even zoom in and out any more without waiting many seconds. It's
       | CPU bound, not I/O or graphics bound. Anyone know what went wrong
       | in there? Is it a deliberate attempt by Google to force people to
       | Chrome?
       | 
       | As for games, the browser environment is still rather limited.
       | WebGPU is (mostly) single thread. (You can share memory between
       | processes, which is something else.) It's a subset of Vulkan -
       | one command queue, and no bindless mode. Google proposes to fix
       | that around December 2026.
       | 
       | On the other hand, there is absolutely no reason that Uber or
       | Waymo needs to have an "app".
        
         | pjmlp wrote:
         | Also, after a decade, browser vendors still don't provide any
         | usable 3D developer tooling better than SpectorJS.
        
         | debugnik wrote:
         | > Is it a deliberate attempt by Google to force people to
         | Chrome?
         | 
         | For the last several months, the YouTube player takes me
         | several seconds to load on Firefox and freezes on me for a
         | couple of seconds every other time I press play/pause...
         | 
         | And changing the user agent fixed it! So I say yes. But I found
         | the extensions to do so quite clunky so I gave up.
        
           | Animats wrote:
           | > And changing the user agent fixed it!
           | 
           | Send a note about that to the legal team at the Department of
           | Justice managing the Google antitrust lawsuit.[1]
           | 
           | [1] https://apnews.com/article/google-search-antitrust-
           | case-5911...
        
           | recursive wrote:
           | This is really annoying when it happens. Next time it starts,
           | I'll definitely try the user agent thing. When loading
           | youtube, when this is happening, (and sometimes it doesn't)
           | the whole page locks up for a few seconds half-way through
           | loading/rendering/hydrating. After that, it seems to do a CSS
           | recalc/reflow. While waiting, it's impossible to do anything.
        
         | adastra22 wrote:
         | > On the other hand, there is absolutely no reason that Uber or
         | Waymo needs to have an "app".
         | 
         | Here's one: I don't give websites my location or the ability to
         | interrupt me with notifications. Ever. I've blocked the browser
         | from doing this entirely.
         | 
         | I have Uber and Lyft apps installed and granted those
         | permissions though.
        
           | ipaddr wrote:
           | You could give only them location access then they wouldn't
           | be able to see what apps are installed, contacts and family
           | photos or listen on the mic.
           | 
           | You are afraid of a browser so you give system access?
        
             | SllX wrote:
             | What kind of phone are you running and how old is it? Apps
             | don't get any of that other information either unless you
             | specifically approve it. If you want to give Uber just
             | notifications and just location, you can do that.
        
               | fragmede wrote:
               | And even then, it only gets location access while it's
               | running (if that's the access that's set). And doesn't
               | get to run in the background either (if you say it's not
               | allowed to).
        
               | Asmod4n wrote:
               | "When it's running" also means when it runs in the
               | background, and apps can wake themselves up any time they
               | want when you allow them to send you notifications.
        
               | SllX wrote:
               | Running location triggers an icon in the UI which puts it
               | in a list of apps that have run location recently. An app
               | abusing this in the background will eventually cause the
               | operating system to ask you "hey, are you okay with
               | this?" alongside a map of your current location as your
               | phone sees it.
        
           | sgustard wrote:
           | Uber is almost the canonical example of something that should
           | be an app! I need to do a frequent task, I punch up the app,
           | I'm always logged in with my location pinpointed, I get a
           | little live-updating widget on my phone with my ride
           | location, plus notifications and Apple Pay and so on. When my
           | ride's over I'm done with the app. Much more useful than say
           | the "Hilton Honors" or "Ann Arbor News" apps which are
           | literally website wrappers that I use once a year.
        
             | bloppe wrote:
             | literally each of those things is also totally possible and
             | easy with a PWA, except maybe the widget.
        
           | bloppe wrote:
           | Is there a reason why you think location access is OK for the
           | Uber app but not ok for the uber.com website?
        
         | serial_dev wrote:
         | > Anyone know what went wrong in there?
         | 
         | Knowing, I don't know, could be related though...
         | 
         | Google Earth uses Flutter on web, too, which is in my opinion,
         | the platform where Flutter is giving its users the worst
         | experience.
         | 
         | Though the root cause of the bug could also be non-Flutter
         | related, because in Google Earth's case, Flutter mainly just
         | wraps the interesting bits (maps stuff in c++???) with a
         | unified UI skin.
         | 
         | And does Google break Firefox all the time on purpose? Good
         | question...
         | 
         | https://medium.com/flutter/extreme-ui-adaptability-in-flutte...
        
         | nostromo wrote:
         | Yes, Google has adopted lots of dark patterns.
         | 
         | I use YouTube via browser (Safari or Brave) on mobile and it's
         | clear they don't care about the mobile web experience at all -
         | to the point it seems like they are deliberately trying to
         | force you to use the app.
         | 
         | I assume it's because they know the browsers support adblocking
         | and limitations on tracking and notifications.
        
           | marxisttemp wrote:
           | If you're in the Apple ecosystem, I highly recommend the
           | Vinegar extension which replaces the awful custom player with
           | a standard HTML5 <video> element
        
       | hot_gril wrote:
       | For multiple reasons outside of devs' control, PWAs basically
       | don't fly on iPhones. They don't go to all that extra effort of
       | packing a webapp into a "native" app just for fun.
        
       | al_borland wrote:
       | This was the original plan for the iPhone. The web just needed to
       | catch up. But now that everything is app based, it's hard for
       | companies to want to give up space on a user's home screen. Web
       | apps can be added to the home screen, but it's not the default
       | state, like an app is.
        
       | ssz wrote:
       | I completely agree with the sentiment of the article but the
       | general user behavior is changing. Young people are always asking
       | for an app. It's what they're used to. My nephew never even opens
       | his web browser on his phone.
        
       | boohoo123 wrote:
       | there's even a worse option that his article doesnt include. and
       | thats apps that have limited functionality compared to the web
       | app. My bank is one of them. Heres your account and here's your
       | most recent bank statement. You want to see more bank statements
       | or add/remove a auto bill or change your password, you need to go
       | to the website for that. What the f** why do you even have an
       | app?
        
       | r33b33 wrote:
       | No. Websites are more laggy, cookie disclaimers, weird
       | dimensions, needless UX, choppy. Apps are almost always way
       | smoother.
        
       | purple-leafy wrote:
       | And here I am making unportable C projects. Actually, I'm quite
       | happy being away from the web, its a pain
        
       | ghjfrdghibt wrote:
       | There's a clear agenda with this article. I'm all for website
       | wrapping apps being websites again. But I'm definitely sick of
       | websites that should be apps. And I'd use a native app any day
       | over a bloated website masquerading as an app, especially on
       | desktop.
        
         | ToucanLoucan wrote:
         | Hard agree on all that.
         | 
         | And to be honest, none of these things solve the actual issue
         | which is tons of these apps are software that is built by
         | companies who do not build good software, and no framework or
         | methodology is going to overcome that fact.
         | 
         | My banking app, Chase, is terrific. It is either native or such
         | a well optimized web wrapped one that I can't tell the
         | difference, which would be a first-of-kind. It has quirks but
         | for every daily driver task I need, it's great. In fact the app
         | being so good was actually part of why I decided to pull the
         | trigger on changing banks, because my last was anything but.
         | 
         | That said, other apps I use (and websites, for that matter) are
         | TRASH on mobile. Slow to load, slow to respond, and make my
         | damn phone hot in my hand while I try and use them. And like,
         | maybe they'd be better running native code, from a technical
         | perspective at least, but that doesn't change that the
         | usability is still awful, which is not a technical problem:
         | it's a design problem, that probably originated far above the
         | heads of any of the developers actually building them.
        
       | soerxpso wrote:
       | > Yet businesses still push native apps as if it's 2010, and
       | we're left downloading apps for things that should just work on
       | the web.
       | 
       | The app icon acts as free marketing. If it were just a website,
       | you wouldn't have a little picture of their logo on your phone to
       | be reminded that they exist every now and then. They know that it
       | could just be a website (usually it IS just a website, packed
       | inside an "app"), but they don't want that for a reason.
        
       | haikuya wrote:
       | There's a dichotomy between web and native apps. I don't feel
       | like I'm leaving my OS when using an app that's parked on my
       | dock. For subscriptions and pricing web is great but even the
       | notifications are sub-par to native, I need user retention not
       | another tab in my browser.
        
       ___________________________________________________________________
       (page generated 2024-12-31 23:00 UTC)