Supported languages
Truebit Verify supports Javascript, Python*, Rust or C/C++
Last updated
Was this helpful?
Truebit Verify supports Javascript, Python*, Rust or C/C++
Last updated
Was this helpful?
Function Tasks are executed in a specially instrumented version of the WASMedge runtime. Functions written in Rust or C++ are directly compiled to WASM. JavaScript and Python are executed by an WASM-compiled interpreter. As is universally true, you may find that compiled functions execute faster than interpreted functions.
No
Node.js v22 LTS+
Rollup
No
Python 3.12 only
Rust v1.78 only
wasm32-wasi target
C / C++
Custom
wasienv
wasi-sdk 16
You can write Function Tasks in various development languages. Here's how to install different versions of these languages.
Currently, we support Rust version 1.78 only. Please install it by running the following command-line commands:
Please run the following line to install WebAssembly and WASI Preview 1 support for Rust: