Attaining multiple dispatch in widespread object-oriented languages

Fuente: Redalyc
Saved in:
Bibliographic Details
Main Author: Francisco Ortin
Format: Artículo científico
Language:en
Published: Universidad Nacional de Colombia 2014
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1876470600029962240
author Francisco Ortin
author_facet Francisco Ortin
contents Attaining multiple dispatch in widespread object-oriented languages Francisco Ortin Jose Quiroga Jose M. Redondo Miguel Garcia Ingeniería multi method reflection hybrid typing dynamic binding Multiple dispatch allows determining the actual method to be executed, depending on the dynamic types of its arguments. Although some programming languages provide multiple dispatch, most widespread object-oriented languages lack this feature. Therefore, different implementation techniques are commonly used to obtain multiple dispatch in these languages. We evaluate the existing approaches, presenting a new one based on hybrid dynamic and static typing. A qualitative evaluation is presented, considering factors such as software maintainability and readability, code size, parameter generalization, and compile-time type checking. We also perform a quantitative assessment of runtime performance and memory consumption. 2014 artículo científico 0012-7353 https://www.redalyc.org/articulo.oa?id=49631663031 en http://www.redalyc.org/revista.oa?id=496 Dyna application/pdf Universidad Nacional de Colombia Dyna (Colombia) Num.186 Vol.81
format Artículo científico
id redalyc_49631663031
institution Redalyc
language en
publishDate 2014
publisher Universidad Nacional de Colombia
spellingShingle Attaining multiple dispatch in widespread object-oriented languages
Francisco Ortin
Ingeniería
multi
method
reflection
hybrid typing
dynamic binding
Attaining multiple dispatch in widespread object-oriented languages Francisco Ortin Jose Quiroga Jose M. Redondo Miguel Garcia Ingeniería multi method reflection hybrid typing dynamic binding Multiple dispatch allows determining the actual method to be executed, depending on the dynamic types of its arguments. Although some programming languages provide multiple dispatch, most widespread object-oriented languages lack this feature. Therefore, different implementation techniques are commonly used to obtain multiple dispatch in these languages. We evaluate the existing approaches, presenting a new one based on hybrid dynamic and static typing. A qualitative evaluation is presented, considering factors such as software maintainability and readability, code size, parameter generalization, and compile-time type checking. We also perform a quantitative assessment of runtime performance and memory consumption. 2014 artículo científico 0012-7353 https://www.redalyc.org/articulo.oa?id=49631663031 en http://www.redalyc.org/revista.oa?id=496 Dyna application/pdf Universidad Nacional de Colombia Dyna (Colombia) Num.186 Vol.81
title Attaining multiple dispatch in widespread object-oriented languages
topic Ingeniería
multi
method
reflection
hybrid typing
dynamic binding
url https://www.redalyc.org/articulo.oa?id=49631663031