WebAssembly
WebAssembly (WASM) scripts let you compile high-performance logic and run it inside FaustBot alongside other scripting languages.
Overview
Use WASM when you need maximum performance or want to reuse compiled libraries. FaustBot provides a C++/WASM workflow that compiles code into WASM modules.
Workflow
- Write C++ or another WASM-ready language.
- Compile to WASM using the provided templates or build scripts.
- Load the module in FaustBot and invoke it from actions.
Tooling
The C++/WASM guide includes templates, build steps, and API bindings. Start there for full details.
Recommended
Follow the C++/WASM scripting guide for the supported toolchain and example projects.