r/cpp
•
u/steveklabnik1
•
Oct 24 '24
•
1
Why Safety Profiles Failed
https://www.circle-lang.org/draft-profiles.html
180
Upvotes
View all comments
Show parent comment
6
u/pjmlp Oct 26 '24
It works the same way as many languages, it is supported, with the caveat that the same toolchain is to be used for application and libraries, as to be expected.
There are a few workarounds, the usual provide only a C ABI, with the usual constraints, or make use of libraries that do that while putting a mini ABI for a Rust subset.
Even ecosystems that have more stable ABIs like Swift, or the bytecode based ones, it isn't 100% works all the time, there are some caveats when mixing language versions.