--
You received this message because you are subscribed to the Google Groups "Metamath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metamath+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/metamath/CAJ48g%2BAUE%3D3qB2PDeDXcqNOg%3DDyT0tBfnTX97XjOKdOV7ukjEw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/metamath/CAFXXJSs4y59VUgNpxSWgXJSKJXv2m5dzLWz%3D9yGtOTtvxZzk0Q%40mail.gmail.com.
Thanks to Github user @jcaesar, Metamath does now run in browser here(of the browsers I've tried, Chrome, Firefox, and Edge work fine, Safari does not. Also wont work on the official WebAssembly.sh site. The reason for these limitations relate to Metamath being an interactive program and a JavaScript class called SharedByteArray. Further details here https://github.com/jcaesar/wapm-pkg/issues/1)
On 30th Sept, Mario wrote:> I have had success in the past compiling Rust projects to WASMGood, because I've tried to give metamath-knife the same treatment, so you'll probably be interested to know that the "filetime" package used by metamath-knife does not currently support WASM. https://github.com/alexcrichton/filetime/blob/master/src/wasm.rs$ metamath-knife --timing --verify set.mm
thread 'main' panicked at 'not implemented', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/filetime-0.2.15/src/wasm.rs:23:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace(also multi-threading isn't supported in browser)$ metamath-knife --timing --jobs 4 --split --verify set.mm
thread 'main' panicked at 'failed to spawn thread: Error { kind: Unsupported, message: "operation not supported on this platform" }', /rustc/59eed8a2aac0230a8b53e89d4e99d55912ba6b35/library/std/src/thread/mod.rs:628:29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtraceThe branch where I've been playing with this can be found here https://github.com/Antony74/metamath-knife/tree/feature/wasm
--
You received this message because you are subscribed to the Google Groups "Metamath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metamath+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/metamath/CAFXXJStkuNs05_cW4ENxEZ0DV3Afkt2gdmwAqRFEx14HvqgPEA%40mail.gmail.com.