CLARK, Tony (2016). Static meta-object protocols : towards efficient reflective object-oriented languages. In: FUENTES, Lidia, BATORY, Don and CZARMECKI, Krzysztof, (eds.) MODULARITY Companion 2016 : Companion proceedings of the 15th International Conference on Modularity. ACM, 160-167. [Book Section]
Documents
13365:44191
PDF
paper.pdf - Accepted Version
Available under License All rights reserved.
paper.pdf - Accepted Version
Available under License All rights reserved.
Download (635kB) | Preview
Abstract
Reflection and extensibility in object-oriented programming languages can be supported by meta-object protocols (MOP) that define class-based interfaces over data representation and execution features. MOPs are typically dynamic in the sense that type-based dispatching is used to select between feature implementations at run time leading to a significant difference in execution speed compared to non-MOP-based languages. Defining a corresponding static-MOP would seem to be a solution whereby type-dispatching can occur at compile time. Such an approach requires the integration of a static type system with a MOP. This paper introduces a new reflective and extensible language called JMF written in Java that aims to generate efficient code through the use of a static-MOP. The contribution of this paper is to characterise a static-MOP and to show how it integrates with a type system for JMF.
More Information
Statistics
Downloads
Downloads per month over past year
Metrics
Altmetric Badge
Dimensions Badge
Share
Actions (login required)
View Item |