Skip to content

Builtin naming alignment on js prefix #4

@guybedford

Description

@guybedford

I posted a summary of the builtin naming discussion on the ESM Integration at WebAssembly/esm-integration#118 (comment).

I think it would be good to ensure alignment with this wasm:js/... convention, and possibly even this proposal to align the previous proposals as well.

Currently we have the following builtin names defined by the string builtins proposal:

  • wasm:js-strings
  • wasm:text-encoder
  • wasm:text-decoder

Instead of defining into wasm:text-encoding, it could be beneficial to rather combine with the existing wasm:text-encoder and wasm:text-decoder names, then rather alias these existing builtin names.

That is, to provide wasm:js/text-encoder as an alias for wasm:text-encoder and wasm:js/text-decoder as an alias for wasm:text-decoder, and then extend the new builtin names on the new alias instead.

Whether we want to also alias wasm:js/strings to wasm:js-strings in this proposal or via another means should also be considered for full alignment with the new naming convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions