Support for WebAssembly SIMD Intrinsics (v128) and Rust Integration
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Domain
- compilers, computer-graphics
Research direction
The issue names no files, tests, or entry points. Start by reviewing the existing SIMD architecture support and project guidance for platform additions, then determine whether WebAssembly v128 support and Rust bindings are separate scopes. Done would require an agreed scope and acceptance criteria for both requests.
Written by the indexing model from the issue text.
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.
- Dominant language
- C++
- Stars
- 1.8k
- Forks
- 262
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/DirectXMath
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
microsoft/DirectXMath#346 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
microsoft/DirectXMath#342 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
microsoft/DirectXMath#328 ·
-
simplemath
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/DirectXMath#327 · 1 comment ·
-
Project feedback Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
microsoft/DirectXMath#326 · 2 comments ·
All issues in microsoft/DirectXMath
Similar issues
-
ai_reviewed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ydb-platform/ydb#53869 · 3 comments ·
-
bug cert blocker needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vllm-project/vllm-ascend#17329 ·