Platform/Games: Difference between revisions

Line 21: Line 21:
===Improve cold load time of large compiled codebases.===
===Improve cold load time of large compiled codebases.===
Developers want to see reduced download, compilation and startup time for multi-million line compiled codebases.
Developers want to see reduced download, compilation and startup time for multi-million line compiled codebases.
*WebAssembly will provide significant download size reductions (even before native support, through the polyfill) [1].
*WebAssembly will provide significant download size reductions (even before native support, through the polyfill) [https://github.com/WebAssembly/design/blob/master/FAQ.md#can-the-polyfill-really-be-efficient 1].
*Natively decoding WebAssembly will be significantly faster than parsing JavaScript/asm.js [1].
*Natively decoding WebAssembly will be significantly faster than parsing JavaScript/asm.js [https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md#why-a-binary-encoding-instead-of-a-text-only-representation 1].
*Add a fast WebAssembly/asm.js compiler that allows an app to start quickly while a fully-optimizing compilation proceeds in a background thread [1].
*Add a fast WebAssembly/asm.js compiler that allows an app to start quickly while a fully-optimizing compilation proceeds in a background thread [https://bugzilla.mozilla.org/show_bug.cgi?id=1169167 1].
*Off-main-thread, streaming parsing/compilation [1].
*Off-main-thread, streaming parsing/compilation [https://bugzilla.mozilla.org/show_bug.cgi?id=1154987 1].
*Developers want to avoid depending on HTTP Content-Encoding:gzip for generic compression.
*Developers want to avoid depending on HTTP Content-Encoding:gzip for generic compression.
**Add Emscripten support to perform decompression in asm.js / WebAssembly while downloading (allowing more aggressive algorithms than gzip).
**Add Emscripten support to perform decompression in asm.js / WebAssembly while downloading (allowing more aggressive algorithms than gzip).
===Improve browser storage capabilities.===
===Improve browser storage capabilities.===
*Developers seeking to avoid the permission prompt associated with persistent storage hit limitations of temporary storage as currently implemented in browsers.
*Developers seeking to avoid the permission prompt associated with persistent storage hit limitations of temporary storage as currently implemented in browsers.
canmove, Confirmed users, Bureaucrats and Sysops emeriti
5,401

edits