3 ms·
Porting c/c++ codebases to WebAssembly is both super fun and frustrating. Network stuff, as mentioned in other comments, is futzy because of the limitations of
by kwindla 8y ago
Porting c/c++ codebases to WebAssembly is both super fun and frustrating.
Network stuff, as mentioned in other comments, is futzy because of the limitations of running in a browser environment. A surprising amount of network code "works," in the sense that it compiles and runs translated to web sockets. (Great work from the WebAssembly and Emscripten community.) But, you know, web sockets.
pthreads support landed in Chrome recently: https://developers.google.com/web/updates/2018/10/wasm-threads https://developers.google.com/web/updates/2018/10/wasm-threa...
Pipes, select, and unix domain sockets aren't really supported (afaik).