Tagged articles
6 articles
Page 1 of 1
Alipay Experience Technology
Alipay Experience Technology
May 7, 2025 · Mobile Development

How to Shrink Kotlin/Native Binary Size for Mobile Apps: Practical Optimizations

This article details the Alipay Tech team's systematic approach to reducing Kotlin/Native binary size for Android, iOS, and HarmonyOS by tuning compiler parameters, leveraging LLVM optimization passes, and applying fine‑grained export and dead‑code‑elimination strategies, complete with test methods and measurable results.

Compiler FlagsDCEKotlin Multiplatform
0 likes · 14 min read
How to Shrink Kotlin/Native Binary Size for Mobile Apps: Practical Optimizations
Radish, Keep Going!
Radish, Keep Going!
Jan 20, 2025 · Backend Development

How to Slash Go Binary Size by Up to 80%: Compiler Flags & UPX

Discover practical techniques to dramatically reduce the size of Go executables—starting with stripping debug symbols using ldflags, then applying UPX compression with optimal settings, and combining both methods to shrink a 6.5 MB binary down to around 1.4 MB, saving up to 80% space.

Compiler Flagsbinary sizeexecutable compression
0 likes · 7 min read
How to Slash Go Binary Size by Up to 80%: Compiler Flags & UPX
Architecture Development Notes
Architecture Development Notes
Aug 15, 2024 · Fundamentals

How Go’s Compiler Shrinks Binaries with Dead Code Elimination

This article explains Go’s dead code elimination (DCE) optimization, demonstrates it with sample code, shows how to inspect compiled binaries using go tool nm, and discusses factors that affect DCE such as code complexity, compiler flags, and reflection, helping developers reduce binary size.

Compiler OptimizationGobinary size
0 likes · 6 min read
How Go’s Compiler Shrinks Binaries with Dead Code Elimination
21CTO
21CTO
Feb 28, 2024 · Backend Development

Deno 1.41 Cuts Binary Size by 50% and Adds Official Linux ARM64 Support

Version 1.41 of the Deno runtime, released on February 23, reduces compiled binary sizes by up to 50%, introduces official Linux ARM64 binaries, adds several Node.js compatibility fixes, expands API capabilities, and improves language server features, while outlining future plans for further size reductions and custom builds.

DenoLinux ARM64Node.js compatibility
0 likes · 4 min read
Deno 1.41 Cuts Binary Size by 50% and Adds Official Linux ARM64 Support
iQIYI Technical Product Team
iQIYI Technical Product Team
Dec 1, 2017 · Mobile Development

Controlling __TEXT Segment Size in iOS Apps: Practices, Tools, and Metrics

The article explains how iOS engineers keep the __TEXT segment under Apple’s strict size limits by removing unused code, using Link Map analysis, applying a custom SizeLine metric, and adopting coding practices such as limiting blocks, macros, and hard‑coded strings, all supported by automated monitoring and feedback.

Code OptimizationLink Mapbinary size
0 likes · 11 min read
Controlling __TEXT Segment Size in iOS Apps: Practices, Tools, and Metrics