7 ms·
I sense a trend of trying to cram everything good about native apps onto the web. Do people who do this stop to think whether the web is actually the correct pl
by kqr 10y ago
I sense a trend of trying to cram everything good about native apps onto the web. Do people who do this stop to think whether the web is actually the correct platform for their app?
- cmdrfred 10y agoMy feeling is more people need to stop and think "Why isn't this just a website".
- kuschku 10y agoWell, both, in a way. Many things on the web should be standalone applications, others should be plain documents. The web should be split into sandboxed programs and epub texts, and we’d be all better off.
- ciconia 10y agoIf you need to build cross-platform apps - and that is mostly the case nowadays - the web is actually not such a bad solution. I mean, what is the alternative?
- Nadya 10y agoThere is plenty of software that works across Windows/Mac/Linux/Unix-like platforms. They run faster, don't always need an internet connection, are easily portable, and are typically better designed and less bloated than any web-limited cross-platform application. They also don't rely on browser cache or localStorage for settings and I don't need to login daily to access my stuff. Disable your web cache and try to use a web application daily. I wouldn't use software that constantly resets or removes my config files as a side effect of some other action.
- CardenB 10y agoAren't there lots of caveats for each platform when using so called "cross-platform" code?
- Nadya 10y agoYes - totally! You either limit yourself more or double/triple your work making different system API calls depending what platform you're compiling for. Not too different from tripling your workload to support "offline" applications or dealing with IE/Safari/Chrome/Firefox differences. Most web apps I've come across either don't run in IE or have various bugs/issues in Firefox as most of them are coded on and targeting Chrome due to Chrome's dominance of the web. Which reminds me of people building/testing only on Windows. I will admit that the comparison I'm drawing are "same but different" problems. Browsers are a lot more standardized than operating systems and fixing a difference between Firefox/Chrome is usually a lot more trivial than fixing a difference between Windows/Mac.
- CorvusCrypto 10y agoyes. There can be a lot of boilerplate code present, however in terms of speed, using Qt for instance, can be much faster still than a web application that accomplishes the same task even if you get a huge binary after compilation. Oh and as Nadya said, sometimes this generalization causes issues. Engineering is a game of trade-offs I think :P.
- kaoD 10y ago> in terms of speed That's the point. Most applications don't need speed, and most that need it can offload speed-critical code with no significant drawbacks. The web is fast enough for 99% of use cases.
- CorvusCrypto 10y agoI agree. Was there any thought I didn't ;)?
- Klathmon 10y agoWhat's the speed of the install process for those apps? How's the update system work? How quickly can you release them to all platforms? Can they be easily customized and modified by the user? Can they be easily shared? What's the permissions model like? How much can that application access?
- qudat 10y ago> Disable your web cache and try to use a web application daily. That's like saying "disable a native applications persistent storage and use it daily." It is a meaningless comment.
- Nadya 10y agoI can think of valid reasons to disable browser cache/cookies/localStorage that are completely unrelated to the storage of web app data. It is a side effect of web apps primarily using those methods to store user data when they don't want to store anything server side. They are designed to use local storage! That's one of their "perks". Cookies/cache/localStorage works for most users. I am not most users and I recognize that. My criticism is that the primary method of persistent storage is fundamentally flawed and makes most web apps completely unusable for me. E: I'm that person who carries a USB drive of portable software customized to my preferences primarily to be used on friends' machines or for setting up new machines. Setup once and use everywhere. Browser-based storage needs to be setup everywhere by design. I need to setup at Work and at Home because I refuse to tie my personal Home profile with my Work profile, so there is no "syncing" my profile across devices. If you primarily use one device or can sync between devices and allow cookies/cache/localStorage to persist, then web apps won't be a problem for you at all. If any of the above doesn't apply - then web apps are a thorn in the side.
- CorvusCrypto 10y agoCannot agree more! However, I can see the appeal of webapps. Getting started in app development using GUI APIs (cross-platform or target-native) can be a bit intimidating, too. And now we have things like electron which... well to me it's slow, but being able to develop a desktop GUI using html5 and css and JS is appealing. And to be fair, a web app does get the job done, though I have to admit the number of companies that opt for an internal webapp instead of a desktop application is interesting.
- GrinningFool 10y agoGtk Qt The list is actually quite extensive: https://en.wikipedia.org/wiki/List_of_platform-independent_GUI_libraries https://en.wikipedia.org/wiki/List_of_platform-independent_G... -- For mobile, clean separations also helps. It is definitely possible - and less complex than you'd expect - to have core functionality in a shared library, wired up to platform-specific native GUI toolkits. But your question illustrates the problem. The pervasive presence of toolkits that add layer upon layer to create "cross platform" are the new norm. People are literally losing awareness that other options exist - much to the detriment of end users. We have built an entire industry around such tooling - and long ago stopped questioning what value it brings.
- kaoD 10y agoI'm mainly an app developer that transitioned (a long time ago) from native to web apps, tired of code duplication. I'm well aware of other options. The web comes with its warts, but I've yet to see an app platform as ergonomic and comfortable for the developer as the web. For 99% of my use cases, anything else is overkill and too much of a hassle. It's not the web's fault that it's a better app platform than actual app platforms.
- RantyDave 10y agoApple's stuff is actually really nice. Sadly Apple specific, obviously :(
- Senji 10y agoHave fun trying to convince people to download and run your app.
- izacus 10y agoWe (and several richest largest companies in the world which became that due to their native offline software) have no problems doing so.
- swsieber 10y agoFor games specifically, there's Unity or Haxe.
- ksk 10y agoThey do, but they're convinced that asking people to install software is verboten.
- AgentME 10y agoSmart users don't like installing every little thing they want to try and giving them all full unsandboxed access to their computer. On the desktop, the easiest way to run an app in a sandbox is if it's a web app that runs in the browser's sandbox to begin with.
- ksk 10y agoAs long as we're trending towards web-apps having native apps' functionality then that distinction will soon be meaningless. Native apps are already sandboxed in various ways. Process integrity levels, VM protection, low privileged execution, call gating, ACLs, MAC, etc etc. All these technologies already exist and are already being used in various ways. Any systems level programmer should already be aware of those. The browser is fast becoming the "OS" and most browsers are several order of magnitudes more bloated than mainstream kernels, not to mention horrendously insecure - if we're worried about security, then browser vendors are the last people I would trust for anything important.
- mbrock 10y agoUnless you're running a very unusual OS setup, any native app by default has read and write access to all of your files without asking. I feel pretty comfortable assuming that www.randomwebapp.com isn't reading and uploading my ~/.ssh and ~/.gpg, otherwise I'd be terrified of using the web at all.
- ksk 10y ago>Unless you're running a very unusual OS setup, any native app by default has read and write access to all of your files without asking. That's partially true. By default, it cannot access any system files, or change any system settings without admin privileges. Admin access is also required to authorize a firewall exception if it wants to use the network. And you have the choice to arbitrarily restrict a software's read/write access to locations of your choosing. You might call that unusual, but such restrictions are common in managed environments. >I feel pretty comfortable assuming that www.randomwebapp.com isn't reading and uploading my ~/.ssh and ~/.gpg, otherwise I'd be terrified of using the web at all. Your comfort is misplaced. There are FAR more browser vulnerabilities (including chrome, firefox) allowing code execution than there are OS kernel and CPU vulnerabilities allowing you to break out of the native apps' sandbox.
- qudat 10y agoThere are more developers for the web than for C++ GUI applications. Building a cross-platform application using C++ is not a simple task in the slightest and it's even more difficult finding talented developers to accomplish the goal. It seems like a no-brainer to me, building a cross-platform application use web technologies makes the most sense from a business pov.
- mbrock 10y agoThere is a huge number of applications for which the web is pretty much the only platform that makes any sense at all. Compared to making a cross platform native application that works on Linux, Mac, Windows, Android, and iOS, making a web app—even with offline support—is delightful and efficient.