carta
futhark-wasm-multicore(1)

futhark-wasm-multicore1

Compile futhark to parallel webassembly

Usage

futhark wasm-multicore [options ...] <program.fut>

Overview

futhark wasm-multicore translates a Futhark program to multi-threaded 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.

Options

Accepts the same options as futhark-c.

Environment

Respects the same environment variables as futhark-wasm.

Options

Generated executables accept the same options as those generated by futhark-wasm.

From futhark 0.25.27-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.