Over the years, JavaScript engines have become amazingly faster. However, simply being able to process data faster doesn't necessarily equate to being able to do more powerful things. Take WebGL, for example. Just because the browser now has the ability to understand OpenGL ES, it doesn't necessarily mean that it has all the tools we developers need to take advantage of that.
The good news is that the JavaScript language has also made some progress in order to satisfy this, and other needs that have come about. One such addition to JavaScript in recent years is a new data type: typed arrays. In general, typed arrays offer a structure similar to the array type already in JavaScript. However, these new arrays are much more efficient, and were designed with binary data in mind.
Why and how are typed arrays more efficient than regular arrays, you ask? Well, let's look at a trivial example, where all we do is traverse an array of integers the old way. Although most JavaScript engines...