Strengthening the Base: Laying the Groundwork for a more robust Rust SDK
summary
Rust SDK adds QR code login via OIDC, exposes an event cache (observable in-memory store today, planned SQLite persistence) and a send queue that provides local echo, dependent-events, retries and on-disk pending-message recovery. Multiprocess locks protect single-access crypto state; simplified Sliding Sync moves room sorting client-side (implemented in Synapse 1.14). Telemetry hooks track UTDs (one bug reduced UTD ratio roughly 5%→3%). FFI uses uniffi for iOS/Android bindings; crypto is compiled to WASM for web use in parts. 2900 commits, 1100 PRs, ~84% test coverage.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker background
- 4:41Why Rust for the SDK
- 10:42Adoption and benefits of Rust SDK
- 13:11Receiving events efficiently
- 16:24Event cache and processing
- 18:34Sending events with Send Queue
- 21:41Encryption resilience and UTD hunt
- 26:57Invisible crypto and OIDC support
- 30:32High-level components: Sync service and timeline
- 31:55Foreign function interface and bindings
- 34:47Reactive programming with Able
- 35:51Contributions and community impact
- 37:57Q&A session








