This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
dido:public:ra:xapend:xapend.a_glossary:s:shared_libraries [2021/04/22 17:52] nick created |
dido:public:ra:xapend:xapend.a_glossary:s:shared_libraries [2021/10/04 13:40] (current) 50.19.247.197 ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Shared Libraries ====== | + | ===== Shared Library ===== |
| - | [[dido:public:ra:xapend:xapend.a_glossary| Return to Glossary ]] | + | [[dido:public:ra:xapend:xapend.a_glossary:start| Return to Glossary ]] |
| - | **Shared libraries** are ''.so'' (or in Windows ''.dll'', or in OS X ''.dylib'') files. | + | **Shared library** are stored as ''.so'' (or in Windows ''.dll'', or in OS X ''.dylib'') files. |
| These are linked dynamically simply including the address of the library (whereas static linking is a waste of space). Dynamic linking links the libraries at the run-time. Thus, all the functions are in a special place in memory space, and every program can access them, without having multiple copies of them. | These are linked dynamically simply including the address of the library (whereas static linking is a waste of space). Dynamic linking links the libraries at the run-time. Thus, all the functions are in a special place in memory space, and every program can access them, without having multiple copies of them. | ||
| + | |||
| + | See: [[dido:public:ra:xapend:xapend.a_glossary:s:static_library]] | ||
| Source: [[https://www.geeksforgeeks.org/difference-between-static-and-shared-libraries/ ]] | Source: [[https://www.geeksforgeeks.org/difference-between-static-and-shared-libraries/ ]] | ||