Paul Faria

u/nashenas@hachyderm.io
0 posts · 1 comments

Recent posts

No posts.

Recent comments

on How to make plugins? · c/rust · 1 pts · 2y

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