Live data from Hacker News

There's a WebGL talk at WWDC 2014

blog.playcanvas.com

21–30 of 54 posts

Re: There's a WebGL talk at WWDC 2014

#21
The title is misleading. It should read, "There's a WebGL talk at WWDC 2014."

This blogger spotted a talk at WWDC 2014 on WebGL. He speculates this means there's a forthcoming release of Safari with WebGL enabled by default, thus predicting Apple is embracing WebGL.

But we don't actually know that.

Re: There's a WebGL talk at WWDC 2014

#22
post #5
post #2

Wild speculation: iOS 8 will bring an out-of-process, heavily sandboxed webview, which was the missing piece for enabling webgl for everyone. The greatly increased attack surface (with almost direct gpu access via shaders etc) was too risky to host in in-process web views - explains why webgl was only enabled for iAds (since those would be vetted by a review team)

Would be nice to get something similar for in-app JavaScript JIT'ing.

Arguably, such a solution would make Javascript JITing safe, too.

Re: There's a WebGL talk at WWDC 2014

#23
post #2

Wild speculation: iOS 8 will bring an out-of-process, heavily sandboxed webview, which was the missing piece for enabling webgl for everyone. The greatly increased attack surface (with almost direct gpu access via shaders etc) was too risky to host in in-process web views - explains why webgl was only enabled for iAds (since those would be vetted by a review team)

> The greatly increased attack surface (with almost direct gpu access via shaders etc) was too risky to host in in-process web views What really? Were they seriously even pretending to use that excuse? Everyone I've ever talked to was 100% certain it was simply because they didn't want anyone by-passing the app store for games and other immersive content they would then have no control over. I'm not denying that webg…

> Everyone I've ever talked to was 100% certain it was simply because they didn't want anyone by-passing the app store for games and other immersive content they would then have no control over.

This never made sense to me as an explanation, if only because for a very long time iOS had a far more sophisticated browser than Android; Android only really reached feature parity with Chrome for Android, and for years iOS was a much better platform for webapps. If they were so protective of the app store, they would hardly have put so much effort into best-in-class modern web support; offline web apps are in principle as much a threat to the app store as webgl stuff.

Re: There's a WebGL talk at WWDC 2014

#24

I also wonder when is Apple going to update Safari with WebRTC support. It's something many users could really benefit from.

WebRTC's still in draft and expected to change a fair bit; Apple rarely implements draft standards unless they're draft standards it made (Canvas etc)

Re: There's a WebGL talk at WWDC 2014

#25
post #2

Wild speculation: iOS 8 will bring an out-of-process, heavily sandboxed webview, which was the missing piece for enabling webgl for everyone. The greatly increased attack surface (with almost direct gpu access via shaders etc) was too risky to host in in-process web views - explains why webgl was only enabled for iAds (since those would be vetted by a review team)

> The greatly increased attack surface (with almost direct gpu access via shaders etc) was too risky to host in in-process web views What really? Were they seriously even pretending to use that excuse? Everyone I've ever talked to was 100% certain it was simply because they didn't want anyone by-passing the app store for games and other immersive content they would then have no control over. I'm not denying that webg…

[deleted]

Re: There's a WebGL talk at WWDC 2014

#26
post #18

I really hope WebGl+javascript kills CSS and html and all the other web stuff and we get back to desktop rich applications. And a URL can map to some state/object too. Google can then think about searching for things richer than just textual.

Not sure if you are trolling...

HTML and WebGL are mostly orthogonal. For example, you do not want to render text or form controls in WebGL.

We can improve HTML rendering with GPU-accelerated compositing, but that's mostly behind the scenes.

Re: There's a WebGL talk at WWDC 2014

#28
post #18

I really hope WebGl+javascript kills CSS and html and all the other web stuff and we get back to desktop rich applications. And a URL can map to some state/object too. Google can then think about searching for things richer than just textual.

Not sure if you are trolling... HTML and WebGL are mostly orthogonal. For example, you do not want to render text or form controls in WebGL. We can improve HTML rendering with GPU-accelerated compositing, but that's mostly behind the scenes.

"you do not want to render text or form controls in WebGL"

You don't. I don't. Our users don't. But trust me, there are plenty of ex-Flash devs out there positively ITCHING for a return to the days of un-navigable custom UI elements.

Re: There's a WebGL talk at WWDC 2014

#29
post #18

I really hope WebGl+javascript kills CSS and html and all the other web stuff and we get back to desktop rich applications. And a URL can map to some state/object too. Google can then think about searching for things richer than just textual.

Not sure if you are trolling... HTML and WebGL are mostly orthogonal. For example, you do not want to render text or form controls in WebGL. We can improve HTML rendering with GPU-accelerated compositing, but that's mostly behind the scenes.

Definitely not trolling. But I realize I am quite off topic. I am happy that Apple is starting to embrace it.

I am thinking of something like the LivelyKernel[0] or better.

[0] - http://en.wikipedia.org/wiki/Lively_Kernel

Re: There's a WebGL talk at WWDC 2014

#30

Earlier quoted context omitted.

> The greatly increased attack surface (with almost direct gpu access via shaders etc) was too risky to host in in-process web views What really? Were they seriously even pretending to use that excuse? Everyone I've ever talked to was 100% certain it was simply because they didn't want anyone by-passing the app store for games and other immersive content they would then have no control over. I'm not denying that webg…

> Everyone I've ever talked to was 100% certain it was simply because they didn't want anyone by-passing the app store for games and other immersive content they would then have no control over. This never made sense to me as an explanation, if only because for a very long time iOS had a far more sophisticated browser than Android; Android only really reached feature parity with Chrome for Android, and for years iOS…

While true, to be fair they've hardly put much effort into the browser since iOS 3 or 4. Still far behind on many important web standards. Still do releases like once a year. Haven't improve homescreen webapps at all (every time you click the icon it starts the app from-scratch, even if it was already open).
Post reply on HN