Is it possible to convert ruby to WebAssembly and run it in a react application?
まだ誰も着手していません。
- 主要言語
- Ruby
- スター
- 875
- フォーク
- 68
- 平均マージ
- 9日 5時間
- マージ済み PR(30日)
- 1
説明
In a current project, we have a situation where we want to centralize where some calculations are being done, so everything is being calculated on the backend.
The tradeoff is that whenever the front end needs the results of said calculations it needs to make a request and wait for the response. Given it's only a second or two at most, we figured if we could export the calculating function as web assembly, we could import it as a function for JS.
Is this a supported use case?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、WebAssembly のエクスポートと JavaScript 統合に関する ruby.wasm のドキュメントと例を確認します。React アプリケーションとクライアント側での実行が対象になっているかを確認し、その後、要求された計算のユースケースをドキュメントに記載された機能と比較します。サポートされている方法、または明確に範囲を定めた不足点が特定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, ruby, wasm
- 領域
- frontend, web-dev
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 15/100