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

Enable WasmEdge as default interpreter #1944

Merged
merged 5 commits into from
Jan 22, 2024

Conversation

Harrm
Copy link
Contributor

@Harrm Harrm commented Jan 19, 2024

Description of the Change

Make WasmEdge (interpreter mode) the default.

Benefits

WasmEdge is possibly faster than Binaryen.

@Harrm Harrm marked this pull request as ready for review January 19, 2024 10:41
@Harrm Harrm requested review from kamilsa and turuslan January 19, 2024 10:41
Co-authored-by: kamilsa <kamilsa16@gmail.com>
@Harrm Harrm requested review from turuslan and kamilsa January 19, 2024 13:32
} else if (interpreter == RuntimeInterpreter::WasmEdge) {
return std::static_pointer_cast<CommonType>(
injector.template create<sptr<CompiledType>>());
}
Copy link
Contributor

Choose a reason for hiding this comment

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

May add error for interpreter == Off

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would reconsider these CLI params after we've decided whether we keep Binaryen or not.

@Harrm Harrm merged commit a735680 into master Jan 22, 2024
12 of 13 checks passed
@Harrm Harrm deleted the feature/default-wasmedge-interpreter branch January 22, 2024 09:06
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