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>

The .NET SDK WasmEnableSIMD property is also supported.

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.