Skip to content

Overlay vs. new section ID #3

@bvisness

Description

@bvisness

@rossberg left a comment on #2 expressing disapproval of the 0x01 0xFF invalid-name tactic currently proposed in the overview:

Uh, I don't think this overlay is a good idea. 0x01 0xFF is a perfectly fine byte vector, it just isn't valid UTF-8. Some systems may not do UTF-8 validation (which would break by this), and even for the standard, we may want to keep it optional as a future option. So I don't think we should go down that particular road.

Instead, I would suggest a new section ID for compact import sections.

Our rationale for the current design can be found at the end of the overview. In short, adding a new section ID seems superfluous and raises questions of how import order would be mapped between the binary format and text format.

I am curious for thoughts on the matter. I dislike the idea of adding a new section ID, but it could be the better choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions