Dynamic Loading

Teacher talked about this in CS343.

Dynamic loading refers to the process of loading a program or its components into memory at runtime, rather than at compile time or startup.

Benefits:

  • Reduced Memory Usage: Only essential components are loaded, minimizing the memory footprint.
  • Faster Startup Times: The initial load time can be quicker since not all components are loaded at once.
  • Modular Design: Programs can be designed in a modular fashion, allowing for easier updates and maintenance.
  • Flexibility: New features or libraries can be added without needing to recompile the entire application.