Tagged articles

C integration

9 articles · Page 1 of 1
php Courses
php Courses
Jun 25, 2025 · Backend Development

Master CGO: Seamlessly Integrate C Libraries into Go Projects

This comprehensive guide explains CGO fundamentals, demonstrates basic and advanced usage with practical code examples, covers type conversion, calling C standard libraries, handling external C files, callbacks, struct passing, memory‑management best practices, real‑world scenarios, limitations, and alternative approaches for Go developers.

C integrationCgoGo
0 likes · 9 min read
Master CGO: Seamlessly Integrate C Libraries into Go Projects
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 5, 2025 · Backend Development

Master Python ctypes: Call Windows DLLs and APIs Like a Pro

This comprehensive guide explains how Python can interface with C dynamic link libraries using the ctypes module, covering installation, data types, pointer manipulation, buffer creation, DLL loading, function calling, Windows API interactions, and practical code examples for system-level programming.

C integrationSystem Programmingctypes
0 likes · 15 min read
Master Python ctypes: Call Windows DLLs and APIs Like a Pro
Open Source Tech Hub
Open Source Tech Hub
Aug 22, 2024 · Backend Development

How to Enable and Use PHP FFI: Step-by-Step Guide for Calling C Libraries

This article explains PHP's Foreign Function Interface (FFI) introduced in PHP 7.4, outlines its primary use cases, shows two methods to enable the extension, provides detailed compilation and installation commands, and demonstrates a basic example of calling a C function from PHP.

C integrationFFIInstallation guide
0 likes · 5 min read
How to Enable and Use PHP FFI: Step-by-Step Guide for Calling C Libraries
php Courses
php Courses
Aug 7, 2024 · Backend Development

Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries

This article introduces PHP 7.4's Foreign Function Interface (FFI), explains how to enable it, demonstrates basic usage and advanced examples for calling C functions, discusses performance considerations, security best practices, troubleshooting, and future directions for PHP developers.

C integrationFFIPHP
0 likes · 8 min read
Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries
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
Python Crawling & Data Mining
Python Crawling & Data Mining
May 2, 2022 · Backend Development

Master Python ctypes: Call Windows DLLs and APIs with Ease

This comprehensive guide explains how Python can interface with C dynamic libraries using ctypes, covering installation, data types, pointer manipulation, buffer creation, DLL loading methods, Windows API calls, and advanced techniques such as structures, unions, arrays, and process control.

C integrationPythonbackend
0 likes · 16 min read
Master Python ctypes: Call Windows DLLs and APIs with Ease