rodrimati1992 / abi_stable_crates

Rust-to-Rust ffi,ffi-safe equivalents of std types,and creating libraries loaded at startup.
Apache License 2.0
536 stars 30 forks source link

Fix ABI stability statement #90

Closed marioortizmanero closed 2 years ago

marioortizmanero commented 2 years ago

Currently, it's misleading. See: https://nullderef.com/blog/plugin-start/#_abi_unstability_its_much_worse_than_it_seems

marioortizmanero commented 2 years ago

Hmmm, not super happy with my patch or yours. You can load plugins dynamically just by using #[repr(C)]. abi_stable just makes it easier, safer, and more backward-compatible.