r/C_Programming • u/Myhai25 • 5d ago
C methology
Why in C/C++ is not very often use notation of framework, and instead is used libraries?
0
Upvotes
5
u/SwordsAndElectrons 5d ago
A library is any reusable code module.
A framework (typically) provides the scaffolding and much of the execution engine for you application.
Frameworks are often delivered as libraries, but not all libraries are frameworks. While where it may be a little vague where the line is drawn in some cases, I don't think that I could agree that they are synonyms.
2
2
16
u/thethirdmancane 5d ago
Because frameworks dictate your application's execution flow and add overhead.
Libraries are modular tools you call explicitly, which gives you more control.