Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

No extra module section #17

Closed
fgmccabe opened this issue Oct 1, 2018 · 1 comment
Closed

No extra module section #17

fgmccabe opened this issue Oct 1, 2018 · 1 comment

Comments

@fgmccabe
Copy link
Contributor

fgmccabe commented Oct 1, 2018

This proposal suggests adding a 'host bindings' section to a warm module.

I do not support this idea. The basic reason is that we already have a mechanism for importing and host bindings are simply a particular kind of import.

More generally, this appears to violate the separation of concerns architectural principle.

Fundamentally, we do need a way of layering multiple semantics over the core machine level semantics of wasm. But that is a separate topic ...

@lukewagner
Copy link
Member

The current Proposal.md isn't clearly worded atm, so I understand how it's hard to tell what's being proposed. However, Host Bindings aren't an alternative to imports/exports. Coincidentally, I just wrote a comment explaining what, with reference types factored out, are the remaining problems that Host Bindings can help solve.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants