Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Complete WASM Demo

A comprehensive demo showing all Firebird capabilities for running WASM from Elixir.

Run

mix run examples/complete_wasm_demo/demo.exs

What It Demonstrates

  1. Basic loading & calling - Rust WASM math functions
  2. Go WASM with WASI - TinyGo-compiled modules
  3. Cross-language consistency - Same functions in Go and Rust
  4. Memory operations - Read/write WASM linear memory, crypto ops
  5. One-shot API - Firebird.run/4 for single calls
  6. With Instance - Auto-cleanup block API
  7. Pipe API - Chain WASM calls
  8. Introspection - Exports, types, info
  9. Connection Pool - Concurrent execution
  10. Algorithms - Sort, search, and more via WASM memory