Skip to content

inter-target ordering - #73

Draft
pufferfish101007 wants to merge 9 commits into
mainfrom
order!
Draft

inter-target ordering#73
pufferfish101007 wants to merge 9 commits into
mainfrom
order!

Conversation

@pufferfish101007

@pufferfish101007 pufferfish101007 commented Sep 4, 2026

Copy link
Copy Markdown
Member

very very WIP, nowhere near ready. creating a PR to make a note of what needs to be done.

will resolve #59

Changes

  • driveby: represent WASM types as rust types 👀
  • driveby: create a resizeable/dynamic array type for wasm - this means that threads are no longer limited to a stack size of 8 (will hopefully get rid of some nullpointerexception errors)
  • driveby: update wasm nightly version
  • driveby: uodate wasm-tools deps
  • replace global threads table with an array of arrays of threads, with one array per target

Still TODO

  • Finish implementing mutually recursive type registration
    • need a new IntraRecGroupInfo or similar context in which to register RecGroupDependencies and co.
    • add new CompoundType for a rec group item so that rec group registrations have a canonical representation and can be registered uniquely
    • handle transformation from rec group CompoundType to actual WASM type - should we encapsulate into a real rec group or not? unclear if that's necessary
  • adapt remaining instructions & functions to use new thread layout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inter-target execution order / layers

1 participant