svn commit: r478259 - in head/science: ghemical libghemical libint mpqc
Sergey A. Osokin
osa at FreeBSD.org
Tue Aug 28 11:51:55 UTC 2018
On Mon, Aug 27, 2018 at 07:15:48PM -0700, Yuri wrote:
> On 8/27/18 6:20 PM, Sergey A. Osokin wrote:
> > thanks for your hard work and take over maintainership.
>
> You are welcome!
>
> > I'd prefer to see the static library for the application as
> > well as shared libraries cause it help in many cases.
> >
> > Please let me know if you have any questions.
>
> Static libraries are mostly useful within the build, when they are
> produced and consumed internally. Otherwise, shared libraries are
> generally better.
>
> Static library cons:
> 1. They cause other binaries to become larger.
> 2. They consume space on disk when installed along with the shared
> libraries.
> 3. They obscure which external libraries are used by the project.
> 4. They make fixing security vulnerabilities more difficult.
>
>
> Static library pros:
> 1. They allow for a marginally better performance.
> 2. They are a must when the target binary needs to be static for
> security or other reasons (for example tor). There are very few cases
> when static executables are needed.
Thanks for the pros and cons, Yuri.
Is there a chance to revert back changes related to the static
library to return it back?
--
Sergey Osokin
More information about the svn-ports-all
mailing list