Live data from Hacker News

There's a WebGL talk at WWDC 2014

blog.playcanvas.com

41–50 of 54 posts

Re: There's a WebGL talk at WWDC 2014

#41
post #33

Earlier quoted context omitted.

Electrolysis is NOT sandboxing, full stop.

To cite the wiki: "sandboxing the content processes is a separate project from Electrolysis". So Electrolysis lays the foundation for sandboxing.

It's true. It wont provide anything on its own so I'm trying to be blunt to kill this misconception that keeps spreading.

Re: There's a WebGL talk at WWDC 2014

#42
post #36

Earlier quoted context omitted.

We were talking about this yesterday. I asked how many of the previous issues we classified a security problem would of been mitigated by a sandbox and the conclusion would be that it would not even cover the majority. Most of the security issues we encounter are with bugs in the driver. A common bug for example with the Intel mac driver is when sending allocating a valid large texture the texture will sometimes inst…

I thought webgl didn't have glreadpixels?

It's there: https://www.khronos.org/registry/webgl/specs/latest/1.0/webg...

Re: There's a WebGL talk at WWDC 2014

#43
I hope this allows Javascript games to completely displace Flash -- without becoming as big an attack surface as Flash and Java became.

Right now implementing an HTML5 or JavaScript multiplayer game is still a considerable exercise in navigating browser differences.

Re: There's a WebGL talk at WWDC 2014

#44
I found in current version of Safari, the rendering of webGL still have some issues on Retina display, It also cost too much energy.

So I will be satisfied even if Apple can only solve the most of these problems on desktop platform and make it on by default.

Re: There's a WebGL talk at WWDC 2014

#45
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)

I wonder if Firefox will remain the only browser out there without a process sandbox. It's still the most vulnerable browser because of that: http://www.extremetech.com/computing/178587-firefox-is-still...

I know Servo is currently a research project, but maybe Mozilla's plan is to get a process sandbox from it?

"... The [Servo] engine processes will use the operating system sandboxing facilities to restrict access to system resources."

https://github.com/mozilla/servo/wiki/Design

Re: There's a WebGL talk at WWDC 2014

#46
post #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.

Thank you. We changed it.

The HN guidelines call for changing titles when they're linkbait or misleading.

Re: There's a WebGL talk at WWDC 2014

#47
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)

iAds have always run in another process (named AdSheet). So extending this approach to all UIWebViews is quite plausible.

Re: There's a WebGL talk at WWDC 2014

#48
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.

asm.js and WebGL give a hope that one day we will be able to forget most of HTML, CSS and JS like a horror dream they are. At the very least there should be a real choice of in-browser GUI technology and language (no crappy transpilation apart from asm.js please).

Re: There's a WebGL talk at WWDC 2014

#49
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.

I think webgl + web components could lead us to much richer interfaces in the future.

Re: There's a WebGL talk at WWDC 2014

#50
post #20
post #15

I hope their screening will remain strict. I foresee a whole wave of... "quality titles" scripted in JS.

What screening? WebGL is used on... the web. That's the beauty of it.

I think CmonDev refers to apps made with PhoneGap, Cordova etc., and I agree that using this type of solutions for 3D games might not be the best choice in order to offer a good user experience.
Post reply on HN