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

Always start from empty initial state #19

Closed
mrsmkl opened this issue Sep 25, 2017 · 3 comments
Closed

Always start from empty initial state #19

mrsmkl opened this issue Sep 25, 2017 · 3 comments
Assignees
Labels

Comments

@mrsmkl
Copy link
Member

mrsmkl commented Sep 25, 2017

Instead of having initialized memory and tables, just have some instructions that will initialize the state.

@terminaldweller
Copy link
Collaborator

sami what do you mean by an "instruction" that will initialize the state?
also could you please explain why we would want to initialize the VM from a non-empty state? I'm not sure if i understand the question.

@mrsmkl
Copy link
Member Author

mrsmkl commented Sep 28, 2017

Well in wasm modules there are stuff for initializing memory, globals, and anyfunc table. Currently the interpreter handles these segments to create the initial state. Instead of doing that, we could have empty initial state and have a program that sets the memory etc.

@mrsmkl mrsmkl self-assigned this Oct 11, 2017
@mrsmkl
Copy link
Member Author

mrsmkl commented Oct 11, 2017

Done in #61

@mrsmkl mrsmkl closed this as completed Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants