Dynamic dispatch - Wikipedia
In computer science, dynamic dispatch is the process of selecting which implementation of a polymorphic operation (method or function) to call at run time. It is commonly employed in, and considered a prime characteristic of, object-oriented programming (OOP) languages and systems.[1] Object-oriented systems model a problem as a set of interacting objects that enact operations referred to by name. Polymorphism is the phenomenon wherein somewhat interchangeable objects each expose an operation of the same name but possibly differing in behavior. As an example, a File object and a Database object both have a StoreRecord method that can be used to write a personnel record to storage. Their implementations differ. A program holds a reference to an object which may be either a File object or a Database object. Which one it is may have been determined by a run-time setting, and at this stage, the program may not know or care which. When the program calls StoreRecord on the object, something
Dynamic dispatch - Wikipedia Jump to content From Wikipedia, the free encyclopedia Computer science process This article is about the selection of an implementation of a polymorphic operation. For dynamic binding, see Late binding . Polymorphism Ad hoc polymorphism Function overloading Operator overloading Parametric polymorphism Generic function Generic programming Subtyping Virtual function Single and dynamic dispatch Double dispatch Multiple dispatch Predicate dispatch v t e In computer science , dynamic dispatch is the process of selecting which implementation of a polymorphic operation (
Explore this link on the map →saved by
related reading
- 14. Polymorphism - CS2030S Programming Methodology IInus-cs2030s.github.io
- how I think when I think about programming - alice mazalicemaz.com
- PyTorch internals : ezyang's blogblog.ezyang.com
- Reading 19: Little Languagesweb.mit.edu
- Just-in-time compilation - Wikipediaen.wikipedia.org
- LEAP 71 | PicoGK.org Blogpicogk.org
- Defining Shared Behavior with Traits - The Rust Programming Languagedoc.rust-lang.org
- A Map of the Territory · Crafting Interpreterscraftinginterpreters.com
- A Map of the Territory · Crafting Interpreterscraftinginterpreters.com
- The Alternative Implementation Problempointersgonewild.com
- It’s Time for a Modern Synthesis Kernel – Embedded in Academiablog.regehr.org
- Modern Python performance considerations [LWN.net]lwn.net