Photo by Kevin Ku on Unsplash

Static and Dynamic Libraries (differences and more…)

In computer science, a library is a collection of non-volatile resources used by computer programs, often for software development. These may include configuration data, documentation, help data, message templates, pre-written code and subroutines, classes, values or type specifications.

Differences Between Static And Dynamic Libraries

How Works a Static Library

How to Create Dynamic Libraries in Linux

  1. Create the object code running the command

How to Create Static Libraries in Linux

  1. Code your functions in separate C files “file.c”
  2. Compile the C files as object files “file.o” or “file.obj”. We can use GCC with the parameter -c

Additional useful commands

Systems Engineer with a huge experience working on IT infrastructure projects and passionate about software development, AR/VR, Big Data, and Machine Learning.