Significantly faster HTML5

Discussion and feedback on Construct 2

Post » Mon Jun 16, 2014 6:33 pm

Here is something quite interesting. I wonder if you, @Ashley , already know about it? The interesting thing is that it does not improve on the gpu side but on the cpu side (which was about time!). 4x and more faster execution of HTML5 apps could also mean 4x and more faster C2 :)

https://software.intel.com/sites/billboard/article/simd-javascript-faster-html5-apps

(I'm not as frequently active anymore, so if this has already been discussed before, I beg your pardon)
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279

Post » Mon Jun 16, 2014 7:43 pm

There was a discussion of SIMD in general a month or two ago. At the time ashley commented that it wouldn't really have many advantages for construct...though there wasn't a library available at the time, so maybe that was in the context of the effort required exceeding the potential benefits. :ugeek:

I really don't understand enough about this to comment more. :roll:

@Ashley: would this library be at all useful?
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Mon Jun 16, 2014 10:51 pm

No, I don't think there's anywhere in the C2 engine where SIMD would be useful or make a realistic performance difference. It can provide a big gain when working with large amounts of numerical data, like when encoding/decoding audio and video, doing software rendering (but we have GPU rendering). The article actually suggests gaming as a use case, but most games aren't really that data parallel, so I don't really understand why they suggest that. Also if you use SIMD wrong, it can actually degrade performance.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143

Post » Tue Jun 17, 2014 12:53 am

@Ashley

http://www.cnet.com/news/google-dart-will-rescue-browsers-from-javascript/

"Dart's support for SIMD (single instruction, multiple data) processing allows for a big performance boost. Without SIMD, this animation simulation can show 34 monsters with acceptable performance, but with SIMD, it jumps to 124."

Although this is Google Dart, I assumed that they use dart2js to produce the result so it is basically Javascript. Right ?
B
84
S
24
G
14
Posts: 391
Reputation: 12,658

Post » Tue Jun 17, 2014 10:54 am

That's a 3D game, and the algorithms it uses are likely significantly different to anything our engine does.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest