Surrealism: SurrealDB WASM Extensions

•
29
•

Develops and deploys custom WebAssembly modules for SurrealDB using Rust to extend native database functionality.

Surrealism is a specialized skill for building high-performance, native database extensions for SurrealDB 3. It provides comprehensive guidance for writing custom logic in Rust, compiling it to WebAssembly (WASM), and integrating it into SurrealQL queries through custom modules. This skill is ideal for developers needing to implement complex domain-specific logic, custom scalar functions, or specialized data processing directly within the database engine to reduce latency and enhance query capabilities.

主な機能

01Template generation for surrealism.toml and annotated Rust functions
02Guidance on building custom analyzers and full-text search extensions
03Rust-to-WASM compilation workflow automation for SurrealDB 3
04Optimization patterns for high-performance in-database scalar functions
05SurrealQL implementation patterns for DEFINE MODULE and DEFINE BUCKET
0629 GitHub stars

ユースケース

01Implementing domain-specific logic like financial modeling or language processing in-database
02Creating custom full-text search analyzers using specialized Rust crates
03Building reusable mock data generators for automated testing environments