From f23a77f0820aec66dd6742b78f3003b5a53c5f07 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Thu, 29 Oct 2015 10:20:14 -0700 Subject: Tooling: JS+wasm dead code stripping As discussed in #230. --- Tooling.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tooling.md b/Tooling.md index 4cdbc71..0680648 100644 --- a/Tooling.md +++ b/Tooling.md @@ -44,6 +44,12 @@ The tooling we expect to support includes: - Instrumentation-based. * Process dump: local variables, call stack, heap, global variables, list of threads. +* JavaScript+WebAssembly size optimization tool. Some developers have huge + applications which today cross-compile to JavaScript and call to hand-written + JavaScript code. With WebAssembly they would ship as WebAssembly+JavaScript + mixed applications: lots of WebAssembly, calling to JavaScript libraries which + communicate with the rest of the Web platform. Tooling is needed to perform + dead code stripping and global optimization across the API boundary. In many cases, the tooling will be pure WebAssembly without any tool-specific support from WebAssembly. This won't be possible for debugging, but should be -- cgit v1.2.3