Skip to content

Stylus v0.10 vm differences#3110

Merged
anegg0 merged 11 commits intostylus-v0.10from
stylus-v0.10-vm-differences
Mar 1, 2026
Merged

Stylus v0.10 vm differences#3110
anegg0 merged 11 commits intostylus-v0.10from
stylus-v0.10-vm-differences

Conversation

@anegg0
Copy link
Copy Markdown
Contributor

@anegg0 anegg0 commented Feb 10, 2026

Add VM differences concept for Stylus v0.10 documentation.

This PR adds the VM differences concept guide from the alternate structure.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
arbitrum-docs Error Error Mar 1, 2026 9:53pm

Request Review

Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Copy link
Copy Markdown
Contributor

@pete-vielhaber pete-vielhaber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits

Copy link
Copy Markdown
Member

@KolbyML KolbyML left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are things that immediately standout on my first look, I am going to try and do a more thorough pass in a bit.

Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
The Stylus WASM VM uses a register-based execution model:

- **Operations**: Work with virtual registers and local variables
- **Instructions**: Thousands of WASM instructions with fine-grained metering
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it thousands or hundreds?

Comment on lines +154 to +156
### WASM instructions

- **Count**: Hundreds of instructions
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it thousands or hundreds?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More hundreds...Corrected.

Comment thread docs/stylus/concepts/vm-differences.mdx Outdated
Comment on lines +36 to +40
### WASM: Register-based architecture

The Stylus WASM VM uses a register-based execution model:

- **Operations**: Work with virtual registers and local variables
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't WASM a stack based architecture as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for flagging. Is the new version correct?

anegg0 and others added 7 commits February 26, 2026 11:42
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
Co-authored-by: Pete <petevielhaber@gmail.com>
@anegg0 anegg0 merged commit 4ba9db0 into stylus-v0.10 Mar 1, 2026
1 of 2 checks passed
@anegg0 anegg0 deleted the stylus-v0.10-vm-differences branch March 1, 2026 21:51
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

Successfully merging this pull request may close these issues.

3 participants