Skip to content

PatchedArray#27

Draft
a10y wants to merge 7 commits intodevelopfrom
aduffy/patches
Draft

PatchedArray#27
a10y wants to merge 7 commits intodevelopfrom
aduffy/patches

Conversation

@a10y
Copy link
Contributor

@a10y a10y commented Mar 6, 2026

Distilling some thoughts from the initial implementation work into RFC so we can all get on the same page before we go any further.

a10y added 7 commits March 4, 2026 09:26
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
@a10y a10y requested review from gatesn and joseph-isaacs March 6, 2026 16:03
Comment on lines +16 to +17
This relies on introducing a new encoding to represent exception patching, which would be a forward-compatibility break
as is always the case when adding a new default encoding.
Copy link
Contributor Author

@a10y a10y Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as is always the case when adding a new default encoding

This is not the purpose of this RFC, but just calling out this is going to continue to be annoying, I see a few alternatives here

  1. All new encodings need to be gated behind a Writer flag so they are not written unless you explicitly opt-in. Then after some number of releases they can be enabled by default.
  2. Come back around to the idea of distributing encodings as WASM binaries, seems unlikely to be picked up very widely
  3. NEVER allow new encodings within a single "edition". We'd need to formalize what an edition means, how frequently we drop one, and how we maintain and test encodings on develop between edition releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant