SOIL Seminar: Decomposing C++ Modules for Fast Load Times
From Ross Tate on October 12th, 2020
Title: Decomposing C++ Modules for Fast Load Times
Speaker: Thomas Lively—Google
Summary: Even with streaming baseline compilers, downloading and compiling large WebAssembly modules can significantly lengthen application startup time on the Web. One potential solution is to automatically split modules so that only the code needed at startup is initially downloaded, compiled, and run while the rest of the code is downloaded and compiled in the background. This talk will describe how module splitting could be implemented and how it might fit into Emscripten and other WebAssembly toolchains, as well as discuss open questions on how best to decompose modules.