Tracking issue for deferred evaluation integration

Abierto
#101 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
javascript, wasm

Línea de trabajo

Start by reading the deferred evaluation specification and WebAssembly/esm-integration issue 119, then compare them with the ESM integration described here. The work is done when the import-phase and JavaScript module namespace design questions are resolved and the integration conforms to the late execution semantics.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

When we rebase to the spec for deferred evaluation, the ESM integration should be updated to conform to the late execution semantics.

There are two aspects to the integration here:

  1. WebAssembly itself can be imported as a deferred namespace (import defer * as ns from './mod.wasm'). This was already designed for previously when we switched to synchronous instantiation, so gets supported naturally.
  2. When WebAssembly imports from JavaScript or other WebAssembly that supports deferred evaluation, whether WebAssembly itself would want to be able to defer evaluation.

While (1) we get "for free", (2) would require some design work.

In particular, WebAssembly would need a way to (a) define an import phase, and (b) obtain a JS module namespace object import. A proposal for this is outlined in https://github.com/WebAssembly/esm-integration/issues/119.

Lenguaje dominante
WebAssembly
Estrellas
458
Forks
40
Merge medio
10 d 37 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de WebAssembly/esm-integration

Todos los issues de WebAssembly/esm-integration

Issues similares

Más issues de Compilers

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.