Tagged articles
Dynamic Library
12 articles · Page 1 of 1
This article explains the memory layout of a program, the compilation and linking processes, and compares static and dynamic libraries, highlighting how static linking duplicates code while dynamic linking shares libraries to reduce disk and memory usage.
Dynamic LibraryMemory LayoutShared Library
0 likes · 7 min read

This article explains how the size of a Rust‑based Android dynamic library, initially 495 KB, was dramatically reduced to 95 KB through compiler optimization levels, link‑time optimization, panic handling changes, stripping unused sections, and custom linker scripts, providing practical tips for mobile developers.
AndroidDynamic LibraryLTO
0 likes · 11 min read

This tutorial walks you through installing libcurl on Ubuntu, writing a simple C program that uses libcurl to perform a GET request, compiling the code with the proper linker flags, and running the executable to display the fetched web page.
C++Dynamic LibraryHTTP
0 likes · 4 min read

This article explains why reusable code should be packaged into libraries, compares static (.a) and dynamic (.so) libraries on Linux, and provides detailed commands, code examples, and troubleshooting steps for building and linking both types of libraries in C++ projects.
C++Dynamic LibraryShared Library
0 likes · 10 min read

This guide explains Linux file I/O fundamentals, covering file concepts, standard streams, system calls like open and dup2, file descriptor allocation, redirection, the FILE structure, inode layout, hard and soft links, and the creation and usage of static and dynamic libraries, all illustrated with code snippets and diagrams.
Dynamic LibraryFile I/OInode
0 likes · 22 min read

This article provides a step-by-step guide for Java programmers on using gcc, covering the preprocessing, compilation, assembly, and linking stages, and demonstrates how to create and use static and dynamic libraries in C with practical code examples.
Dynamic LibraryGCCc-programming
0 likes · 5 min read

This article details the architecture, core services, user interfaces, and technical challenges of Baidu's product promotion system, explaining the roles of traffic owners and advertisers, the CPS billing model, dynamic library reporting, and database batch‑write optimizations for high‑throughput e‑commerce scenarios.
BaiduCPSDynamic Library
0 likes · 17 min read

This article explains how to improve Python performance by embedding C or C++ code: write the source, compile it into a shared library, and invoke its functions from Python with the ctypes module, providing step‑by‑step commands and example code for both C functions and C++ classes.
C++Dynamic LibraryInterop
0 likes · 4 min read

The article details Baidu’s 2020‑built commodity promotion system for Baijiahao and live‑stream e‑commerce, linking merchants with authors/streamers through CPS billing, three user interfaces and five core services, and highlights technical choices such as dynamic‑library tracking, asynchronous batch writes, and a high‑cohesion, low‑coupling architecture requiring cross‑team collaboration.
Baidu ecosystemCPSDynamic Library
0 likes · 15 min read

This article provides a comprehensive overview of the GNU Compiler Collection (GCC), covering its origins, evolution, core compilation stages, essential command‑line options, and advanced capabilities such as building shared and static libraries and mixed‑language projects.
C languageCompilerDynamic Library
0 likes · 7 min read

This tutorial presents a complete enterprise‑level Makefile example, detailing version numbering, dynamic library integration, macro definitions, include paths, compilation flags, output directory handling, and clean targets, while also showing the associated source code layout and how to retrieve the full project from the public account.
C++Dynamic LibraryMakefile
0 likes · 6 min read


ITPUBSep 8, 2016 · Fundamentals
This guide walks through the ELF format, the compilation‑assembly‑linking pipeline, and step‑by‑step creation and usage of static (.a) and dynamic (.so) libraries on Linux, including gcc, ar, ldconfig, ldd and runtime loading with dlopen.
Dynamic LibraryELFGCC
0 likes · 16 min read
