[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Eliminating static binaries (Was: Unwanted RPM dependencies)



On Wed, Jun 06, 2007 at 10:04:59AM +0200, Denis Leroy wrote:
> >
> >Are you sure? For little apps, linking dynamically leads to a loss in
> >performance in both size and speed.
> 
> That's a very questionable statement, and may only be true under very 
> unusual conditions (such as: the linked dyn libraries are never shared 
> with other executables).  I don't see how the run-time execution could 
> technically be slower, outside of the start-up time.

Even if dyn libraries are shared, the code that is needed to perform the
link may add more to the executable. You can try with a simple 'hello
world' that use printf.

--
Pat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]