Tracking issue for deferred evaluation integration

Đang mở
#101 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, wasm
Lĩnh vực
compilers, web-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
WebAssembly
Star
458
Fork
40
Merge trung bình
10 ngày 37 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của WebAssembly/esm-integration

Tất cả issue của WebAssembly/esm-integration

Issue tương tự

Thêm issue về Compilers

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.