hdds-wasm
WebAssembly DDS SDK -- Run DDS applications directly in the browser or any WASM runtime.
Experimental
This crate is at version 0.1.0 and its API may change.
Overview
hdds-wasm compiles HDDS to WebAssembly, enabling:
- Browser DDS -- Publish and subscribe from web applications
- Relay bridge -- WebSocket relay for connecting WASM clients to the DDS network
- Zero-install -- No native dependencies, runs in any WASM-capable environment
- Type-safe -- Uses
hdds_genTypeScript backend for typed pub/sub
Architecture
Browser (WASM) <--WebSocket--> hdds-wasm relay <--RTPS--> DDS Network
Installation
[dependencies]
hdds-wasm = { path = "../hdds/crates/hdds-wasm" }
Related
- hdds-ws -- WebSocket bridge (alternative approach)
- TypeScript API -- TypeScript SDK via WebSocket