4 ms·
> Dynamic linking isn't a problem. Rust does not have a stable ABI at present, so practical use of dynamic linking would require falling back to some baseline
by zozbot123 8y ago
> Dynamic linking isn't a problem.
Rust does not have a stable ABI at present, so practical use of dynamic linking would require falling back to some baseline ABI/FFI for everything that crosses shared-object boundaries (such as the C FFI), or lead to a requirement that a shared object must be compiled with the same compiler version and compile options as all of its users. This seems like it would be a severe pitfall.
- dbaupp 8y agoI'm referring only to the thing being discussed in this post. To expand for precision: dynamic linking doesn't force the Swift compiler to insert more dynamic checks for exclusivity enforcement.