Skip to main content

2003 | OriginalPaper | Buchkapitel

Walkabout Revisited: The Runabout

verfasst von : Christian Grothoff

Erschienen in: ECOOP 2003 – Object-Oriented Programming

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

We present a variation of the visitor pattern which allows programmers to write visitor-like code in a concise way. The Runabout is a library extension that adds a limited form of multi-dispatch to Java. While the Runabout is not as expressive as a general multiple dispatching facility, the Runabout can be significantly faster than existing implementations of multiple dispatch for Java, such as MultiJava. Unlike MultiJava, the Runabout does not require changes to the syntax and the compiler.In this paper we illustrate how to use the Runabout, detail its implementation and provide benchmarks comparing its performance with other approaches.

Metadaten
Titel
Walkabout Revisited: The Runabout
verfasst von
Christian Grothoff
Copyright-Jahr
2003
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-540-45070-2_6

Premium Partner