Re:Ask HN: What tech were you convinced would take the world...
by kobeya on Friday November 17, 2017 @03:05AM
(#15720075)
I hate the browser as a platform, but the answers to your questions are yes, and yes.
Re:Ask HN: What tech were you convinced would take the world...
by chubot on Friday November 17, 2017 @11:44AM
(#15723539)
The web can't access all the sensors on your phone -- at least not in their full glory. It might have trivial APIs like "take a picture", but it can't do anything specific to a piece of hardware, by definition. It can't control the camera's imaging pipeline (lighting, focus, preprocessing, etc.).
As a shortcut to understanding this, consider what hardware support something like ARKit [1] needs. Or consider whether you could write a multitrack audio recorder as a web app (no, because the web audio APIs aren't multitrack).
My point is that you need "general purpose computing" that is not the web for many things. The web is indeed open, but we also need our general purpose computers to be open. Android is better than nothing, but it's arguably not as open as a PC running Linux.
https://developer.apple.com/documentation/arkit/about_augmen...
The answer to the second question is also no.
Re:Ask HN: What tech were you convinced would take the world...
by rimliu on Saturday November 18, 2017 @10:45AM
(#15729386)
Amusing, how people fear monoculture on one hand, but a longing to have everyting as the web app on the other.
For what is worth it is good web apps cannot access everything.
Re:Ask HN: What tech were you convinced would take the world...
by zerostar07 on Friday November 17, 2017 @05:47AM
(#15720885)
I think it can , but if your website needs to use these things, then it essentially locks itself in the "app garden" we 're talking about escaping from.
The web is a big success story, but it's not all there is in computing.