aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2015-10-29 10:20:14 -0700
committerJF Bastien <github@jfbastien.com>2015-10-29 10:20:14 -0700
commitf23a77f0820aec66dd6742b78f3003b5a53c5f07 (patch)
treee613c38ae1dd0a151c39eb0f7706237f1db0a140
parent6c494bc8bd0a95b5b7e6f54fc5919d2372e624cc (diff)
downloadnanowasm-design-f23a77f0820aec66dd6742b78f3003b5a53c5f07.tar.gz
Tooling: JS+wasm dead code stripping
As discussed in #230.
-rw-r--r--Tooling.md6
1 files changed, 6 insertions, 0 deletions
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