WebAssembly (WASM) Runtime
VortexDB includes a WebAssembly (WASM) runtime for executing user-defined functions (UDFs) in a secure and sandboxed environment.
WebAssembly (WASM) Runtime
VortexDB uses a WebAssembly (WASM) runtime to execute user-defined functions (UDFs). This allows you to run custom code in a secure and sandboxed environment, close to your data.

Benefits of WASM UDFs
Benefit | Description |
---|---|
Security | UDFs run in a sandboxed environment, preventing them from accessing the underlying system. |
Performance | WASM is a low-level bytecode format that can be executed at near-native speed. |
Portability | WASM is a portable format that can run on any platform with a WASM runtime. |
Supported Languages
You can write UDFs in any language that can be compiled to WASM, including:
- Rust
- C/C++
- Go
- AssemblyScript