apache / apache/arrow-js

[JS][C Data Interface] Use wasm memory pool and expose C interface

Open
#82 6 comments 0 reactions 0 assignees View on GitHub
Type: usage
Dominant language
TypeScript
Stars
112
Forks
23
Avg merge
21h 18m
Merged PRs (30d)
8

Description

### Describe the usage question you have. Please include as many useful details as possible.

Hi, I'd like to use the Arrow Javascript API with the C Data interface and webassembly to do the following:

1. Fetch / create Tables and/or RecordBatch from JS, but using `wasm` memory (I didn't see a memory pool option in JS - is that on the roadmap?)
2. Call `wasm` functions that have the Arrow C Data interface in their signatures, in order to zero-copy access the Tables / RecordBatch from `wasm` C++.

Are there development plans that would enable this? If not, I'd like to test out the latency and memory usage of copying Arrow Tables / RecordBatch into `wasm` memory, and making them available to the same C Data interface functions.

@domoritz you seem to think about these sorts of interfaces / designs - have any pointers? Thanks!

### Component(s)

JavaScript

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.