Everything About ___
Live briefing

Everything about Double dispatch

Feature in programming languages

In software engineering, double dispatch is a special form of multiple dispatch, and a mechanism that dispatches a function call to different concrete functions depending on the runtime types of two objects involved in the call. In most object-oriented systems, the concrete function that is called from a function call in the code depends on the dynamic type of a single object and therefore they are known as single dispatch calls, or simply virtual function calls. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Double dispatchA 5-minute orientation
  2. Skim a recent paper: A dueling double deep Q network assisted cooperative dual-population coevolutionary algorithm for multi-objective combined economic and emission dispatch problemsInfluential work since 2022
  3. Pick up a classic book: A voyage of discovery to the North Pacific Ocean.The most-reprinted book on the subject
  4. Read the landmark paper: Pareto-efficient double auction power transactions for economic reactive power dispatchCited 16 times
  5. Go sideways: Multiple dispatchA closely related topic
  6. Go sideways: Generic functionA closely related topic

📖 Definitions

Noun A mechanism that dispatches a function call to different concrete functions depending on the runtime types of two objects involved.

🗂️ The subject at a glance

  1. Overview
  2. Use cases
  3. Examples

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics