Skip to content

docs: research wasmtime Gc architecture for boa_gc API redesign - #75

Merged
nekevss merged 1 commit into
boa-dev:mainfrom
shruti2522:wasmgc_research
Apr 21, 2026
Merged

docs: research wasmtime Gc architecture for boa_gc API redesign#75
nekevss merged 1 commit into
boa-dev:mainfrom
shruti2522:wasmgc_research

Conversation

@shruti2522

Copy link
Copy Markdown
Contributor

Researched wasmtime GC and documented all the takeaways for our API redesign

@shruti2522
shruti2522 marked this pull request as ready for review April 9, 2026 19:53

@nekevss nekevss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's go with it

pub enum GcStrategy {
Auto,
MarkSweep,
NullCollector,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: I think a null collector is highly interesting to have implemented

That especially with some degree of heap serialization / snapshot support could be incredibly useful for short running scripts

@nekevss
nekevss merged commit 2eeba6d into boa-dev:main Apr 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants