Everything about Dead-code elimination
Compiler optimization to remove code which does not affect the program results
In compiler theory, dead-code elimination is a compiler optimization to remove dead code. Removing such code has several benefits: it shrinks program size ; reduces resource usage, such as the number of bytes to be transferred; and allows the running program to avoid executing irrelevant operations, which reduces its running time. It can also enable further optimizations by simplifying program structure. Dead code includes code that can never be executed and code that only affects dead variables, that is, irrelevant to the program. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Dead-code eliminationA 5-minute orientation
- Skim a recent paper: OPTI-BLEND, AN AST DRIVEN CODE OPTIMIZATION TOOL FOCUSING ON DEAD CODE ELIMINATION, CODE CLONE DETECTION, AND LOOP OPTIMIZATIONInfluential work since 2022
- Pick up a classic book: American FilmThe most-reprinted book on the subject
- Read the landmark paper: Partial dead code eliminationCited 50 times
- Go sideways: Dynamic software updatingA closely related topic
- Go sideways: Tree shakingA closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Partial dead code elimination
JavaScript Dead Code Identification, Elimination, and Empirical Assessment
Eliminating dead code on recursive data
Eliminating partially dead code in explicitly parallel programs
Dead code elimination based pointer analysis for multithreaded programs
Partial dead code elimination using slicing transformations
Partial dead code elimination on predicated code regions
Demand-driven Partial Dead Code Elimination
🆕 Influential since 2022
OPTI-BLEND, AN AST DRIVEN CODE OPTIMIZATION TOOL FOCUSING ON DEAD CODE ELIMINATION, CODE CLONE DETECTION, AND LOOP OPTIMIZATION
A Mathematical Modeling Framework Opti-Blend for Integrated Code Analysis through Dead Code Elimination, Clone Detection, and Loop Optimization
The Opticode: A User-Centric Tool for Enhancing Software Efficiency and Minimizing Errors Through Dead Code Elimination and Loop Invariant Code Motion Techniques
A Novel Approach to Eliminate the Dead Code and Change the Looping Structure for Optimizing the Code
📚 Books worth reading
American FilmAmerican Film Institute · 1975
The Conspirators HierarchyJohn Coleman · 1992
Experimental Wireless Stations Their Theory, Design, Construction And OperationEdelman, Philip E., 1894- · 1912
The Encyclopedia of Arcade Video GamesBill Kurtz · 2003- 📕The making of the New TestamentArthur G. Patzia · 2011
Quest for the Historical Jesus Christ and ChristianityMr.Avinash Patra · 2011
The Human Planet · 2009
Prayer and actionErnest Edward Holmes · 1911
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Dynamic software updating In computer science, dynamic software updating (DSU) is a field of research pertaining to upgrading programs while they are running. DSU is not currently…
- Tree shaking In computing, tree shaking is a dead code elimination technique that is applied when bundling code with its dependencies. It is most commonly applied to…
- Dynamic recompilation In computer science, dynamic recompilation is a feature of some emulators and virtual machines, where the system may recompile some part of a program during…
- Unreachable code In computer programming, unreachable code is part of the source code of a program which can never be executed because there exists no control flow path…
- Code bloat In computer programming, code bloat is the production of executable code (source code or machine code) that is unnecessarily long, slow, or otherwise wasteful…
- Bytecode Bytecode (also called portable code or p-code) is an instruction set designed for efficient execution by a software interpreter. Unlike human-readable…
- Dynamic program analysis Dynamic program analysis is the act of analyzing software that involves executing a program – as opposed to static program analysis, which does not execute…
- Fat binary A fat binary (or multiarchitecture binary) is a computer executable program or library which has been expanded (or "fattened") with code native to multiple…