Tagged articles
30 articles
Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
May 24, 2025 · Game Development

Build 2D/3D Games in PHP with Raylib Bindings – A Complete Guide

This article introduces PHP‑Raylib, the PHP binding for the Raylib game framework, outlines its key features, cross‑platform support, installation steps, and provides detailed code examples—including a basic window and a custom button—while comparing it to native Raylib.

FFIGame DevelopmentGraphics
0 likes · 7 min read
Build 2D/3D Games in PHP with Raylib Bindings – A Complete Guide
DeWu Technology
DeWu Technology
Feb 26, 2025 · Backend Development

Migrating to Rust: A Case Study in High-Performance Computing

Migrating a Java computing layer to Rust yielded dramatic performance gains—30% lower CPU usage, 70% less memory—and greater stability, as the authors explain how Rust’s ownership, borrowing, lifetimes, and concurrency, combined with optimized data handling, FFI integration, Tokio async, Docker deployment, and monitoring, outweigh the steep learning curve and ecosystem gaps.

Backend DevelopmentFFIHigh‑performance computing
0 likes · 22 min read
Migrating to Rust: A Case Study in High-Performance Computing
Goodme Frontend Team
Goodme Frontend Team
Dec 16, 2024 · Backend Development

Understanding N-API vs ABI: Build Efficient Node.js Native Addons with Rust

This article demystifies the relationship between Node.js's N‑API and the underlying Application Binary Interface (ABI), explaining their definitions, comparing their abstraction levels, cross‑platform compatibility, memory management, and performance, and provides concrete Rust code examples for both raw ABI and N‑API implementations.

FFIN-APIRust
0 likes · 8 min read
Understanding N-API vs ABI: Build Efficient Node.js Native Addons with Rust
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.

BackendC integrationFFI
0 likes · 8 min read
Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 10, 2024 · Mobile Development

Integrating Rust into Android: A Step-by-Step Guide

This article explains how to set up Rust for Android development, covering installation, creating a demo project, using JNI to call Rust functions, building the shared library, integrating it into an Android app, and designing a scalable architecture with event dispatch and Protobuf.

FFIJNIRust
0 likes · 12 min read
Integrating Rust into Android: A Step-by-Step Guide
SQB Blog
SQB Blog
Feb 23, 2024 · Cloud Native

Building External Plugins for APISIX: Deep Dive into Cloud‑Native Gateway Extensions

This article explains APISIX’s multi‑process architecture and request lifecycle, then explores various ways to develop external plugins—including SideCar‑based plugins, WASM modules, and LuaJIT FFI—detailing their implementation steps, advantages, and limitations to help developers choose the optimal approach for extending the cloud‑native gateway.

APISIXFFILua
0 likes · 14 min read
Building External Plugins for APISIX: Deep Dive into Cloud‑Native Gateway Extensions
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
ByteDance Web Infra
ByteDance Web Infra
Feb 17, 2023 · Backend Development

Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration

This article provides a comprehensive guide on Rust build scripts, the role of sys crates, foreign function interfaces, and cross‑compilation techniques, illustrating how to create and use NAPI‑sys and libsodium‑sys crates, manage Cargo instructions, and leverage tools like Zig for seamless multi‑platform builds.

Build ScriptFFINAPI
0 likes · 21 min read
Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration
Xianyu Technology
Xianyu Technology
Aug 10, 2022 · Mobile Development

Enabling MIUI Long Screenshot in Flutter: Xianyu’s Non‑Intrusive Integration

This article details how Xianyu’s engineering team analyzed and adapted Xiaomi’s MIUI long‑screenshot capability for Flutter list pages, covering the problem background, system source investigation, scroll view detection, event proxy design, asynchronous channel and synchronous FFI communication, and performance results.

AndroidFFIFlutter
0 likes · 17 min read
Enabling MIUI Long Screenshot in Flutter: Xianyu’s Non‑Intrusive Integration
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 2, 2022 · Mobile Development

How PowerImage Revolutionizes Flutter Image Handling with FFI and Texture

PowerImage, Alibaba’s next‑generation Flutter image library, combines native‑level FFI and texture techniques to deliver ui.Image support, pre‑loading, unified caching, simulator compatibility, custom image channels, and performance‑optimized rendering, while providing extensive unit tests and open‑source tooling for developers.

FFIFlutterImage Processing
0 likes · 11 min read
How PowerImage Revolutionizes Flutter Image Handling with FFI and Texture
Xianyu Technology
Xianyu Technology
Jun 1, 2022 · Mobile Development

PowerImage: High‑Performance Flutter Image Library Using FFI and Texture Integration

PowerImage is a stable, high‑performance Flutter image library that combines native FFI and texture integration to eliminate cache conflicts, enable simulator support, provide custom image channels, preload and animate images, unify memory management, reduce Dart code, achieve extensive test coverage, and invite open‑source contributions for future enhancements.

FFIFlutterImageProcessing
0 likes · 12 min read
PowerImage: High‑Performance Flutter Image Library Using FFI and Texture Integration
21CTO
21CTO
Apr 2, 2022 · Fundamentals

