Skip to content

Support for WebAssembly SIMD Intrinsics (v128) and Rust Integration #248

Description

DirectXMath supports SIMD on architectures such as SSE2 but does not support WebAssembly SIMD intrinsics using the v128 type.
As a header-only library that compiles with any standard C++20 compiler, I successfully compiled it with Clang targeting WebAssembly but found no intrinsic support for WebAssembly SIMD.

I prefer DirectXMath over other libraries (such as GLM) because it is released under the MIT License, supports major SIMD instruction sets, and offers useful functions for software rendering.

My main use case for DirectXMath is software-based rendering (rasterization and ray tracing) targeting outputs such as:

Win32 (GDI)

Direct2D

HTML Canvas via WebAssembly

BMP files

Could you consider adding support for WebAssembly SIMD intrinsics using the v128 type?
Also, with Microsoft’s recent focus on Rust, are there any plans for official Rust support or bindings in DirectXMath?

Thank you for your consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    conformanceRelated to supporting non-MSVC compilers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions