News for hackers. Stuff that matters.
Re:Browsers, not apps, are the future of mobile by Arainach on Thursday November 03, 2016 @02:41PM (#12866725)
This comes up from time to time and I still don't see it. The idea of packaged web apps and web sites is as old as the smartphone (and older on some platforms). Even today, I can tell what experience on my devices are packaged web apps and I don't enjoy them. UI elements don't look right, navigation elements don't behave properly, keyboard shortcuts are wrong. Web apps can be sufficient for some scenarios, but they don't lack the magical feeling of native apps.
Re:Browsers, not apps, are the future of mobile by TuringTest on Thursday November 03, 2016 @03:05PM (#12866958)
Wait until mobile OSes start building a native presentation layer built on WebAssembly.

Apple already tried that approach with the iPhone one. It failed because the technology wasn't mature, but there have been nothing but advances since then.

The web is a more flexible and portable platform, so the economic incentives will always be there. And while native toolkits are still based on 1970's lab research, the web as a platform benefits from mainstream usage by the whole world. At some point, the new tech will overcome and replace the old approach. The gap is getting smaller every day even if the old approach has decades of advantage, and all major tech providers are pushing for it.

Re:Browsers, not apps, are the future of mobile by wangchow on Thursday November 03, 2016 @06:07PM (#12868441)
With the security sandbox of the browser functionality is inherently limited (by design) compared to native apps which have less-limiting restrictions.

Security and usability are inversely proportional and the browser needs that security more than anything else.

That being said, it's great to see the innovation in the web space. But it will always be limited to specific application domains and the standards move slowly

Re:Browsers, not apps, are the future of mobile by smacktoward on Thursday November 03, 2016 @04:44PM (#12867761)
Even by 2009 it worked fine -- I had a Palm Pre, and the experience of using webOS on that hardware was always responsive and pleasant. (Palm Inc. and the Pre both had lots of problems, but webOS wasn't one of them.)

In fact if I had the opportunity to buy a webOS device today I would ditch Android in a hot minute...

Re:Browsers, not apps, are the future of mobile by trynumber9 on Thursday November 03, 2016 @09:56PM (#12869787)
You can buy some webOS devices today: LG's "smart" televisions. It's actually quite slick.
Re:Browsers, not apps, are the future of mobile by marcosdumay on Thursday November 03, 2016 @04:47PM (#12867794)
XUL again?

If it's more convenient to Google and Apple, they'll push for it, and we can only adapt.

But don't expect developers to ask for it. As it happens with those things, each platform will have their own, incompatible toolkits, and programming for them will not be much different than native programming.

Re:Browsers, not apps, are the future of mobile by icebraining on Thursday November 03, 2016 @03:20PM (#12867092)
Why haven't they built a native UI toolkit for JS, though? What will WebAssembly give them that makes it worthwhile?
Re:Browsers, not apps, are the future of mobile by johncolanduoni on Thursday November 03, 2016 @04:47PM (#12867793)
The ability to leverage more native capabilities than JS can. A more generalized, less platform specific format for executable code already seems to be a goal for iOS and Android. Android of course has always used Java (well, Dalvik technically) bytecode, and Apple recently has started pushing their LLVM-based bitcode to reduce dependence on specific architectures.

If WebAssembly does a good job of exposing features needed for high-performance code, it could become feasible to move everything to WebAssembly and ditch support for native code on both platforms.

Re:Browsers, not apps, are the future of mobile by patrick8 on Thursday November 03, 2016 @05:49PM (#12868320)
WebAssembly doesn't make native integration any easier than JS. Neither defines the exact way so called non-web embeddings actually are defined and both can support it. I honestly have no idea the relevance of WebAssembly in this discussion. Could you provide an illustrative example?

Edit: I should clarify that for certain types of apps WebAssembly might be relevant but the discussion seemed to be out UI layer and I don't understand how WebAssembly fills a gap that a native API in JS could also provide along with the same challenges.

Re:Browsers, not apps, are the future of mobile by johncolanduoni on Thursday November 03, 2016 @07:26PM (#12869037)
I'm sorry, I'm using "native" in an unclear way (that should have been obvious to me). I don't mean it will help with native API integration (JavaScript can do that just fine), I mean as a replacement for machine code on both platforms. iOS of course uses machine code for everything, but on Android it's mostly whittled down to the minimum: things that Java can't do efficiently, or code that isn't Java. That's the role I hope WebAssembly can fill, but it still remains to be seen how usable their solutions for threads, SIMD, etc. are.

A good example is games. Some do manage to use Java, but it's mostly a hindrance; being able to compile languages with a C style ontology to a platform-independent and efficient VM would be very helpful here.

Re:Browsers, not apps, are the future of mobile by chejazi on Thursday November 03, 2016 @03:09PM (#12866993)
> Wait until mobile OSes start building a native presentation layer built on WebAssembly.

Is there any active project you can link to regarding this?

Re:Browsers, not apps, are the future of mobile by adamnemecek on Thursday November 03, 2016 @04:54PM (#12867854)
WebAssembly is too new for this to be a thing yet.
Re:Browsers, not apps, are the future of mobile by paxcoder on Thursday November 03, 2016 @04:34PM (#12867685)
>native presentation layer built on WebAssembly

Is your prediction that companies will start compiling their UI toolkits for browsers?

Re:Browsers, not apps, are the future of mobile by jasonm23 on Thursday November 03, 2016 @08:16PM (#12869367)
Not op but it seems like a logical step to at least attempt to do this, or something similar.
Re:Browsers, not apps, are the future of mobile by paxcoder on Saturday November 05, 2016 @12:39PM (#12880489)
For the operating system makers?
Re:Browsers, not apps, are the future of mobile by orbitur on Thursday November 03, 2016 @09:26PM (#12869668)
I don't understand why people love websites so much.

If a site is plaintext and has minimal JS, it's usually fine on a mobile device.

But the moment there are interactive elements or menus or web fonts or whatever else, things are visibly broken, or they become broken once you start scrolling. Even relatively inoffensive websites with simple menubars have stuttering scrolling animation.

Any decent native app doesn't animate that poorly. I'm an iOS user because design and UX are clearly valued by (non-shovelware) iOS developers. Having buttons jump around the screen or some weird JS stealing scrolling momentum would be unacceptable if it were in an app, but I visit at least one popular website a day where that's one of the problems.

Re:Browsers, not apps, are the future of mobile by maxwell on Friday November 04, 2016 @10:39AM (#12872876)
URLs.

View source.

Standards.

Cross-platform.

Re:Browsers, not apps, are the future of mobile by orbitur on Friday November 04, 2016 @04:16PM (#12875702)
Why is that more important than UX?
Re:Browsers, not apps, are the future of mobile by CamTin on Sunday November 06, 2016 @07:48AM (#12884854)
Those things ARE the user experience.
Re:Browsers, not apps, are the future of mobile by bennyg on Sunday November 06, 2016 @11:10AM (#12885684)
I disagree wholeheartedly.
Re:Browsers, not apps, are the future of mobile by bryanlarsen on Thursday November 03, 2016 @02:49PM (#12866794)
Packaged web apps are the worst of both worlds: the inconvenience of apps and the speed of web sites.

But the article isn't talking about packaged web apps, it's talking about browsers, and has an interesting redefinition of that term.

Re:Browsers, not apps, are the future of mobile by jchendy on Thursday November 03, 2016 @03:26PM (#12867146)
What is the inconvenience of apps?
Re:Browsers, not apps, are the future of mobile by molf on Thursday November 03, 2016 @03:30PM (#12867178)
Besides having to wait for the installation, one important recurring inconvenience for me (on iOS) is the lack of autofill. Especially autofilled user names and passwords.
Re:Browsers, not apps, are the future of mobile by johncolanduoni on Thursday November 03, 2016 @04:51PM (#12867828)
I really wish Apple would add a password-manager extension point to iOS. Since they're trying to push iCloud Keychain I'm not optimistic about this happening, but it would be a really nice way to make password managers more attractive.
Re:Browsers, not apps, are the future of mobile by strange_quark on Thursday November 03, 2016 @05:28PM (#12868133)
Maybe it's just specific apps integrating with 1Password, but Mint, among other apps, already can do this (and it brings up what appears to be an iOS share sheet). But this feature has largely become irrelevant to me thanks to almost every app I use that requires sign-in supporting Touch ID.
Re:Browsers, not apps, are the future of mobile by djrogers on Thursday November 03, 2016 @05:53PM (#12868352)
> I really wish Apple would add a password-manager extension point to iOS.

They kinda have in 2 ways - as of iOS 9 or 10 your app can utilize login credentials from your web domain name if certain requirements are met, and there's touchID for instant login after the first authentication.

Re:Browsers, not apps, are the future of mobile by rahoulb on Thursday November 03, 2016 @06:19PM (#12868531)
I use Lastpass and a lot of apps offer a weird icon next to the password box that opens a share sheet with LastPass as an option.
Re:Browsers, not apps, are the future of mobile by bryanlarsen on Thursday November 03, 2016 @03:50PM (#12867329)
If you see an interesting link on the web, you generally feel safe clicking on it, and often click on it. Sometimes you get rick-rolled or whatever, but you just hit back.

If you see an ad or pop-up article about an app, what are the chances you install it, even if it looks interesting?

Re:Browsers, not apps, are the future of mobile by millstone on Thursday November 03, 2016 @05:01PM (#12867918)
I feel very safe installing apps on my iOS devices. The sandboxing and app store review process gives me confidence that it's not going to be malware.

I click on links more than I install apps because loading web pages is a lot faster than installing apps. The flip side is that I hardly ever return to those "interesting links," while I use my installed apps frequently.

Re:Browsers, not apps, are the future of mobile by pswilson14 on Thursday November 03, 2016 @07:34PM (#12869096)
Most people only use 4-6 apps a day, or less. Users are spending more and more time in fewer apps. I reckon a good bit of that is the friction of installing new apps.
Re:Browsers, not apps, are the future of mobile by frankzinger on Saturday November 05, 2016 @12:36AM (#12878198)
> The sandboxing and app store review process gives me confidence that it's not going to be malware.

I would re-evaluate that stance if I were you: http://www.wired.co.uk/article/xcode-apple-app-store-hack. Hundreds of apps injected with malware by a compromised version of Xcode made it through the App Store review process.

Re:Browsers, not apps, are the future of mobile by nsomaru on Thursday November 03, 2016 @03:30PM (#12867174)
Needing to install, open and update an application to use a service as opposed to the 'convenience' of just entering a URL in a browser.
Re:Browsers, not apps, are the future of mobile by rimantas on Thursday November 03, 2016 @03:40PM (#12867254)
Web page does not need opening? Interesting… Updates happen automatically now.
Re:Browsers, not apps, are the future of mobile by maelito on Thursday November 03, 2016 @03:50PM (#12867336)
After installing it, you need to open it (ok, it's easy). Updates frequently require approval of new permissions (android).
Re:Browsers, not apps, are the future of mobile by mdadm on Friday November 04, 2016 @12:38AM (#12870421)
But the alternative seems to be browser exposing APIs for all those permissions through Javascript and the end-user not really having any control over that. Perhaps I'm just naive about it, since I really don't do Javascript-based development, but this seems to be a worse idea than apps.
Re:Browsers, not apps, are the future of mobile by technomancy on Thursday November 03, 2016 @09:56PM (#12869786)
Web pages don't require uninstalling when you decide they're not worth it.
Re:Browsers, not apps, are the future of mobile by maelito on Thursday November 03, 2016 @03:48PM (#12867322)
On lots of old android devices: having to remove apps to make room for a new one
Re:Browsers, not apps, are the future of mobile by michaelmrose on Thursday November 03, 2016 @04:08PM (#12867480)
Even when you have tons of spaces on a huge sdcard even. This is incredibly frustrating as some devices were shipped with very very little space and too much of that taken up by the stuff that shipped with the phone that for whatever reason cannot be moved to your relatively large sdcard.

I think merged storage is either here in the latest version of android or coming which will hopefully let us stop worrying about storage again but many devices will sadly never see the update.

Re:Browsers, not apps, are the future of mobile by Touche on Thursday November 03, 2016 @03:30PM (#12867177)
Having to install them, remember what screen and folder it's in, etc.
Re:Browsers, not apps, are the future of mobile by redial on Thursday November 03, 2016 @06:15PM (#12868507)
> remember what screen and folder it's in

How is this fixed by a web app you have to remember the address for, or at best, remember where on your favorites you saved it?

Re:Browsers, not apps, are the future of mobile by rimantas on Thursday November 03, 2016 @03:41PM (#12867267)
How much work is installing the app? Single tap? The same of less than opening a web page? No need to remember screen and folder, just use global search on your phone.
Re:Browsers, not apps, are the future of mobile by IanCal on Thursday November 03, 2016 @06:56PM (#12868829)
Assuming I'm linked right to the exact app to install.

Click install. Review and approve permissions. Wait for some ungodly amount of megabytes to download. Wait for installation. Then open. Then approve some new permissions. Splash screen. Woo, content! But I'm not "deep linked" to the place I need to be.

Or, for a website: I'm just there.

Re:Browsers, not apps, are the future of mobile by uryga on Thursday November 03, 2016 @04:08PM (#12867478)
Well, it's not a lot of work. But it feels like way more work. It's visible even in the way we talk about it - "viewing a website" vs "getting an app". Looking at something is effortless, getting it implies effort. Often, too much of it, if I just want to check some stuff out quickly.

Also, I feel like after installing an app, it takes more time to get to the actual content, because every app has a few screens of "Welcome to Foo! Here's how you do stuff in here." Websites are pretty instant compared to that.

Re:Browsers, not apps, are the future of mobile by rimantas on Thursday November 03, 2016 @06:51PM (#12868793)
Whoa. If you want content quickly many apps will offer it in widgets. Many will show you notifications with ability to interact with them without even opening the app. There is nothing instant about websites.
Re:Browsers, not apps, are the future of mobile by michaelmrose on Friday November 04, 2016 @12:20AM (#12870362)
I believe the contrast was between the following.

Open browser, create new tab or focus url, enter url

Open app store, search for app name, click on the one that seems correct, read reviews, click install, wait for installation to finish, open new app.

This of course is only valid for the trying a new application or website which hypothetically is 0.001% of your usage of an app.

Re:Browsers, not apps, are the future of mobile by uryga on Friday November 04, 2016 @05:28AM (#12871279)
My point was: There's no problem with casually checking out a website. But I'm probably not gonna install an app unless I'm pretty sure it offers me some value. Not rational? Possibly :)
Re:Browsers, not apps, are the future of mobile by Touche on Thursday November 03, 2016 @03:57PM (#12867392)
Similar, but web pages are usable before fully "installed". Data has repeated shown that users quickly abandon websites that don't load extremely fast. Apps are like that, but even slower.

It's simple, when you want to do X, you want to do X, you don't want to do a lot of setup work before you start doing X.

Re:Browsers, not apps, are the future of mobile by rimantas on Thursday November 03, 2016 @06:49PM (#12868782)
In what world native apps are slower than web apps? And where do you find "extremely fast" websites, with all this JS frameworks crap and gazillion of trackers being pushed to your poor browser?
Re:Browsers, not apps, are the future of mobile by Touche on Thursday November 03, 2016 @08:24PM (#12869402)
In ever world since you have to install them and you don't have to install web apps.
Re:Browsers, not apps, are the future of mobile by imtringued on Friday November 04, 2016 @06:17AM (#12871472)
Where do you find those extremely small native apps that are smaller than a website?
Re:Browsers, not apps, are the future of mobile by Touche on Thursday November 03, 2016 @03:25PM (#12867135)
It doesn't matter; worse is better. 1999 Yahoo Mail was not a good user experience, but it (and other web-based mail services) destroyed the likes of Eudora.

Ubiquity >>>>> UX.

Re:Browsers, not apps, are the future of mobile by digi_owl on Thursday November 03, 2016 @03:30PM (#12867179)
Well its that, and that the users didn't need to configure a single thing when using the web thingy.

Problem is, imo, that so much of the web assumes a mouse and keyboard. I keep running into "mobile" sites that are so crammed with links and other tap targets that i have no chance to hit the right one on first try with consistency.

Re:Browsers, not apps, are the future of mobile by Theodores on Thursday November 03, 2016 @04:25PM (#12867616)
...so HN is your first point of call, where the tap targets are so easy on the web first interface...

Content is King

Re:Browsers, not apps, are the future of mobile by Analemma_ on Thursday November 03, 2016 @07:23PM (#12869018)
Not for me: HN is awful on a mobile browser, so I use an app (MiniHack). It's so much better than the mobile site that it has become my go-to counterargument whenever someone insists that the mobile web is going to displace apps any day now.
Re:Browsers, not apps, are the future of mobile by b2600 on Thursday November 03, 2016 @11:03PM (#12870050)
It used to be awful. Basically you would get the desktop site without resizing, small text, have to zoom etc. It's not like that now. Haven't seen an app that's any good and you don't need one. Site works well in mobile now.
Re:Browsers, not apps, are the future of mobile by technomancy on Thursday November 03, 2016 @09:58PM (#12869794)
HN is an outlier because there's no business model or team of OSS maintainers with motivation to improve it. I can't think of any other sites I visit in the same position.
Re:Browsers, not apps, are the future of mobile by Analemma_ on Thursday November 03, 2016 @11:12PM (#12870077)
It's not the only example though, just the one with the widest disparity. Reddit and Tumblr are also both considerably worse experiences on their mobile sites than their apps, assuming you know enough to get the good apps.

I just keep hearing posts about how the mobile web is so clearly superior to apps and it never tallies with the reality on the ground for me.

Re:Browsers, not apps, are the future of mobile by girvo on Thursday November 03, 2016 @08:35PM (#12869437)
Though, being fair, MiniHack is literally one of the best and most focused apps on my phone! Such an amazing product, was well worth the couple dollars.
Re:Browsers, not apps, are the future of mobile by sharpercoder on Thursday November 03, 2016 @04:23PM (#12867596)
I'd say that ubiquity is a factor of UX.
Re:Browsers, not apps, are the future of mobile by pjmlp on Thursday November 03, 2016 @05:01PM (#12867917)
Not for everyone.

I still use Thunderbird.

Re:Browsers, not apps, are the future of mobile by huntermonk on Thursday November 03, 2016 @07:01PM (#12868853)
I agree.

Mobile is already maturing. By the time web technology is good enough to create a native-feeling experience, we will be on to the next runtime.

(Disclaimer: I do iOS consulting, so hugely biased)

Re:Browsers, not apps, are the future of mobile by GrumpyNl on Thursday November 03, 2016 @05:27PM (#12868124)
You are one of the exceptions, most of us are happy with it.