Using WebAssembly and Threads
summary
WebAssembly threads ship in Chrome 70 behind an origin trial and pair with streaming compilation and the Liftoff compiler to start code fast then optimize later; Unity goes from 7s to under 1s startup in a benchmark. Real apps show concrete wins: Google Earth doubles frame rate and halves jank with threads, Soundation uses five threads to more than triple mixing throughput, and Emscripten flags like -s USE_PTHREADS=1 and PTHREAD_POOL_SIZE=2 plus SharedArrayBuffer are used to build and debug threaded modules.
AI-written summary · about








