Re:Write libraries instead of services, where possible
by fl0ki on Thursday November 23, 2023 @08:13PM
(#38399725)
That's not a great example given OpenSSL versions are famously backwards-incompatible. Older versions get ABI-compatible security patches because people put in the time to backport all of them to every version still supported, in many cases by distro package maintainers. It's exactly the situation libraries should generally avoid, because there are maintainance costs for older versions of the library as well as migration costs for all of its users.
Re:Write libraries instead of services, where possible
by LtWorf on Sunday November 26, 2023 @09:47AM
(#38421956)
Well given that i upgrade but not downgrade… what's your point?
Re:Write libraries instead of services, where possible
by fl0ki on Thursday November 30, 2023 @10:12AM
(#38474431)
The point is that someone is paying the cost of maintaining the library's ABI surface area even if it's not you. In a thread specifically for developers considering how to offer an interface to their software, I think it's only fair to recognize the costs of those different approaches. In that regard, OpenSSL is an extremely bad example, or an extremely good example of what not to do.
The fact that I don't need to recompile everything whenever libcurl or libssl has a security fix proves otherwise.