FUTHARK-WASM(1) | Futhark | FUTHARK-WASM(1) |
futhark-wasm - compile Futhark to WebAssembly
futhark wasm [options...] <program.fut>
futhark wasm translates a Futhark program to sequential WebAssembly code by first generating C as futhark c, and then using Emscripten (emcc). This produces a .js file that allows the compiled code to be invoked from JavaScript. Executables implement the Futhark server protocol and can be run with Node.js.
Accepts the same options as futhark-c.
CFLAGS
EMCFLAGS
The following options are accepted by executables generated by futhark wasm.
futhark-c, futhark-wasm-multicore
2013-2020, DIKU, University of Copenhagen
January 6, 2025 | 0.25.23 |