[-] nashenas@hachyderm.io 1 points 7 months ago

@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.

nashenas

joined 2 years ago