[JS][C Data Interface] Use wasm memory pool and expose C interface
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, typescript, wasm
Research direction
The issue concerns the Arrow JavaScript API, the C Data interface, WebAssembly memory, and C++ signatures, but names no files, tests, or entry points. Start by locating the JavaScript memory-pool and C Data interface bindings; the requested outcome is a feasibility/design determination or measurements of copying latency and memory usage.
Written by the indexing model from the issue text.
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:
- Fetch / create Tables and/or RecordBatch from JS, but using
wasmmemory (I didn't see a memory pool option in JS - is that on the roadmap?) - Call
wasmfunctions that have the Arrow C Data interface in their signatures, in order to zero-copy access the Tables / RecordBatch fromwasmC++.
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
- Dominant language
- TypeScript
- Stars
- 112
- Forks
- 23
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/arrow-js
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100