Quote:
Originally Posted by HelloWorld But isn't library also consist of bunch of functions, even more, it will also consist of bunch of classes.. (my graduate friend told me that's it's like a JAR file in Java) how can that takes less memory?  |
It takes less memory because it is loaded during runtime
as needed, then unloaded when it is no longer needed. Rather than having something like a 100K program in memory the entire time, you could link against a DLL and only have a little bit at a time.