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

Implement the Wasm simd proposal #1364

Open
Robbepop opened this issue Feb 5, 2025 · 0 comments
Open

Implement the Wasm simd proposal #1364

Robbepop opened this issue Feb 5, 2025 · 0 comments

Comments

@Robbepop
Copy link
Member

Robbepop commented Feb 5, 2025

This is about adding support for the simd Wasm proposal.

The simd Wasm proposal has been stabilized (Phase 5) since a long time now. Many Wasm producers already can produce simd capable Wasm binaries and it is likely to gain even more traction.

Wasmi originally did not intend to support simd and was hoping for an eventual uptake of the alternative flexible-vectors Wasm proposal. However, it seems unlikely at this point that the alternative design will see significant development in the near to medium future.

Having simd support in wasmi is the final missing Wasm proposal required to make Wasmi Wasm 2.0 compatible which would be great for advertisement. Obviously, simd users could use Wasmi. In some past tests we actually saw decreased file sizes by using simd proposal when generating Wasm, so it might also have a nice side benefit. Especially Wasm based game engines that rely on Wasmi might find simd support very useful.

Due to the massive size of the Wasm simd proposal it will be put behind a crate feature flag simd. This is important for users who do not need simd support as this will significantly impact Wasmi compile time and Wasm execution performance as well as memory usage during Wasm execution.

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

No branches or pull requests

1 participant