Hacker News new | past | comments | ask | show | jobs | submit login
Tom Duff on shared libraries (9fans.net)
6 points by swah on June 13, 2012 | hide | past | favorite | 5 comments



The 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.


Is this the sentiment about shared libraries on Linux world as well?


He's completely right.


What are the alternatives?


When 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: