The differences between static and dynamic libraries

In a previous article, we talked about static libraries in C and how they work. In this article, we are going to introduce the concept of shared, or dynamic libraries, and explain the pros and cons of both types of libraries.

Why use libraries?

As mentioned before, libraries allow us to store function definitions, aka pieces of code…

--

--

--

Software Engineer at Deezer in Paris, former student at Holberton School in San Francisco, always striving to build a better world.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Diving Deep into HAProxy® with Lua

A representational image about diving deep into HAproxy with Lua

Jenkins Pipeline and JobDSL

Witnet Monthly Report — September 2019

Grab a List- C# Skill in Unity: 6

Server-side podcast metrics

Introducing Laravel Excel 3.1

Open Source and the Linux Kernel

The Linux Kernel has infinity contributors on GitHub

FrontEnd Interview in Paytm(2–4yrs exp.)

OTP question Interview

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Laura Roudge

Laura Roudge

Software Engineer at Deezer in Paris, former student at Holberton School in San Francisco, always striving to build a better world.

More from Medium

Function-like macros

HOW TO WRITE, COMPILE AND RUN C++ CODE ON LINUX KALI

What is the differences between static and dynamic libraries?

The differences between static and dynamic libraries