From 7d87b4fd3478179d8470d4ec8a5be82d512116d6 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Thu, 4 Mar 2021 12:25:01 +0800 Subject: [PATCH 1/2] FAQ: Change asm2wasm to past tense binaryen has removed asm2wasm in version 97 (binaryen#3042), since Emscripten stopped using it. Use a fixed-version link to minimize confusion, and change to past tense for good measure. --- FAQ.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FAQ.md b/FAQ.md index ccdf8775..7a875ffc 100644 --- a/FAQ.md +++ b/FAQ.md @@ -70,8 +70,8 @@ polyfill. It is also the case that polyfilling WebAssembly to asm.js is less urgent because of the existence of alternatives, for example, a reverse polyfill - compiling -[asm.js to WebAssembly](https://github.com/WebAssembly/binaryen/blob/master/src/asm2wasm.h) - -exists, and it allows shipping a single build that can run as either +[asm.js to WebAssembly](https://github.com/WebAssembly/binaryen/blob/version_96/src/asm2wasm.h) - +existed, and it allows shipping a single build that can run as either asm.js or WebAssembly. It is also possible to build a project into two parallel asm.js and WebAssembly builds by just [flipping a switch](https://github.com/kripken/emscripten/wiki/WebAssembly) From 605eabc3aa8ee0af0dd3c967a1595ae9a05954f0 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Mon, 23 Mar 2026 21:58:44 +0800 Subject: [PATCH 2/2] replace renamed/retargeted wasm2asm.h link with wasm2js.h it's a 404 rn --- FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 7a875ffc..344721ae 100644 --- a/FAQ.md +++ b/FAQ.md @@ -60,7 +60,7 @@ We think so. There was an early that decoding a binary WebAssembly-like format into asm.js can be efficient. And as the WebAssembly design has changed there have been [more](https://github.com/WebAssembly/polyfill-prototype-2) -[experiments](https://github.com/WebAssembly/binaryen/blob/master/src/wasm2asm.h) +[experiments](https://github.com/WebAssembly/binaryen/blob/master/src/wasm2js.h) with polyfilling. Overall, optimism has been increasing for quick adoption of WebAssembly in