Why C Is No Longer Just a Language – It’s a Universal ABI Protocol

The article explains how C has evolved from a programming language into a universal ABI protocol that every language must speak to interact with operating systems, detailing the challenges of FFI, ABI compatibility, and strategies for forward‑compatible API design.

C languageFFIInteroperability
0 likes · 20 min read
Why C Is No Longer Just a Language – It’s a Universal ABI Protocol
TAL Education Technology
TAL Education Technology
Nov 11, 2021 · Backend Development

Optimizing the Qingzhou Business Gateway: Performance Boosts, FFI Integration, and Routing Enhancements

This article details the architecture of the Qingzhou Business Gateway, identifies its granular control, data‑loss, and performance issues, and explains a series of optimizations—including FFI usage, table‑pool reuse, coroutine caching, radixtree routing, and connection‑pool tuning—that raise single‑node QPS to 80 k while preserving functional capabilities.

FFILuaOpenResty
0 likes · 13 min read
Optimizing the Qingzhou Business Gateway: Performance Boosts, FFI Integration, and Routing Enhancements
Xianyu Technology
Xianyu Technology
Oct 29, 2021 · Mobile Development

PowerImage: Integrating FFI and External Texture for Advanced Flutter Image Handling

PowerImage combines FFI and external‑texture techniques to deliver native‑like Flutter image handling, offering direct ui.Image loading, unified caching, simulator support, custom channels and comprehensive error capture, with texture‑based rendering preferred for typical use and FFI reserved for legacy simulators or direct pixel access, while providing performance gains and upcoming animated‑image support.

FFIFlutterImage Processing
0 likes · 12 min read
PowerImage: Integrating FFI and External Texture for Advanced Flutter Image Handling
Taobao Frontend Technology
Taobao Frontend Technology
Aug 26, 2021 · Frontend Development

How Kraken Leverages Flutter to Build a High‑Performance Web Rendering Engine

This article introduces Kraken, a high‑performance, Flutter‑based web rendering engine, detailing its technical background, architecture, bridge implementations, key performance optimizations, extended widget support, and debugging tools, while comparing its rendering flow with traditional WebView and Flutter pipelines.

FFIFlutterKraken
0 likes · 17 min read
How Kraken Leverages Flutter to Build a High‑Performance Web Rendering Engine
Kuaishou Tech
Kuaishou Tech
Jun 8, 2021 · Mobile Development

Flutter Audio-Video Practice and Optimization in Kuaishou

This article details Kuaishou's Flutter audio-video implementation, optimization practices, and engineering support, covering video playback via external textures, data communication strategies, FFI integration, and performance tuning.

FFIFlutterKuaishou
0 likes · 17 min read
Flutter Audio-Video Practice and Optimization in Kuaishou
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Jun 4, 2021 · Mobile Development

Boosting Audio‑Video Editing with Flutter: Kuaishou’s Cross‑Platform Success

This article details how Kuaishou’s Fast Creation team leveraged pure Flutter to implement complex audio‑video features such as playback, editing, and live streaming, describing the challenges of UI, state, performance, and data communication, and presenting optimization techniques like external textures, FFI, thumbnail caching, and frame‑rate improvements.

FFIFlutterPerformance Optimization
0 likes · 18 min read
Boosting Audio‑Video Editing with Flutter: Kuaishou’s Cross‑Platform Success
Alibaba Cloud Developer
Alibaba Cloud Developer
May 12, 2021 · Mobile Development

How We Boosted Flutter App Startup Speed by Over 1 Second

This article details the performance challenges of large‑scale Flutter apps and presents a series of practical optimizations—including module‑level hybrid rendering, native‑side data prefetch with FFI, multi‑level caching, and resource compression—that together reduced home‑page startup time by more than one second.

Data PrefetchFFIFlutter
0 likes · 10 min read
How We Boosted Flutter App Startup Speed by Over 1 Second
HelloTech
HelloTech
Apr 25, 2021 · Mobile Development

Flutter Native Interaction: Platform Channel vs FFI Comparison

The article compares Flutter’s native interaction methods, explaining how Platform Channels use message codecs and thread switching for method calls, while FFI lets Dart directly invoke C functions, offering superior performance but more boilerplate, and discusses trade‑offs, implementation details, and a benchmark showing the speed gap.

C++DARTFFI
0 likes · 8 min read
Flutter Native Interaction: Platform Channel vs FFI Comparison
php Courses
php Courses
Dec 1, 2020 · Backend Development

Using PHP FFI to Call the Cjieba Chinese Word Segmentation Library

This article demonstrates how to use PHP 7.4's FFI to directly call the Cjieba Chinese word‑segmentation library, explains common pitfalls such as uninitialized variables and pointer handling, shows code examples for compiling and running the library, and compares PHP's performance with native C.

BackendCjiebaFFI
0 likes · 6 min read
Using PHP FFI to Call the Cjieba Chinese Word Segmentation Library