chenhuanle / html5rocks

Automatically exported from code.google.com/p/html5rocks
0 stars 0 forks source link

TypedArray Tutorials #612

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
because they're everywhere

Original issue reported on code.google.com by ericbide...@html5rocks.com on 14 Sep 2011 at 7:46

GoogleCodeExporter commented 8 years ago

Original comment by ericbide...@html5rocks.com on 11 Oct 2011 at 6:00

GoogleCodeExporter commented 8 years ago

Original comment by ericbide...@html5rocks.com on 13 Oct 2011 at 8:15

GoogleCodeExporter commented 8 years ago
On it, planning with Ken Russell:

The article structure off the top of my head:
- What are Typed Arrays (Slab of memory with a typed view into it.)
- Why would you want to use Typed Arrays (You can pass data directly to WebGL / 
WebAudio / network without data conversions. Also, when you know the type of 
data, you can generate efficient code to work on it. And flat dense data is 
fast to access due to how memory subsystem works.)
- How to use Typed Arrays (API overview, WebGL, WebAudio, XHR, Workers)
- Design considerations in the Typed Arrays spec (performance, close to 
hardware, no automagic conversions)
- How to deal with endianness (swizzle it yourself with Uint8Array?)
- Links to libraries & spec & demos

Original comment by ilm...@google.com on 30 Mar 2012 at 10:53

GoogleCodeExporter commented 8 years ago
http://www.html5rocks.com/en/tutorials/webgl/typed_arrays/

Original comment by ericbide...@html5rocks.com on 23 Jul 2012 at 11:59