Hi All
Firstly and foremost, I must state categorically that SAPUI5 does not support parallel processing in JavaScript. I'm just posting this blog here to raise awareness of a new processing capability in JavaScript.
Ok, let's go off-topic now:
Like it or not, technology is marching on at a relentless pace. 10 years ago, JavaScript was little more than a toy scripting language and multi-core processors were exotic devices found only in research labs. Now however, JavaScript is the language of the Web and multi-core processors are a common place feature in all but the most basic computing devices.
Now that it is taken for granted that business applications should have a Web-based user interface, it makes sense to examine how JavaScript can make use of the power of multi-core processors.
This is exactly what Intel has done with their GitHub project called River Trail. This is a parallel compiler that will allow JavaScript coding to take full advantage of the multi-core processor on your computer.
I've written a demo using the River Trail functionality that plots the Mandelbrot set in both sequential and parallel calculation modes in order for you to see the performance improvements that are possible. The performance improvements you see will be roughly a factor of the number of CPU cores available on your computer. For instance, I have 8 cores on my MacBook Pro; therefore, I see approximately an 8-fold performance increase.
A word of caution though about parallel processing...
And about River Trail...
To avoid disappointment, please follow the setup instructions.
There is also a full discussion of the approach used to write parallel software, the coding used to implement this demo and of course, the demo itself.
Have fun, and I hope thinking in parallel doesn't hurt your brain too much...
Chris W
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
27 | |
27 | |
13 | |
13 | |
12 | |
12 | |
10 | |
7 | |
7 | |
6 |