SYS-CON MEDIA Authors: Liz McMillan, Doug Masi, Mat Mathews, PR.com Newswire, David Smith

Blog Feed Post

Faster web processing with the new Javascript object SIMD

If you are a HTML5\CSS\Javascript programmer you should look this up.

Parallelism is at the heart of higher performance resulting in lower power requirements and SIMD is
at the fore front. SIMD stands for Single Instruction Multiple Data Instructions. These are called
SIMD instructions that make simlutaneous processing of mulitple data items possible. This is
particularly suited for computations involving image/audio/video; computer vision; preceptual
computing, etc. This kind of operation on multiple data items was not possible directly using
JavaScript till the emrgence of the new Javasript object SIMD.

A picture is worth a paragraph of my gibberish, but here it is for a vector length of 4:



Image Source: https://01.org/node/1495

Here is a quickie on the API:

Here is the speed up in Mozilla browser with processing using SIMD:



The source for the ecmascript for SIMD: ecmascript_simd.js here:

https://github.com/johnmccutchan/ecmascript_simd/blob/master/src/ecmascript_simd.js

 

Read the original blog entry...

More Stories By Jayaram Krishnaswamy

Jayaram Krishnaswamy is a technical writer, mostly writing articles that are related to the web and databases. He is the author of SQL Server Integration Services published by Packt Publishers in the UK. His book, 'Learn SQL Server Reporting Services 2008' was also published by Packt Publishers Inc, Birmingham. 3. "Microsoft SQL Azure Enterprise Application Development" (Dec 2010) was published by Packt Publishing Inc. 4. "Microsoft Visual Studio LightSwitch Business Application Development [Paperback] "(2011) was published by Packt Publishing Inc. 5. "Learning SQL Server Reporting Services 2012 [Paperback]" (June 2013) was Published by Packt Publishing Inc. Visit his blogs at: http://hodentek.blogspot.com http://hodentekHelp.blogspot.com http://hodnetekMSSS.blogspot.com http://hodnetekMobile.blogspot.com He writes articles on several topics to many sites.