bytecodealliance / bytecodealliance/wasmtime

Escape analysis for Wasm GC

Open
#9,349 10 comments 0 reactions 0 assignees View on GitHub
cranelift:goal:optimize-speed performance wasm-proposal:gc wasmtime:ref-types
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 19h
Merged PRs (30d)
121

Description

We could implement an escape analysis for Wasm GC types to figure out which allocations do not escape their stack frame. Then we can do unboxing/SROA, replacing a struct's fields or array elements with a set of local SSA values.

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.