Experience the Web in a whole new way
oh, and you have to render everything twice
from two different viewpoints
Ability to share depth information between WebGL and CSS
web-vr-discuss Mailing listMinimize load times
Binary and text representation
30% smaller than gzipped asm.js
Can be parsed 23x faster than large asm.js modules
Are we removing JS?
Interruptible? Concurrent
Independant? Parallel
Not mutually exclusive, could have both, either, neither
JavaScript's single threaded event loop is great for IO bound workloads. Highly concurrent, but we're not utilizing additional resources that we could be.
Workers can share read/write access to a TypedArray instead of postMessage
Shared memory can lead to
SharedArrayBuffer gives us synchronization primitives to help
From there, we can build:
Prefer task level parallelism (postMessage) to data level parallelism (SharedArrayBuffer)
Minimize CPU <-> GPU synchronization
Increased parallelism with no synchronization
Working on implementing SIMD optimizations to gl-matrix
Stay off the main thread
For the first time, you'll be able to modify what's shown to the user from another thread.
We'll begin to see more and more work being pushed off of the main thread