---
name: "futhark-wasm-multicore"
section: "1"
platform: "linux"
package: "futhark"
version: "0.25.27-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/futhark-wasm-multicore"
---

# futhark-wasm-multicore(1)

compile Futhark to parallel WebAssembly

## NAME

futhark-wasm-multicore - compile Futhark to parallel WebAssembly

## SYNOPSIS

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

## DESCRIPTION

**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 VARIABLES

Respects the same environment variables as *futhark-wasm*.

## EXECUTABLE OPTIONS

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

## SEE ALSO

*futhark-c*, *futhark-wasm*

## COPYRIGHT

2013-2020, DIKU, University of Copenhagen
