Tagged articles
Interop
14 articles · Page 1 of 1

21CTOApr 2, 2026 · Fundamentals
Kotlin 2.3.20, released on March 16, introduces name‑based destructuring, improved C/Objective‑C interop for Kotlin Native, Kotlin/JS interface support, Maven and Gradle enhancements, new compiler annotations, and experimental features like a Lombok plugin and Map.Entry.copy() for safer collections.
DestructuringGradleInterop
0 likes · 5 min read

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

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.
EnumFunctionInterop
0 likes · 8 min read

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.
CangjieConcurrencyHarmonyOS
0 likes · 13 min read

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

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


21CTODec 4, 2023 · Backend Development
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

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.
CocoaPodsInteropModules
0 likes · 14 min read

This tutorial walks you through using Dart's foreign function interface (FFI) in Flutter, showing how to create a macOS plugin project, generate bindings with ffigen, call native C/C++ functions, handle callbacks and asynchronous threads, and integrate message passing between Dart isolates and native code.
C++DartFFI
0 likes · 15 min read

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

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


58 TechOct 26, 2021 · Mobile Development
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-C++SDK
0 likes · 29 min read

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-C++SWIFT
0 likes · 13 min read

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 ConversionInteropmobile-development
0 likes · 9 min read
