Our great sponsors
-
uniffi-slab-example
An example of how to use slab to send opaque types across the uniffi boundary as an id in the slab arena.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm going to show you how to use slab to send handles from rust to python and back to rust using an arena allocator called slab.
The example code from this article is available here: https://github.com/graysonarts/uniffi-slab-example
On my youtube series "Growing up Rust", I'm building a personal CRM in Rust with a Swift frontend. I'm using CQRS and an event-driven architecture with the least amount of swift as possible. I'm using UniFFI to generate the bindings for swift (and in this example python)
Related posts
- UniFFI: Automatically generate foreign-language bindings for Rust libraries
- An experiment in the Rust compiler to begin devising a new cross-language ABI that's higher-level than the C ABI, with the goal of safer and easier FFI
- Tauri now supports Android/iOS in the 2.0 branch!
- Can I Use Rust For IOS Development?
- Ask HN: Native App Development Stack