Re:Ask HN: With such fast changes in technology, how do you ...
by morbidhawk on Thursday January 19, 2017 @03:57PM
(#13439417)
> It's astonishing how often this gets reinvented
Wow, I'd only heard of libgit2 before. I can't believe how many git-related python packages there are. Yes git isn't a library, it's a program like you said, good catch
Another example of a library would be libjpeg[1] for reading and writing the jpeg image format and dealing with all the different ways the format can be adjusted, which gets incorporated into many applications, for example ImageMagick[2].
Basically, a library consists of code that is intended to be reused by calling it from other code.
[0] It's astonishing how often this gets reinvented. Here are just Python libraries: https://pypi.python.org/pypi?%3Aaction=search&term=git
[1] https://en.wikipedia.org/wiki/Libjpeg
[2] https://en.wikipedia.org/wiki/ImageMagick