
Rust C# Interop Framework
ScyllaDB continues to enhance its driver ecosystem by developing a custom asynchronous Foreign Function Interface (FFI) framework for Rust and C# interop. This framework aims to enable the creation of a Rust-based C# driver, building upon the 'One Driver To Rule Them All' strategy. The post details the challenges encountered with existing bindgen tools and the necessity of supporting asynchronous operations, leading to the development of a self-baked solution leveraging .NET 5+ features like `Un`. This post details the development of a Rust-based Python driver, leveraging PyO3 for binding Rust code to Python and yoke for zero-copy deserialization. It highlights the performance benefits of Rust over Python for CPU-bound operations and the maintainability advantages of a unified Rust driver implementation.
Timeline















