Hot off the presses, WebAssembly now has a proposal for compile-time imports: WebAssembly/design#1479.
This is a very early stage proposal on the WebAssembly side, but it'd be good for the champions to be aware of. Namely, should imports be passable both during compile time (i.e. the action that produces a WebAssembly.Module), how might this proposal be extended to support that? In other words, there should be an "out" here so if compile-time imports become a thing, that ideally does not preclude usage of this proposal.
At the same time, because the WebAssembly proposal is so early stage, we definitely should not design the JS proposal speculatively.
Thoughts?
Hot off the presses, WebAssembly now has a proposal for compile-time imports: WebAssembly/design#1479.
This is a very early stage proposal on the WebAssembly side, but it'd be good for the champions to be aware of. Namely, should imports be passable both during compile time (i.e. the action that produces a
WebAssembly.Module), how might this proposal be extended to support that? In other words, there should be an "out" here so if compile-time imports become a thing, that ideally does not preclude usage of this proposal.At the same time, because the WebAssembly proposal is so early stage, we definitely should not design the JS proposal speculatively.
Thoughts?