2 ms·
Dynamic linking is just not very useful for rust due to lacking a stable ABI. So yes, you can build shared libraries and link to them but you'll be using the C
by zozbot234 7y ago
Dynamic linking is just not very useful for rust due to lacking a stable ABI. So yes, you can build shared libraries and link to them but you'll be using the C ABI at the interaction boundary, which some devs might find unintuitive. (Or else you have to make sure that everything you link to is compiled by the same version of rustc and llvm, which is not very realistic.) Static linking sidesteps this potential issue.
- pjmlp 7y agoA systems language should support everything regardless how useful it might be. Unless it wants to leave some scenarios open for the systems programming languages that offer tooling for them.