• 0 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: January 25th, 2024

help-circle

  • Yeah, and there’s no plan to stabilize the ABI because it’s developing.

    You can use C ABI for some data formats, but you’re limited on what you can use (mostly primitives). There’s a crate stable-abi or abi-stable that provides a way to do things to keep it stable, but since it’s external crate it has limitations.

    I know it’s frustrating because I am writing something in rust that loads functions in runtime. I thought it’d be easy because programs written in C do it all the time. Rust gives a lot of advantages but working on dynamic loading hasn’t been fun. And there aren’t a lot of resources about this either.