Live briefing
Everything about Tree shaking
Dead code elimination technique
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 languages, in practice most commonly JavaScript/ECMAScript. Often contrasted with traditional single-library dead code elimination techniques common to minifiers, tree shaking eliminates unused functions from across the bundle by starting at the entry point and only including functions that may be executed. It is succinctly described as "live code inclusion". Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Tree shakingA 5-minute orientation
- Skim a recent paper: Test and analysis of walnut (Juglans regia L.) tree vibration transfer based on a low-frequency shaking tableInfluential work since 2022
- Pick up a classic book: Masterpieces of mystery and suspenseThe most-reprinted book on the subject
- Read the landmark paper: Mammalian phytogeny: shaking the treeCited 486 times
- Go sideways: Scope (computer programming)A closely related topic
- Go sideways: Dead-code eliminationA closely related topic
📖 Definitions
Noun In JavaScript, automatic dead code elimination during the build.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
Mammalian phytogeny: shaking the tree
Shaking the tree: mapping complex disease genes with linkage disequilibrium
Shaking the Tree: Multi-locus Sequence Typing Usurps Current Onchocercid (Filarial Nematode) Phylogeny
Shaking the myosin family tree: Biochemical kinetics defines four types of myosin motor
Shaking the Tree, Making a Rhizome: Towards a nomadic geophilosophy of science education
Shaking up the Tree of Life
A Semi-Automated Harvesting Prototype for Shaking Fruit Tree Limbs
Tree Seedling Growth: Effects of Shaking
🆕 Influential since 2022
📚 Books worth reading
Masterpieces of mystery and suspenseMartin H. Greenberg, Arthur Conan Doyle · 1988
Shaking the money treeMorrie Warshawski · 1994- 📕Shaking the Sugar TreeNick Wilgus · 2014
Shaking the TreeHenry Gee · 2000- 📕How to shake the money treeRobert Metz · 1966
Shaking the TreeMeri Nana-Ama Danquah · 2003
Shaking your family treeRalph J. Crandall · 1986
Shaking your family tree workbookMaureen Elizabeth McHugh · 1990
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Scope (computer programming) In computer programming, the scope of a name binding (an association of a name to an entity, such as a variable) is the part of a program in which the…
- Dead-code elimination In compiler theory, dead-code elimination (DCE, dead-code removal, dead-code stripping, or dead-code strip) is a compiler optimization to remove dead code…
- List of programming languages by type The notable programming languages listed here are grouped by their notable language attribute. As a language can have multiple attributes, the same language…
- Dart (programming language) Dart is a programming language designed by Lars Bak and Kasper Lund and developed by Google. It can be used to develop web and mobile apps as well as server…
- Dynamic programming language A dynamic programming language is a type of programming language that allows various operations to be determined and executed at runtime. This is different…
- Haxe Haxe is a high-level cross-platform programming language and compiler that can produce applications and source code for many different computing platforms…
- Bytecode Bytecode (also called portable code or p-code) is an instruction set designed for efficient execution by a software interpreter. Unlike human-readable…
- Prototype-based programming Prototype-based programming is a style of object-oriented programming in which behavior reuse (known as inheritance) is performed via a process of reusing…