Monday, November 3, 2014
SIMD stands for Single Instruction Multiple Data, and is the name for performing operations on multiple data elements together. For example, a SIMD add instruction can add multiple values, in parallel. SIMD is a popular technique for accelerating computations in graphics, audio, codecs, physics simulation, cryptography, and many other domains. In addition to delivering performance, SIMD also reduces power usage, as it uses fewer instructions to do the same amount of work.
Mozilla’s Dan Gohmanand (of the Mozilla Research team primarily working on asm.js, SIMD.js) and Robert Nyman (Technical Evangelist & Editor of Mozilla Hacks) have posted a nice overview of the new API.
As the duo explains, the focus is currently on supporting both x86 platforms with SSE and ARM platforms with NEON. The project supporters are also interested in the possibility of supporting other platforms, potentially including MIPS, Power, and others.
SIMD.js is originally derived from the Dart SIMD specification, and it is rapidly evolving to become a more general API, and to cover additional use cases such as those that require narrower integer types, including Int8x16 and Int16x8, and saturating operations. SIMD.js is a fairly low-level API, and it is expected that libraries will be written on top of it to expose higher-level functionality such as matrix operations, transcendental functions, and more.
To learn all the details and a complete overview of SIMD.js, visit the blog post on the Mozilla Hacks site.
Read more: https://hacks.mozilla.org/2014/10/introducing-simd...
A designer's guide to mobile AR and VR Thursday, August 16, 2018
Open Source security comes to GitHub Thursday, August 16, 2018
NodeSource pricing tier has changed Thursday, August 16, 2018
Developing apps for the cloud to fuel faster releases Wednesday, August 15, 2018
Smart ball game converts data from the ball into usable game events Wednesday, August 15, 2018
Stay UpdatedSign up for our newsletter for the headlines delivered to you