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

Formal spec text tracking #35

Open
9 tasks done
eqrion opened this issue Aug 6, 2024 · 1 comment
Open
9 tasks done

Formal spec text tracking #35

eqrion opened this issue Aug 6, 2024 · 1 comment

Comments

@eqrion
Copy link
Collaborator

eqrion commented Aug 6, 2024

This is a tracking issue for updates to the formal text for phase 4.

  • Merge with upstream wasm3.0 branch to get GC
  • Add section defining the 'Builtins' concept
  • Add WebAssemblyCompileOptions to WebIDL and thread through compile/instantiation methods
  • WebAssembly.Module object gets a slot for an ordered list of builtin groups that are enabled
  • 'compile a module' algorithm does an eager import matching step against the builtin groups that are enabled
  • 'instantiate a module' algorithm instantiates builtins into hostfuncs and passes them as imports
  • WebAssembly.Module.imports() should hide imports that refer to a builtin group
  • Add definitions for 'wasm:js-string' function builtins
  • Add 'importedStringConstants' to WebAssemblyCompileOptions, define similarly to builtins?

cc @ajklein who was interested in this.

dschuff added a commit to WebAssembly/meetings that referenced this issue Aug 8, 2024
Optimistically adding this to the August 27 agenda, cc @eqrion.

Depends on finishing the steps in
WebAssembly/js-string-builtins#35 before then.

Also update time for stack switching.

---------

Co-authored-by: Derek Schuff <[email protected]>
@eqrion
Copy link
Collaborator Author

eqrion commented Aug 21, 2024

I think we've just about got all of this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant