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
Right now we use libc++'s impl, which accesses /dev/random as a file. That brings in the filesystem support code which is bad for code size, and also as filesystem code it currently gets proxied to the main thread.
Instead, a simple C++ impl could just call emscripten_random which calls into JS.
This might be upstreamable into libc++. If not, maybe we can have a directory of things that override the default files in libc++?