3 ms·
Tom Duff on shared libraries
- marssaxman 14y agoHe's completely right.
- swah 14y agoWhat are the alternatives?
- marssaxman 14y agoWhen it's a chunk of code, link against it as a static library. When it's a resource, run it as a service and talk to it via some suitable rpc protocol.
- swah 14y agoIs this the sentiment about shared libraries on Linux world as well?
- pjscott 14y agoThe easy alternative is to link to shared libraries by, say, a SHA-256 hash of their contents. That gives you memory sharing without letting third-parties break your code.