[JS] Implement C Data Interface

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

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

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

評価

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

調査の方向性

まず、リンクされた arrow-js-ffi の実装と Arrow JS のコードを確認し、次に、テストで IPC テーブルから FFI メモリを生成するために使用されている小さな Rust モジュールを調査します。完了を判断できるようにするには、読み取り専用の C Data Interface サポートの範囲について合意し、テスト方針を確認する必要があります。

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

説明

Type: enhancement

I've recently been working on an implementation of the C Data Interface for Arrow JS, the idea being that Arrow JS can read memory from WebAssembly this way without a copy (blog post, repo). Dominik suggested starting a discussion about potentially adding this into Arrow JS.

My implementation is still WIP but figure it's not too early to start a discussion. A couple notes:

  • I'm focused only on reading FFI memory, so I only have parsing code. I figure writing doesn't really make sense in JS since Wasm can't access arbitrary JS memory

  • In order to generate FFI memory in the tests, I'm using a small Rust module to convert from an IPC table. If we didn't want to add a rust build step in the tests, that module could be published to NPM

    Thoughts?

Reporter: Kyle Barron

Note: This issue was originally created as ARROW-17608. Please see the migration documentation for further details.

主要言語
TypeScript
スター
114
フォーク
35
平均マージ
13時間 35分
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

apache/arrow-js のほかの issue

apache/arrow-js の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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