Building Custom WASM UDFs for Gnok: A Step-by-Step Guide
· 8 min read
Gnok's WebAssembly UDF system lets you extend SQL with custom functions written in Rust, Go, C, or any language that compiles to WASM. Your functions run inside the query engine with near-native performance, sandboxed execution, and automatic distribution across cluster workers.
This tutorial walks through building a WASM UDF from scratch, registering it, and using it in queries.