3 ms·
For fun, I ported much of BSDutils to WebAssembly. Code [1] and live demo [2]. It was much, much easier porting BSDutils than GNU coreutils, since the source
by williamstein 4y ago
For fun, I ported much of BSDutils to WebAssembly. Code [1] and live demo [2]. It was much, much easier porting BSDutils than GNU coreutils, since the source code is often much smaller, and hence easier to read and understand with simpler dependencies.
[1] https://github.com/sagemathinc/cowasm/tree/main/core/coreutils/src/utils https://github.com/sagemathinc/cowasm/tree/main/core/coreuti...
[2] https://cowasm.sh/ https://cowasm.sh/