tc39 / tc39/proposal-immutable-arraybuffer
Review
オープン
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 38
- フォーク
- 7
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Informative
- I plan to bring this proposal up at the Wasm CG meeting next week to get Wasm's take. I think this is orthogonal and does not step on Wasm's toes. There is an interesting future design question for reflecting WasmGC Arrays of scalars as JS TypedArrays. I imagine those reflections will not have detachable buffers, but still warrants some discussion with the CG.
Normative
- DetachArrayBuffer needs to throw for immutable buffers.
#38 - Please have a reviewed PR against HTML for structured clone. I don't think there's much design space here, so I'm personally happy for this to be a stage 3 blocker instead of a stage 2.7 blocker. But should WHATWG give feedback that requires this proposal to change, we'd need to make normative changes during 2.7.
https://github.com/whatwg/html/pull/11033 - I'd love to implement this with
mprotect. However, that requires page alignment. We can't reveal the page size to user code, as that's a fingerprinting vector. Fixing a page size seems too unergonomic. Ideas? (Usingmprotectis a nice-to-have for V8, not a requirement.)
Editorial
- Prefer ValidateTypedArray's use argument be renamed accessMode. Ditto for the other Validate AOs.
#33 - Rename [AllocateArrayBuffer]'s maxByteLength parameter to something more descriptive since it can be IMMUTABLE. (I suppose you're minimizing the diff for now?)
#33
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず issue #30 のチェックリストを確認し、次に参照されている #38、#33、および WHATWG structured-clone pull request を読んでください。残っている規範的、編集上、および設計上の問題について明示的な決定または文書化されたフォローアップがあれば、issue は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- web-dev
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100