Archived

This forum has been archived. Please start a new discussion on GitHub.

vc static lib

advice:Ice project should add static lib.
My client program is very small(<200k),but ice.dll is about 800k,
so,size of package at least has 1m.If use static lib my progame only 200+(<800k).

Comments

  • Re: vc static lib
    Originally posted by hellocyf
    advice:Ice project should add static lib.
    My client program is very small(<200k),but ice.dll is about 800k,
    so,size of package at least has 1m.If use static lib my progame only 200+(<800k).

    I don't think it matters. Even if the dynamic library is large, on a demand-paged operating system (which is just about every general-purpose operating system I can think of), only those pages that are actually used will be loaded into memory. In other words, the size of the library is irrelevant -- what matters is the working set size of the program.

    Cheers,

    Michi.
  • motivation

    On server side:use dll off course.

    On client side:
    I will consider of download speed.
    1AIf there only few application use Ice RT. I will consider of download speed,much little program more easy to download,And easy to spread.That's my purpose.
    2AOn the other hand,if there are lots of ice application,I will use dll.That's will be muck smaller than every app build in static lib.

    so, Ice release package should include both dll project and static lib one.
    Programer will select one mode at need.