Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[wasm-opt] Global variables are not shared between threads, so using wasm-opt `--multi-memory-lowering` will cause memory corruption.

オープン
#7,916 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
wasm
領域
compilers

調査の方向性

まず wasm-opt --multi-memory-lowering の実装を追跡し、モジュールの最小メモリからの割り当てをどのように処理しているかを確認します。次に、タイトルにあるスレッド共有とメモリ破損に関する懸念を明確にし、そのうえで、最大メモリに基づく設定可能な割り当てと、互換性を維持するコマンドがどのように動作すべきかを定義します。

索引モデルが issue の本文から書いたものです。

説明

Please ignore this comment and read on.
Currently, --multi-memory-lowering seems to handle memory allocation in the Min memory.
However, in practice, it would be more natural if the allocation could adapt to the Max memory size specified for the module.

However, this may become excessively large, so it would be preferable if it could be configurable.
Since this would break compatibility, it would likely require introducing a new command.

主要言語
WebAssembly
スター
8.7k
フォーク
893
平均マージ
1日 11時間
マージ済み PR(30日)
74

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

WebAssembly/binaryen のほかの issue

WebAssembly/binaryen の issue をすべて見る

似ている issue

Compilers の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。