11/3/2014 8:47:18 AM
New SIMD.js API Being Developed by Intel, Google, and Mozilla for JavaScript
ARM Platforms,SIMD,API,JavaScript,Asm.js,MIPS
https://appdevelopermagazine.com/images/news_images/SIMDJS-App-Developer-Magazine_wtlztmw3.jpg
App Developer Magazine

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



Richard Harris Richard Harris in Programming Monday, November 3, 2014
1,599

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.

Read more: https://hacks.mozilla.org/2014/10/introducing-simd...

A new way to manage your development projects

Learn the best ways to organize your app development projects, and keep code straight, clients happy, and breathe a easier through launches.
 

The Latest Nerd Ranch Guide (3rd Edition) to Android Programming

Write and run code every step of the way, using Android Studio to create apps that integrate with other apps, download and display pictures from the web, play sounds, and more. Each chapter and app has been designed and tested to provide the knowledge and experience you need to get started in Android development.

Starting your own app business?

How to create a profitable, sustainable business developing and marketing mobile apps.



Comments

There are no comments yet, be the first to leave your remarks.

Leave a Reply