-
Notifications
You must be signed in to change notification settings - Fork 303
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
Support SIMD #56
Comments
The V8 documentation page you referred to suggests using |
AFAIK, Cloudflare Workers has supported SIMD ever since V8 turned it on by default, which was years ago. That said, I haven't tested it personally. Do you have some reason to believe that SIMD doesn't work on Workers? |
Good to know ! I did not test the support of SIMD. I simply needed to know if it was supported or not. As a developer, it is sometimes hard to track what feature is available or not on the platform, as Workers is not exactly Chrome nor V8. I understand that documenting every supported feature can be complex and time consuming. Maybe a matrix with known supported or at least known unsupported features could help to enlight developers in their design choices, before the development phase (before they engage development costs). I close this issue. Thanks for your reactivity ! |
We've tested and verified that SIMD is supported and works on Workers: https://developers.cloudflare.com/workers/platform/web-assembly/#simd |
SIMD instructions (https://v8.dev/features/simd) are interesting for parallel processing tasks like
For example, WASM VIPS (https://github.com/kleisauke/wasm-vips), used for image manipulation, requires a platform that supports SIMD.
WASM VIPS cannot currently run on Cloudflare Workers for other reasons (SharedBufferAPI)
See kleisauke/wasm-vips#2
That being said, supporting SIMD would make Cloudflare Workers a step closer to the browser's web workers.
The text was updated successfully, but these errors were encountered: