WebAssembly / stack-switching

A repository for the stack switching proposal.
Other
146 stars 13 forks source link

Reference interpreter #84

Closed dhil closed 1 month ago

dhil commented 2 months ago

This patch adds a reference interpreter for the stack switching proposal. It implements all of the proposed instructions.

The patch also includes many updates from WebAssembly/spec, WebAssembly/function-references, WebAssembly/exception-handling, and WebAssembly/gc.

The contents of this patch are comprised of multiple smaller patches which have already been reviewed by @rossberg -- though, if you are keen please take a look.

dhil commented 2 months ago

Following on from the discussion we had Monday, I've removed the barrier instruction from the reference interpreter.

dhil commented 2 months ago

This is ready for review / to be merged once #90 has been merged.

dhil commented 1 month ago

@tlively and @slindley this patch is ready for review now. PTAL. The patch includes some updates to the legacy proposal documents. I think these should be consolidated under stack-switching/ along side the legacy bag-o-stacks documents (if we decide to keep any of these documents around). But I think that is for another patch.