Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.09 KB

features-simd.md

File metadata and controls

25 lines (18 loc) · 1.09 KB

Support for SIMD

Starting from .NET 7, support for SIMD is available through the following property:

<PropertyGroup>
	<WasmShellEnableSimd>true</WasmShellEnableSimd>
</PropertyGroup>

With .NET 8, SIMD support is enabled by default and can be disabled using:

<PropertyGroup>
	<WasmShellEnableSimd>false</WasmShellEnableSimd>
</PropertyGroup>

WebAssembly Support for SIMD enables faster execution for specialized pieces of code, and .NET increasingly uses those instructions to make applications run faster.

You can take a look at this article for more information.

Restriction for the use of SIMD

While SIMD is supported by all major browsers by default, some security modes can require disabling it.

For instance, Microsoft Edge's Enhanced Security mode disables the use of SIMD, as well as iOS's Lockdown mode.