Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> deduplication of identical libraries through cryptographic hashes

Or, maybe, adding a version string to the file name, so, if you were compiled with data structures for libFoo1 (which you found on libFoo.h provided by libFoo1-devel) you’ll link to libFoo1 and not libFoo or libFoo2.



Never use a string. What if the string is wrong? Use hashes.


If the file for version 2 or libFoo is libFoo1, it only means someone shouldn’t be naming things.

Being in the file name makes it trivial to retrieve and immediately obvious to a human reading the information.




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

Search: