New SIMD.js API Being Developed by Intel, Google, and Mozilla for JavaScript

Posted on Monday, November 3, 2014 by RICHARD HARRIS, Executive Editor

SIMD.js is a new API being developed by Intel, Google, and Mozilla for JavaScript which introduces several new types and functions for doing SIMD computations.

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.

More App Developer News

Buildbox 4 AI turns game ideas into reality faster than ever



Odeeo hires Spotify executive James Cowan



ATT user opt in insights from AppsFlyer



Social engineering takeover attacks are on the rise



Epic Games defeats Google in court



Copyright © 2024 by Moonbeam Development

Address:
3003 East Chestnut Expy
STE# 575
Springfield, Mo 65802

Phone: 1-844-277-3386

Fax:417-429-2935

E-Mail: contact@appdevelopermagazine.com