4 ms·
This is one area where wasm may shine; you can distribute it pre-compiled, nobody using JS needs a rust toolchain installed. This is something the webpack team
by steveklabnik 8y ago
This is one area where wasm may shine; you can distribute it pre-compiled, nobody using JS needs a rust toolchain installed. This is something the webpack team has indicated interest in, for example.
Of course, wasm will need threading first for this project.
- jahewson 8y agoOoh I like it - yet another reason to get excited about wasm, thanks Steve!
- ori_b 8y agoHow do you verify that the distribution matches the source?
- steveklabnik 8y agoThe same way you would with anything else.
- ori_b 8y agoI do it by downloading it and building it myself, or trusting a large beaurocracy running the project to audit the source and produce signed packages, on behalf of the third party developers. Debian style. So, is npm getting a wasm build infrastructure to support this?
- steveklabnik 8y agoIt doesn't need any; you build it locally, and then put the wasm in the package when you publish.
- ori_b 8y agoThat makes auditing that the wasm matches the code pretty hard. (It's also a problem with adding minified JS). Auditing just the code is hard enough as is. :(