[JS] Implement C Data Interface

未关闭
#88 7 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
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 分钟
30 天内合并 PR
5

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/arrow-js 的其他 Issue

查看 apache/arrow-js 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。