Diplomat - Idiomatic Multi-Language APIs - Robert Bastian - Rust Zürisee March 2024

Channel

Join us at https://RustFest.ch in Zürich, the ultimate event for Rust enthusiasts and newcomers alike. Learn, share, and celebrate the power and beauty of the Rust programming language. Connect with the global Rust community on June 19-24, 2024. Get your ticket today! 🎟️

In this talk, Robert introduces diplomat: Experimental Rust tool for generating FFI definitions allowing many other languages to call Rust code.
With Diplomat, you can simply define Rust APIs to be exposed over FFI and get high-level C, C++, and JavaScript bindings automatically!

Project: https://github.com/robertbastian/diplomat
Simons's Github: https://github.com/robertbastian

Would you like to chat or give a talk? Join us in our Matrix room:
https://matrix.to/#/#rust-zuerisee:matrix.coredump.ch

Support the Zürich community: https://estada.ch/support-my-work/

Chapters:
00:00 Introduction & Motivation
02:08 What is Diplomat?
07:37 Bindings generator
10:29 Lifetimes
11:42 Current & Future work