Tagged articles
25 articles
Page 1 of 1
FunTester
FunTester
Jan 10, 2025 · Backend Development

Seamlessly Call Go Functions from Java Using JNI: A Step‑by‑Step Guide

Learn how to integrate Go and Java by compiling Go code into a shared library, exposing functions via cgo and JNI, and invoking them from Java with detailed setup, code examples, handling of primitive and complex data types, and full build‑and‑run instructions.

GoInteroperabilityJNI
0 likes · 12 min read
Seamlessly Call Go Functions from Java Using JNI: A Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
Jul 28, 2024 · Fundamentals

Why Static Libraries Waste Space and How Dynamic Linking Saves It

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.

CompilationDynamic LibraryLinker
0 likes · 7 min read
Why Static Libraries Waste Space and How Dynamic Linking Saves It
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

Mastering Static and Dynamic Libraries on Linux: A Step‑by‑Step Guide

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++CompilationDynamic Library
0 likes · 10 min read
Mastering Static and Dynamic Libraries on Linux: A Step‑by‑Step Guide
php Courses
php Courses
May 25, 2023 · Backend Development

Using PHP 8.0 FFI Extension to Integrate C Libraries

This article introduces PHP 8.0's built‑in FFI extension, explains its key features, demonstrates how to compile a simple C library into a shared object, and shows step‑by‑step PHP code to load the library, call its functions, and display the results.

C integrationFFIPHP
0 likes · 7 min read
Using PHP 8.0 FFI Extension to Integrate C Libraries
MaGe Linux Operations
MaGe Linux Operations
Dec 19, 2022 · Fundamentals

What Happens When You Delete an In‑Use File on Linux?

This article investigates Linux's handling of files that are in use—whether opened for reading, running as executables, or loaded as shared libraries—by experimenting with deletion, replacement, and modification, revealing how the kernel preserves file contents via inode references until all processes release them.

LinuxShared LibrarySystem Call
0 likes · 16 min read
What Happens When You Delete an In‑Use File on Linux?
Programmer DD
Programmer DD
Jul 18, 2021 · Operations

Master Jenkins Shared Libraries to Simplify CI/CD Pipelines

This guide explains why Jenkins Shared Libraries are essential for reducing repetitive pipeline code in micro‑service projects, walks through creating and configuring a shared library, and demonstrates advanced usage with parameters, multi‑branch pipelines, and environment variable handling.

DevOpsGroovyJenkins
0 likes · 10 min read
Master Jenkins Shared Libraries to Simplify CI/CD Pipelines
Efficient Ops
Efficient Ops
May 13, 2020 · Operations

Building a Custom Jenkins Pipeline Engine with Shared Libraries

This presentation walks through a step‑by‑step approach that blends real‑world business needs, design patterns, and Jenkins features to demonstrate how a shared‑library‑based pipeline engine can support large‑scale, complex CI/CD scenarios, from native solutions to structured atomic units and dynamic execution refactoring.

DevOpsJenkinsPipeline
0 likes · 2 min read
Building a Custom Jenkins Pipeline Engine with Shared Libraries
DevOps Cloud Academy
DevOps Cloud Academy
Feb 22, 2020 · Operations

Why Use Shared Libraries in Jenkins Pipelines?

The article explains that shared libraries, a familiar concept from languages like Python, are implemented in Jenkins as Groovy classes containing methods, helping to centralize pipeline code, avoid bloated Jenkinsfiles, and improve maintainability, while also promoting a live broadcast and group chat.

DevOpsGroovyJenkins
0 likes · 3 min read
Why Use Shared Libraries in Jenkins Pipelines?
DevOps Cloud Academy
DevOps Cloud Academy
Feb 19, 2020 · Operations

Why Use Shared Libraries in Jenkins Pipelines?

The article explains the concept of shared libraries, compares them to Python modules, describes how Jenkins Groovy shared libraries store classes and methods, and discusses their role in simplifying and standardizing pipeline code to avoid overly complex Jenkinsfiles.

GroovyJenkinsPipeline
0 likes · 2 min read
Why Use Shared Libraries in Jenkins Pipelines?
DevOps Cloud Academy
DevOps Cloud Academy
Feb 19, 2020 · Operations

Why Use Shared Libraries in Jenkins Pipelines?

The article explains the concept of shared libraries, compares them to Python modules, describes how Jenkins uses Groovy classes for reusable pipeline code, and highlights their role in simplifying and standardizing Jenkinsfile management while also promoting an upcoming live event.

DevOpsGroovyJenkins
0 likes · 2 min read
Why Use Shared Libraries in Jenkins Pipelines?
Tencent Music Tech Team
Tencent Music Tech Team
Dec 22, 2017 · Mobile Development

Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android

The article outlines a systematic method for structuring native‑layer code and using dlopen, dlsym, and dlclose to dynamically load and unload .so libraries on Android, enabling selective loading, reduced memory usage, hot‑fix updates, and solutions to STL version, permission, and C++ name‑mangling challenges.

AndroidDynamic LoadingJNI
0 likes · 14 min read
Organizing Native Layer Code and Implementing Dynamic Loading/Unloading of .so Libraries in Android
ITPUB
ITPUB
Mar 17, 2017 · Fundamentals

Master Linux Static and Shared Libraries: Build, Link, and Load

This guide explains Linux library types, naming conventions, and step‑by‑step commands for creating static (.a) and shared (.so) libraries, managing symbolic links, checking dependencies, runtime search paths, dynamic loading, and using GNU Libtool.

C ProgrammingGNU LibtoolShared Library
0 likes · 7 min read
Master Linux Static and Shared Libraries: Build, Link, and Load
ITPUB
ITPUB
Mar 11, 2016 · Fundamentals

How to Build and Link a Shared Library (.so) on Linux with GCC

This guide explains the naming conventions, source code, compilation commands, and linking techniques for creating a Linux shared library (.so) using GCC, including options like -fpic, -shared, absolute‑path linking, and the -l flag after copying the library to /usr/lib.

CompilationLinuxShared Library
0 likes · 6 min read
How to Build and Link a Shared Library (.so) on Linux with GCC