Doesn't seem as though I can run the QJS REPL on Windows with this yet. I thought the entire point of these sorts of projects was serving as a cross-platform runtime, but Wasmtime doesn't actually accept key input for the REPL, and Wasmer errors out with an ugly error.
thread 'main' panicked at 'not implemented: VirtualFile::poll is not implemented for non-Unix-like targets yet'
Guess I still just have to wait, but seems weird to call it 1.0.
Because it uses WASI which is basically "POSIX for Webassembly". Check out the API:
https://github.com/WebAssembly/wasi-libc/blob/main/libc-bott...
Symlinks, hardlinks, errno, etc. It's not surprising that it's better supported on Unix than other platforms.
And yeah I agree it's disappointing they tacked such an obviously platform-biased API on to something that is supposed to be platform independent. I guess it was the pragmatic thing but still...