Tagged articles
ui-rendering
21 articles · Page 1 of 1
This article explores the ArkUI‑X cross‑platform framework, detailing its relationship with ArkTS and ArkUI, step‑by‑step environment setup, project creation, the compilation pipeline that generates ViewPU classes, and the intricate bridge that connects ArkTS code to Android and iOS system services such as the clipboard.
ArkTSArkUI-XClipboard Integration
0 likes · 16 min read

Lynx is an open‑source, high‑performance cross‑platform framework that lets developers write a single codebase to deliver native‑grade experiences on both mobile and web, offering a dual‑thread architecture, modern CSS support, and a flexible ecosystem that scales from TikTok to future IoT devices.
LynxReactLynxcross‑platform
0 likes · 11 min read


JD TechNov 13, 2024 · Frontend Development
This article explains the end‑to‑end architecture, principles, and code implementation of the dynamic cross‑platform framework (Roma/Dynamic) on HarmonyOS, covering template loading, JS‑C++‑ArkTS instance creation, V‑Dom and Component tree construction, rendering pipeline, view updates, and performance optimizations.
ArkTSC++HarmonyOS
0 likes · 30 min read

This article provides a comprehensive overview of the dynamic cross‑platform (Roma) solution, detailing its JavaScript‑based architecture, integration with Android, iOS, HarmonyOS and Web, the SDK workflow, code examples, and the complete view creation, rendering, and update processes across multiple language environments.
HarmonyOSJavaScriptSDK
0 likes · 26 min read

This article explains the architecture and implementation of the Roma dynamic cross‑platform solution, covering its JavaScript‑VM based rendering pipeline, HarmonyOS integration challenges, resource packaging, view creation across JS, C++, and ArkTS layers, and the diff‑based update mechanism that enables seamless UI updates on multiple platforms.
HarmonyOSJavaScriptSDK
0 likes · 28 min read

This article analyzes four major performance problems of UI rendering on HarmonyOS—excessive view hierarchy, long communication pipelines, poor list rendering, and secondary layout—and presents a C‑based native component solution with code examples to improve cross‑platform UI performance.
ArkTSC interfaceHarmonyOS
0 likes · 14 min read

QQ 9 achieves a “silky smooth” experience by cutting launch time 40% through lazy‑loaded libraries and main‑thread priority tweaks, boosting runtime fluidity with an NT Kernel that offloads logic, incremental diff refreshes and parallel layout, and adding the Hodor anti‑degradation system, delivering 35% smoother performance and 48% less lag.
Android optimizationAsync LayoutDiff Algorithm
0 likes · 20 min read

iQIYI improves its Android app for low‑end phones by classifying devices, streamlining startup with task‑based scheduling and baseline profiles, reducing UI thread load through card layout hard‑coding, message queuing, effect degradation, and pre‑fetching data, while continuously monitoring performance to ensure faster, smoother user experiences.
AndroidBaseline ProfilesTask Scheduling
0 likes · 16 min read

The article walks through Android’s display pipeline—from an app’s frame rendering through SurfaceFlinger, the Hardware Composer, and final screen output—showing how each stage appears in systrace and giving readers a macro‑level view of the data flow in Android S’s graphics system.
AndroidDisplay SystemSurfaceFlinger
0 likes · 8 min read

This article explains Android’s display pipeline—CPU, GPU, and Display—and dives deep into how the Choreographer registers callbacks, schedules traversals, processes Vsync signals, and coordinates rendering to achieve fluid UI updates.
AndroidCallbackchoreographer
0 likes · 12 min read

This article walks through the rapid development of a PC client for the Wenku platform using Electron, covering technology selection, framework fundamentals, multi‑process architecture, Chromium‑Node integration, practical implementation details such as window management, code injection for fast iteration, and debugging versus release workflows.
Electroncross-platformdesktop development
0 likes · 8 min read

This article explores the feasibility of using Rust for UI rendering on Android by analyzing the rust-windowing ecosystem, detailing both software and hardware rendering approaches, explaining the integration of winit and glutin for cross-platform window and OpenGL context management, and demonstrating JNI-based communication with Android Surface components.
Android developmentJNIOpenGL ES
0 likes · 15 min read


21CTONov 10, 2019 · Mobile Development
This article details the design and implementation of a scalable mobile instant‑messaging system for a travel app, covering architecture, data‑channel handling, subscription mechanisms, UI rendering, message de‑duplication, local push strategies, reconnection logic, and future upgrades to WebSocket.
WebSocketdata channelinstant messaging
0 likes · 16 min read

Flutter renders UI through three interconnected trees—Widget, Element, and RenderObject—where Widgets describe configuration, Elements link Widgets to RenderObjects that perform layout and painting; state changes trigger rebuilds that efficiently update only affected RenderObjects, enabling native‑like performance via the Dart‑Skia pipeline.
Element TreeFlutterWidget Tree
0 likes · 16 min read

This article provides a comprehensive overview of Flutter's architecture, rendering pipeline, and lifecycle, comparing it with React Native and explaining how its self‑draw engine, Dart language, and cross‑platform capabilities make it a compelling choice for modern frontend development.
DartSkiaui-rendering
0 likes · 27 min read

The article presents the FoxPage Native platform developed by Trip.com to address homepage iteration challenges by using a JSON‑based DSL, Flexbox layout, and a modular architecture that enables high‑performance, dynamic, and multi‑device UI rendering with low development cost.
DSLFlexboxarchitecture
0 likes · 12 min read

RND (React Node Desktop) is a lightweight cross‑platform desktop framework that merges a React‑based JavaScript layer, an embedded V8‑powered Node runtime, and a native UI engine (Lyra with Yoga layout), employing a dual‑thread model, shared V8 isolate, asynchronous bridge, modular resource handling with hot‑update, and integrated Chrome/VSCode/Electron debugging.
JavaScriptRNDReact Node Desktop
0 likes · 14 min read

To meet Xianyu’s e‑commerce product‑detail needs, the team built a custom RichText solution in Flutter that uses a zero‑width‑space placeholder (SpaceSpan) with adjustable letter‑spacing and font‑size to reserve space, then positions any widget via a Stack, enabling inline images, emojis and custom components without altering Flutter’s core rendering, though further work is needed for automatic sizing, text selection and editor integration.
FlutterRichTextSpaceSpan
0 likes · 7 min read

React’s diff algorithm, the engine behind Virtual DOM, optimizes UI rendering by comparing tree, component, and element structures using strategies like tree diff, component diff, and element diff, enabling efficient updates that minimize DOM operations and boost performance.
Diff AlgorithmReactVirtual DOM
0 likes · 7 min read

This article explains how React’s diff algorithm works with the Virtual DOM, detailing tree, component, and element diff strategies, optimization assumptions, and practical guidelines to achieve high‑performance UI rendering while minimizing unnecessary DOM operations.
Diff AlgorithmReactVirtual DOM
0 likes · 7 min read


21CTOJan 11, 2016 · Mobile Development
This article details the five major performance problems faced by the Mobile Taobao app, the Android profiling tools used to identify bottlenecks, and the step‑by‑step optimizations—including startup, UI rendering, memory management, and lazy loading—that reduced memory usage by nearly 50% and boosted frame rates by about 20%.
Android optimizationapp startupmobile performance
0 likes · 11 min read
