Re:Moving from TypeScript to Rust / WebAssembly
by ben-schaaf on Thursday July 09, 2020 @12:51AM
(#23777047)
Have you tried with firefox? Last I heard they've got far and away the fastest wasm implementation.
[ Parent
| on HN ]
Re:Moving from TypeScript to Rust / WebAssembly
by chjj on Thursday July 09, 2020 @01:08AM
(#23777111)
No. I've just been building with the WASI SDK and running the resulting binary with a small node.js wrapper script. So, I've only tested v8's WASM implementation so far.
Does firefox have a headless mode, a standalone implementation, or some CLI tool I can use to run a WASM binary? Running stuff in the browser is cumbersome.
Re:Moving from TypeScript to Rust / WebAssembly
by kevingadd on Thursday July 09, 2020 @01:14AM
(#23777136)
You can use jsvu to grab command-line shell binaries for spidermonkey (firefox's JS engine), v8, and jsc (safari's JS engine) to toy around with.
Re:Moving from TypeScript to Rust / WebAssembly
by zelphirkalt on Thursday July 09, 2020 @02:35AM
(#23777560)
I think there should be a headless mode. For exampl e you can run unit tests using the gecko driver (?) without firefox showing up, running it as some process to perform the testing steps and give results.