News for hackers. Stuff that matters.
Re:Compiling C to WebAssembly Without Emscripten by phickey on Sunday June 02, 2019 @02:22PM (#20077080)
Nice comprehensive writeup. The next step, beyond the basic allocator provided, would be to use wasi-sdk (https://github.com/cranestation/wasi-sdk) which provides a full musl-based libc, targeting the WASI interfaces. With this, you can invoke a C program with arguments, environment variables, and filesystem access.
Re:Compiling C to WebAssembly Without Emscripten by dassurma on Sunday June 02, 2019 @06:47PM (#20078873)
Agreed! WASI is the logical next step. It’s the “universal glue code” I wanted to have for the longest time.