Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM dependency analysis #150

Open
lucacasonato opened this issue Apr 27, 2022 · 1 comment
Open

WASM dependency analysis #150

lucacasonato opened this issue Apr 27, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@lucacasonato
Copy link
Member

To unblock denoland/deno#2552, deno_graph needs to be able to represent WASM modules in a module graph. To do this, we need to parse out the import sections in a module, because with the ESM-WASM integration, these can reference other JS / WASM modules (and thus they need to be part of the module graph).

To do the analysis of the WASM modules we can probably use wasmparser. It is a streaming parser, so we don't waste compute cycles and memory getting an entire WASM AST just to extract the imports.

@lucacasonato lucacasonato added the enhancement New feature or request label Apr 27, 2022
@kitsonk kitsonk self-assigned this Apr 28, 2022
@lino-levan
Copy link
Contributor

With #357 landing, what's the status of this?

@kitsonk kitsonk removed their assignment Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants