You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
support SharedArrayBuffers with crypto.getRandomValues #421
anyone wanting to do threads and use crypto APIs. if you use WASI, their getrandom APIs are all based on this function (which is how I noticed it).
if it isn't in the standard, then i'm not sure how it'd work otherwise. implementers aren't going to support this if the standard doesn't say it should work.
when these APIs only support ArrayBuffers and not SharedArrayBuffers, it feels like an oversight rather than intentional.
Activity
Frosne commentedon Jan 26, 2026
Hi :)
Thanks for bringing this up. I was wondering if you could share a bit more context on why you think this belongs in the standard itself?
Do you have insight into how many developers might need this? Understanding the expected demand would be really helpful :)
vapier commentedon Jan 26, 2026
anyone wanting to do threads and use crypto APIs. if you use WASI, their getrandom APIs are all based on this function (which is how I noticed it).
if it isn't in the standard, then i'm not sure how it'd work otherwise. implementers aren't going to support this if the standard doesn't say it should work.
when these APIs only support ArrayBuffers and not SharedArrayBuffers, it feels like an oversight rather than intentional.