Tagged articles
8 articles
Page 1 of 1
JD Cloud Developers
JD Cloud Developers
May 22, 2024 · Mobile Development

How I Reduced a Rust Android Dynamic Library from 495KB to 95KB

This article explains how the size of a Rust‑based Android dynamic library, initially 495 KB, was dramatically reduced to 95 KB through compiler optimization levels, link‑time optimization, panic handling changes, stripping unused sections, and custom linker scripts, providing practical tips for mobile developers.

AndroidDynamic LibraryLTO
0 likes · 11 min read
How I Reduced a Rust Android Dynamic Library from 495KB to 95KB
JD Tech Talk
JD Tech Talk
May 22, 2024 · Mobile Development

Optimizing Rust Android Dynamic Library Size: Strategies and Results

This article details how the author reduced the size of a Rust‑based Android JNI dynamic library from 495 KB to 95 KB by adjusting compiler optimization levels, enabling LTO, switching panic handling to abort, removing unused strings, applying panic_immediate_abort, and crafting a custom linker script, while providing code snippets and size comparison tables.

AndroidBinary Size OptimizationLTO
0 likes · 11 min read
Optimizing Rust Android Dynamic Library Size: Strategies and Results
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
May 7, 2024 · Mobile Development

iOS App Size Reduction at Tongcheng Travel: Methodology, Analysis, Detection Scripts, and Optimization Techniques

This article details Tongcheng Travel's comprehensive iOS app slimming process, covering background importance, size‑reduction techniques, multi‑dimensional analysis, Python‑based detection scripts, compiler LTO optimization, resource governance, platform automation, and the resulting 29% package size decrease that boosted download conversion.

LTOMobile DevelopmentPython Scripts
0 likes · 16 min read
iOS App Size Reduction at Tongcheng Travel: Methodology, Analysis, Detection Scripts, and Optimization Techniques
Baidu Geek Talk
Baidu Geek Talk
Dec 4, 2023 · Mobile Development

Compiler Optimization

The article details Baidu APP’s comprehensive compiler‑optimization strategy, including GCC‑Oz size reduction, Swift‑Osize with whole‑module optimization, link‑time optimization, symbol stripping, dead‑code removal, asset catalog compression, minimizing C++ virtual functions, slimming third‑party SDKs, dropping unused ARM architectures, Xcode 14 binary‑size tweaks, and eliminating built‑in Swift libraries by raising the minimum iOS version.

Code OptimizationCompiler OptimizationLTO
0 likes · 16 min read
Compiler Optimization
Baidu App Technology
Baidu App Technology
Nov 16, 2023 · Mobile Development

How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations

This article details Baidu APP’s iOS package‑size optimization series, focusing on compiler tweaks (GCC, Swift, LTO, symbol stripping, dead‑code removal, asset catalog settings, C++ virtual‑function reduction, third‑party SDK slimming), instruction‑set pruning, Xcode‑14 improvements, and Swift dynamic‑library handling, together with concrete Xcode configuration steps and measured size gains.

Compiler OptimizationLTOPackage Size Optimization
0 likes · 21 min read
How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations
Meituan Technology Team
Meituan Technology Team
Jun 2, 2022 · Mobile Development

Optimizing Android .so Library Size: Techniques and Practices

This article explains how Meituan engineers shrink Android native .so libraries by analyzing ELF sections, simplifying dynamic symbols, removing dead code, using link‑time optimization, garbage‑collecting sections, applying size‑focused compiler flags, disabling exceptions/RTTI, and merging or extracting libraries, achieving 30‑60% APK size reductions and faster load times.

AndroidELFLTO
0 likes · 31 min read
Optimizing Android .so Library Size: Techniques and Practices
21CTO
21CTO
Apr 26, 2021 · Fundamentals

Linux Kernel 5.12 Released: New Intel Xe GPU Variable Refresh, LTO, and KFENCE Support

After a week-long delay, Linus Torvalds announced the official release of Linux kernel 5.12, highlighting support for Intel Xe GPU variable refresh rates, C language link‑time optimization (LTO), kernel fencing (KFENCE), and overclock profiles for AMD Radeon RX 6000 series, while noting it’s a modest update ahead of the larger 5.13.

5.12Intel Xe GPUKFENCE
0 likes · 2 min read
Linux Kernel 5.12 Released: New Intel Xe GPU Variable Refresh, LTO, and KFENCE Support