53 ms·
> I'd like to point out that this effectively means "it's not against shared libs, but it will actively ignore anything needed to work with them" There are lib
by nicoburns 6y ago
> I'd like to point out that this effectively means "it's not against shared libs, but it will actively ignore anything needed to work with them"
There are libraries that enable this: https://docs.rs/abi_stable/0.9.3/abi_stable/ https://docs.rs/abi_stable/0.9.3/abi_stable/
- Luker88 6y agoWell, we can all agree that the solution should not be "we'll just require everyone to change all their code through this library" static vs dynamic is a linker (and LTO) problem, we can't start asking everyone everywhere to change all their code. Although the library does look nice for some use cases
- nicoburns 6y ago> Well, we can all agree that the solution should not be "we'll just require everyone to change all their code through this library" I definitely would like better language support. But IMO the solution shouldn't just be "flip a compiler switch and all your normal data structures have a stable ABI" either. What I would really like to see is a cross-language ABI (that's more fully featured than then C ABI), that can be opted into with `repr(polyabi)` or whatever it ends up being called.