Javascript must be enabled to continue!
Multiple dispatch in practice
View through CrossRef
Multiple dispatch uses the run time types of more than one argument to a method call to determine which method body to run. While several languages over the last 20 years have provided multiple dispatch, most object-oriented languages still support only single dispatch forcing programmers to implement multiple dispatch manually when required. This paper presents an empirical study of the use of multiple dispatch in practice, considering six languages that support multiple dispatch, and also investigating the potential for multiple dispatch in Java programs. We hope that this study will help programmers understand the uses and abuses of multiple dispatch; virtual machine implementors optimise multiple dispatch; and language designers to evaluate the choice of providing multiple dispatch in new programming languages.
Association for Computing Machinery (ACM)
Title: Multiple dispatch in practice
Description:
Multiple dispatch uses the run time types of more than one argument to a method call to determine which method body to run.
While several languages over the last 20 years have provided multiple dispatch, most object-oriented languages still support only single dispatch forcing programmers to implement multiple dispatch manually when required.
This paper presents an empirical study of the use of multiple dispatch in practice, considering six languages that support multiple dispatch, and also investigating the potential for multiple dispatch in Java programs.
We hope that this study will help programmers understand the uses and abuses of multiple dispatch; virtual machine implementors optimise multiple dispatch; and language designers to evaluate the choice of providing multiple dispatch in new programming languages.
Related Results
Technical Control and Optimal Dispatch Strategy for a Hybrid Energy System
Technical Control and Optimal Dispatch Strategy for a Hybrid Energy System
Optimal dispatch is a major concern in the optimization of hybrid energy systems (HESs). Efficient and effective dispatch models that satisfy the load demand at the minimum net pre...
Hierarchical learning optimisation method for the coordination dispatch of the inter‐regional power grid considering the quality of service index
Hierarchical learning optimisation method for the coordination dispatch of the inter‐regional power grid considering the quality of service index
The economic dispatch of the inter‐regional power grid with multiple uncertain sources and loads is focused in this study. As the tie‐line can transmit the power between regional g...
Evolution of Ambulance Dispatch Systems in Saudi Arabia: A Saudi Red Crescent Authority Perspective
Evolution of Ambulance Dispatch Systems in Saudi Arabia: A Saudi Red Crescent Authority Perspective
The evolution of ambulance dispatch systems in Saudi Arabia has significantly transformed in recent years, particularly through the efforts of the Saudi Red Crescent Authority (SRC...
Cloud Computing Based Data Processing and Automated Management of Power Dispatch
Cloud Computing Based Data Processing and Automated Management of Power Dispatch
Abstract
As smart grids increase, the scope of power dispatch systems has broadened, encompassing not just traditional dispatch services but also multifaceted inf...
Optimal Dispatch of Unreliable Electric Grid-Connected Diesel Generator-Battery Power Systems
Optimal Dispatch of Unreliable Electric Grid-Connected Diesel Generator-Battery Power Systems
Abstract
Diesel generator (DG)-battery power systems are often adopted by telecom operators, especially in semi-urban and rural areas of developing countries. Unr...
Study on the Influence of Reservoir Dispatch of the Upper Yangtze River on the Runoff Control
Study on the Influence of Reservoir Dispatch of the Upper Yangtze River on the Runoff Control
The reservoir group focusing on the Three Georges reservoir has been established in the upper Yangtze River, with a total regulation capacity of 51.5 billion m3. The reservoir grou...
Robust economic model predictive control of smart grids
Robust economic model predictive control of smart grids
(English) This thesis proposes a Robust Economic Model Predictive Control (REMPC) design based on deterministic approach for optimizing economic costs of energy production and disp...
Efficiency of Mobile Application of Thai Criteria Based Dispatch: A Randomized Controlled Crossover Trial
Efficiency of Mobile Application of Thai Criteria Based Dispatch: A Randomized Controlled Crossover Trial
The main purpose of the emergency medical system is a timely and appropriate response that significantly impacts health outcomes. In Thailand, due to lack of staff, emergency medic...

