Programming Languages White Papers

Open Multi-Methods for C++

Overview Multiple dispatch - the selection of a function to be invoked based on the dynamic type of two or more arguments - is a solution to several classical problems in object-oriented programming. Open multi-methods generalize multiple dispatch towards open-class extensions, which improve separation of concerns and provisions for retroactive design. This paper presents the rationale, design, implementation, and performance of a language feature, called open multi-methods, for C++. Their open multi-methods support both repeated and virtual inheritance. Their call resolution rules generalize both virtual function dispatch and overload resolution semantics. After using all information from argument types, these rules can resolve further ambiguities by using covariant return types. Great care was taken to integrate open multi-methods with existing C++ language features and rules.

Further White Paper Details
PublisherAssociation for Computing Machinery File FormatPDF
Date PublishedOctober 2007
FormatWhite Papers   
Topics

Citizants: Bringing IT In-House

Citizant enhances IT flexibility and scalability by creating a virtualized Dell infrastructure that will pay for itself in 18 months.

Designing High Availability for Internet Information Services

End downtime forever! - Organizations today are relying more and more on Web services for the implementation of mission-critical applications. With the advent of Service-Oriented Architectures (SOAs),which make extensive use...

Five JavaScript Frameworks: A Point-by-Point Comparison

There are a multitude of JavaScript frameworks available today for programming rich client-side interactions in web applications. With many such different options, it is important to choose a framework that...

Increase Reliability with IBM WebSphere File Transfer Edition (FTE)

"Does your organization still use FTP software? Did you know these links require 3 to 4 times more time and effort to build and maintain versus SOA-based Application Integration projects?...

Energy Monitoring Firm Saves Money, Scales Business With Hosted Computing Platform

Advanced Telemetry develops systems to help businesses monitor and control energy usage, onsite or via the Internet. The company employees 22 people. Advanced Telemetry needed a cost-effective way to scale...


Quick Sitemap Links: