Live data from Hacker News

Unreal Engine in JavaScript/HTML5 – Citadel demo

unrealengine.com

91–100 of 159 posts

Re: Unreal Engine in JavaScript/HTML5 – Citadel demo

#92

What's the point of having these massive javascript virtual machines & webgl systems in our browsers? How does having a separate implementation of a specification help us build a safer, more open web? My theory is that Mozilla and Google are in a race to develop the most advanced html5 engines because they know that if a killer html game or app gets developed in their browser, everyone who wants to use the app will s…

> What's the point of having these massive javascript virtual machines & webgl systems in our browsers?

Because the safety model of JavaScript has been sound for the past few years.

> How does having a separate implementation of a specification help us build a safer, more open web?

What seperate implementation of what specification? If you're referring to asm.js, asm.js is just JavaScript, any browser can run it. The "specification" is a gift to other engine implementers to super charge evaluation of compliant code.

> Is this supporting an open web?

http://asmjs.org/spec/latest/ http://code.google.com/p/v8/issues/detail?id=2599

Re: Unreal Engine in JavaScript/HTML5 – Citadel demo

#95

This is actually very old demo ported to the browser. The original Epic Citadel was/is an iOS demo released in September 2010. It runs well on an original iPad: http://en.wikipedia.org/wiki/Epic_Citadel Comparatively, this runs a little sluggishly on a MacBookPro8,2 (early 2011).

"very old"

Re: Unreal Engine in JavaScript/HTML5 – Citadel demo

#96
post #58
post #49

I take issue with calling this JavaScript/HTML5. This is powered by asm.js. The source is emphatically NOT JavaScript, it's a subset that's meant to be a target for compilation (like a bytecode in .NET and the JVM) and is treated entirely differently from JavaScript by the JIT. We don't call everything that runs on .NET C# nor everything that runs on the JVM Java. Additionally, asm.js is not part of HTML5. It's inter…

> I take issue with calling this JavaScript/HTML5. This is powered by asm.js. It is faster with asm.js optimizations, but as other comments mention, it also runs well (depending on CPU/GPU) even without such optimizations, in browsers that have no special asm.js optimizations whatsoever. All the demo needs to work is WebGL and JavaScript. > The source is emphatically NOT JavaScript, it's a subset that's meant to be a…

"It is faster with asm.js optimizations, but as other comments mention, it also runs well (depending on CPU/GPU) even without such optimizations, in browsers that have no special asm.js optimizations whatsoever."

Actually, that's not true at all. That's the plan for asm.js, but this demo doesn't run in anything other than very new Firefox builds, AFAICT. It crashes chrome, IE doesn't support WebGL (yet).

Re: Unreal Engine in JavaScript/HTML5 – Citadel demo

#98
post #58

Earlier quoted context omitted.

> I take issue with calling this JavaScript/HTML5. This is powered by asm.js. It is faster with asm.js optimizations, but as other comments mention, it also runs well (depending on CPU/GPU) even without such optimizations, in browsers that have no special asm.js optimizations whatsoever. All the demo needs to work is WebGL and JavaScript. > The source is emphatically NOT JavaScript, it's a subset that's meant to be a…

"It is faster with asm.js optimizations, but as other comments mention, it also runs well (depending on CPU/GPU) even without such optimizations, in browsers that have no special asm.js optimizations whatsoever." Actually, that's not true at all. That's the plan for asm.js, but this demo doesn't run in anything other than very new Firefox builds, AFAICT. It crashes chrome, IE doesn't support WebGL (yet).

> this demo doesn't run in anything other than FF23, AFAICT

It works for example in Firefox 20, the current stable release, which has no special asm.js optimizations.

Re: Unreal Engine in JavaScript/HTML5 – Citadel demo

#100

This is actually very old demo ported to the browser. The original Epic Citadel was/is an iOS demo released in September 2010. It runs well on an original iPad: http://en.wikipedia.org/wiki/Epic_Citadel Comparatively, this runs a little sluggishly on a MacBookPro8,2 (early 2011).

"very old"

Heh, sure. But it was a demo for the original iPad, which is easily a quarter of the performance of current iOS devices.
Post reply on HN