2024-09-20 –, LAB 3
The past year has seen the introduction of several new APIs in the Matrix Rust SDK. In this technical discussion, we aim to explore some of these novel APIs and demonstrate how they facilitate the creation of superior, quicker, and more dependable clients by providing an increasing number of features at no additional integration cost.
We will cover QR code login using OIDC, an API for caching events and assisting with common tasks related to these, multiprocess locks for ensuring single access to cryptographic state, an API for sending events in a room and automatically retrying under certain conditions, and a simplified Sliding Sync implementation with client-side sorting of the room list. These are all recent additions to the Rust SDK, complementing the existing robust building blocks such as the Timeline and Sync services which we’ll also evoke. Our presentation will delve into what's new, examine the underlying functionality, and showcase how these features are utilised in clients like Fractal, iamb, Robrix, or ElementX.
A fervent member of the Rust Evangelizing Striking Force, Benjamin is a software engineer in the Rust SDK team at Element. Before that, he worked at Embark Studios and Mozilla, where he did work on compilers written in Rust. When he's not working, you can find him contributing to open-source software (like Kresus), teaching people how to protect their digital lives online, or playing the piano.