-
Notifications
You must be signed in to change notification settings - Fork 0
Description
@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 0xFFis 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.