bytecodealliance / bytecodealliance/wasmtime

Add `component::Linker::instantiate_concurrent`

Open
#13,752 0 comments 0 reactions 0 assignees View on GitHub
wasm-proposal:component-model-async
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

Frist proposed in https://github.com/bytecodealliance/wasmtime/pull/13706, although the implementation there wasn't sound, but the idea is that the same way `Func::call_concurrent` can be used it should be possible to concurrently instantiate instances. This implementation is going to touch on https://github.com/bytecodealliance/wasmtime/issues/11870 and https://github.com/bytecodealliance/wasmtime/issues/11869, however. This may also touch on the spec as this is likely an area where we diverge by accident.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the proposed implementation in pull request 13706, then read issues 11870 and 11869 alongside the existing Func::call_concurrent behavior. Determine sound concurrent-instantiation semantics and whether the WebAssembly specification requires changes; done means an agreed design that resolves these compatibility and safety questions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.