Stream: git-wasmtime

Topic: wasmtime / Issue #2879 Implement the `allow-unknown-expor...


view this post on Zulip Wasmtime GitHub notifications bot (May 06 2021 at 22:00):

github-actions[bot] commented on Issue #2879:

Subscribe to Label Action

cc @peterhuene

<details>
This issue or pull request has been labeled: "wasmtime:api"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2021 at 10:44):

vshymanskyy commented on Issue #2879:

Wondering, maybe this should be the default behavior?

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2021 at 11:01):

tschneidereit commented on Issue #2879:

Wondering, maybe this should be the default behavior?

As @sunfishcode explained in the linked issue, we don't want this to be the default because it means that these functions pose a risk of becoming de-facto standardized. If modules start being used widely that export functions under names that future standards might want to use, then we'd risk behavior changing in weird and unexpected ways, so we'd likely be forced to choose different names.

This isn't a theoretical concern either: it's the reason why {String, Array}.prototype.includes} isn't called contains, to give just one example.


Last updated: Oct 23 2024 at 20:03 UTC