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

  • 0 Posts
  • 1 Comment
Joined 2 years ago
cake
Cake day: November 23rd, 2022

help-circle
  • @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.