Skip to content

Opening book details…

Can I read Realization of Multimethods in Single Dispatch Object Oriented Languages on EtoBox?

Realization of Multimethods in Single Dispatch Object Oriented Languages by Rajeev Kumar; Vikram Agrawal; Anil Mangolia is a Computer Science article available to read on EtoBox.

What is Realization of Multimethods in Single Dispatch Object Oriented Languages about?

The need for multimethods is preeminent in the domain of object-oriented programming. However, multimethods are far from universally acknowledged. Commonly used languages - C++, Java & C# - are single dispatching languages. In this paper, we demonstrate the alternatives for multimethods in such languages. The techniques discussed, in this paper, include double dispatching (a well known technique), technique of message dispatching using RTTI (explored in detail by us in this paper), and reflection (a feature provided by some compilers). We implement these techniques for C++, Java and C# languages and discuss issues associated with encapsulating multimethods in single dispatch languages. We also compare techniques in terms of their efficiency, ease of (re)use and type safety.

Who reads Realization of Multimethods in Single Dispatch Object Oriented Languages?

It is typically read by researchers, students, and practitioners in Computer Science.

Author
Rajeev Kumar; Vikram Agrawal; Anil Mangolia
Publisher
ACM
Published
2005
Language
EN
Field
Computer Science (Physical Sciences)

More by Rajeev Kumar; Vikram Agrawal; Anil Mangolia

Browse all works by Rajeev Kumar; Vikram Agrawal; Anil Mangolia