2 ms·
That still doesn't explain how syscalls are exposed as webworkers without a modified browser.
by the_duke 10y ago
That still doesn't explain how syscalls are exposed as webworkers without a modified browser.
- detaro 10y agoThey don't expose syscalls, they implemented replacements for them. There is no access to anything outside the browser environment. Web Workers simulate processes, file system calls access a virtual file system etc.
- ris 10y agoThey aren't real syscalls. From the looks of it this is essentially a mock POSIX-ish "os" for containing webassembly-compiled applications. What will be interesting is to see if anyone ever gets to implementing X11 emulation.