Tagged articles
14 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 integrationGoInterop
0 likes · 9 min read
Master CGO: Seamlessly Integrate C Libraries into Go Projects
Open Source Tech Hub
Open Source Tech Hub
Mar 4, 2025 · Backend Development

Unlock Python Power in PHP with phpy: New Features and Practical Examples

This article introduces phpy, an open‑source bridge that lets PHP import and execute Python packages, and walks through its latest features such as the with‑syntax, socket handle conversion, exception propagation, slicing, enum definition, annotated functions, and environment variable handling with concrete code samples.

InteropPythonSocket
0 likes · 8 min read
Unlock Python Power in PHP with phpy: New Features and Practical Examples
JD Cloud Developers
JD Cloud Developers
Nov 29, 2024 · Mobile Development

Cangjie for HarmonyOS: Fast Setup, Key Features, and ArkTS Interop

This article introduces Cangjie, a lightweight, high‑performance programming language for HarmonyOS, detailing its core advantages, rapid environment configuration, distinctive language features such as flow expressions, lightweight threads, extensions, synchronization primitives, and demonstrates seamless interoperation with ArkTS, concluding with future development outlook.

CangjieHarmonyOSInterop
0 likes · 13 min read
Cangjie for HarmonyOS: Fast Setup, Key Features, and ArkTS Interop
Tencent Cloud Developer
Tencent Cloud Developer
Aug 29, 2024 · Mobile Development

Kotlin Native: Architecture, Compilation, Memory Layout, Interoperability, and Future Outlook

Kotlin Native compiles Kotlin code to native binaries via an IR‑to‑LLVM pipeline, provides C/C++‑compatible memory layout, garbage‑collected runtime, and rich interop with C, C++, Objective‑C/Swift, while facing tooling and value‑type challenges that are being addressed through ongoing performance and language enhancements.

InteropKotlinMemoryManagement
0 likes · 58 min read
Kotlin Native: Architecture, Compilation, Memory Layout, Interoperability, and Future Outlook
php Courses
php Courses
Dec 5, 2023 · Backend Development

phpy – A PHP Extension for Seamless Python Integration

phpy is an open‑source Swoole project that lets PHP import and use Python packages—including popular AI and scientific libraries—by providing a PHP extension or a Python C module, with detailed installation steps, usage examples, and support for callbacks and named parameters.

BackendExtensionInterop
0 likes · 10 min read
phpy – A PHP Extension for Seamless Python Integration
21CTO
21CTO
Dec 4, 2023 · Backend Development

Unlock Python in PHP: Install and Use the phpy Extension

This article introduces phpy, a PHP‑Python bridge library from Swoole, explains its purpose of filling gaps in the PHP ecosystem, provides step‑by‑step compilation and installation instructions, and demonstrates how to call Python packages, handle callbacks, and build GUI or AI applications from PHP code.

ExtensionInteropPHP
0 likes · 12 min read
Unlock Python in PHP: Install and Use the phpy Extension
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 6, 2023 · Mobile Development

How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration

This article details the challenges and step‑by‑step solutions the NetEase Cloud Music iOS team used to modularize legacy Objective‑C libraries, enabling seamless Swift interop through modulemap generation, CocoaPods configuration, and custom build scripts while addressing macro, header, and static‑library issues.

Build SystemCocoaPodsInterop
0 likes · 14 min read
How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration
FunTester
FunTester
Sep 28, 2022 · Backend Development

Seamlessly Convert Java Functional Interfaces to Groovy Closures

This article explains the compatibility challenges between Java functional interfaces and Groovy closures, introduces a utility class that converts Supplier, Function, Predicate, and Consumer into Groovy closures, and provides a complete code example with demonstration and output.

BackendFunctional InterfaceGroovy
0 likes · 5 min read
Seamlessly Convert Java Functional Interfaces to Groovy Closures
Python Programming Learning Circle
Python Programming Learning Circle
Dec 27, 2021 · Fundamentals

How to Call C/C++ Code from Python Using ctypes

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.

CDynamic LibraryInterop
0 likes · 4 min read
How to Call C/C++ Code from Python Using ctypes
58 Tech
58 Tech
Oct 26, 2021 · Mobile Development

Swift and Objective‑C Interoperability: Moduleization and Mixed‑Language Integration Practices at 58.com

This article details 58.com’s Swift migration initiative, describing the background of Swift adoption, the objectives of the mixed‑language project, the practical steps for SDK module‑ization, bridging techniques, nullability annotations, macro handling, +load replacements, and future plans for improving Objective‑C to Swift integration.

InteropObjective‑CSDK
0 likes · 29 min read
Swift and Objective‑C Interoperability: Moduleization and Mixed‑Language Integration Practices at 58.com
Youku Technology
Youku Technology
May 8, 2020 · Mobile Development

Migrating Objective‑C to Swift: Benefits, Practices, and a Practical Guide

With Swift 5’s stable ABI shrinking app bundles, developers can migrate Objective‑C code top‑down—starting at UI layers—to leverage Swift’s safety‑focused optionals, value‑type structs, powerful enums, functional and protocol‑oriented paradigms, while handling interoperability via @objc and dynamic, ultimately future‑proofing apps for SwiftUI, cross‑platform frameworks, and continued iOS/macOS relevance.

InteropObjective‑CSwift
0 likes · 13 min read
Migrating Objective‑C to Swift: Benefits, Practices, and a Practical Guide
Hujiang Technology
Hujiang Technology
Jun 22, 2017 · Mobile Development

Elegant Kotlin‑Java Mixed Programming for Android Projects

This article explains how to smoothly integrate Kotlin and Java in Android development, covering IDE conversion, class handling, ProGuard pitfalls, library considerations, calling conventions, keyword conflicts, static methods, package‑level functions, and null‑safety with practical code examples.

Code ConversionInteropProGuard
0 likes · 9 min read
Elegant Kotlin‑Java Mixed Programming for Android Projects