Write Javascript binding

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

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

評価

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

調査の方向性

このissueでは、ファイル、テスト、エントリーポイントが指定されていません。まず、提案されているWebAssemblyおよびNode.jsのnative-bindingアプローチを評価してください。これにはraft-rs bindingsとJavaScriptのネットワーク層およびストレージ層が含まれます。完了とするには、合意された実装方針と、動作するJavaScript bindingが必要です。

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

説明

epic idea need poc

While it is not a feature required for our use case, if someone is interested, they can explore implementing it.

Approach 1: Build WebAssembly

In my opinion, compiling to WebAssembly (WASM) is unrealistic. To support WASM compilation, we would need to add bindings for the raft-rs module, while implementing the network and storage layers in JavaScript. To achieve this, a refactoring of raftify to abstract the network and asynchronous runtime layers would be necessary beforehand.

Approach 2: Build Node.js native binding using neon or napi-rs

More exploration is needed, but this approach seems more realistic than the first one.

主要言語
Rust
スター
44
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

lablup/raftify のほかの issue

lablup/raftify の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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