Software Engineer, currently at Google, previously Magic Leap. Space, Rust, Robotics. Views are my own.

  • 0 Posts
  • 1 Comment
Joined 2Y ago
cake
Cake day: Nov 23, 2022

help-circle
rss

@Vorpal @onlinepersona the way this is typically done is to expose an extern “C” interface in rust which provides a wrapper around the ABI-unstable rust interface. The C ABI for a given system is stable.

Note that C++ also doesn’t have a stable ABI either. The same patterns are used there.

Let me know if you want me to go into more detail on any of that. I’ve dealt with Rust and C++ FFIs for the last few years.