Skip to content

Conversation

@sevki
Copy link

@sevki sevki commented Dec 4, 2025

Add WebAssembly Component Model bindings for Loro CRDT library:

  • Add loro-wit crate with WIT interface definition
  • Implement bindings using wit-bindgen/cargo-component
  • Create jco demo showing JavaScript transpilation
  • Create wasmtime-host demo for Rust embedding
  • Add comprehensive README documentation

The WIT interface exposes:

  • loro-doc: Document management (create, fork, commit, export/import)
  • loro-text: Text CRDT operations (insert, delete)
  • loro-map: Map CRDT operations (insert, get, delete, keys)
  • loro-list: List CRDT operations (insert, push, get, delete)

Add WebAssembly Component Model bindings for Loro CRDT library:

- Add loro-wit crate with WIT interface definition
- Implement bindings using wit-bindgen/cargo-component
- Create jco demo showing JavaScript transpilation
- Create wasmtime-host demo for Rust embedding
- Add comprehensive README documentation

The WIT interface exposes:
- loro-doc: Document management (create, fork, commit, export/import)
- loro-text: Text CRDT operations (insert, delete)
- loro-map: Map CRDT operations (insert, get, delete, keys)
- loro-list: List CRDT operations (insert, push, get, delete)
@sevki sevki closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants