bytecodealliance / bytecodealliance/ComponentizeJS

Rooting array buffers

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
391
Forks
53
Avg merge
3d 5h
Merged PRs (30d)
1

Description

The current GC strategy is to just clear all allocations at the end of each call, but we need to allow the JS ArrayBuffers to hold on to the memory they expose. This likely involves integration into the JS GC to ensure it can become a managed pointer in the engine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the current GC strategy that clears all allocations at the end of each call, then inspect the JS GC and ArrayBuffer ownership path. Done means JS ArrayBuffers retain the memory they expose and the integration supports a managed pointer in the engine.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rust, wasm
Domain
compilers, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.