Method slots: Supporting methods, events, and advices by a single language construct

Yung Yu Zhuang, Shigeru Chiba

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

11 Scopus citations

Abstract

To simplify the constructs that programmers have to learn for using paradigms, we extend methods to a new language construct, a method slot, to support both the event-handler paradigm and the aspect paradigm. A method slot is an object's property that can keep more than one function closure and be called like a method. We also propose a Java-based language, DominoJ, which replaces methods in Java with method slots, and explain the behavior of method slots and the operators. Then we evaluate the coverage of expressive ability of method slots by comparing DominoJ with other languages in detail. The feasibility of method slots is shown as well by implementing a prototype compiler and running a preliminary microbenchmark for it.

Original languageEnglish
Title of host publicationAOSD 2013 - Proceedings of the 2013 ACM on Aspect-Oriented Software Development
Pages197-208
Number of pages12
DOIs
StatePublished - 2013
Event12th Annual International Conference on Aspect-Oriented Software Development, AOSD 2013 - Fukuoka, Japan
Duration: 24 Mar 201329 Mar 2013

Publication series

NameAOSD 2013 - Proceedings of the 2013 ACM on Aspect-Oriented Software Development

Conference

Conference12th Annual International Conference on Aspect-Oriented Software Development, AOSD 2013
Country/TerritoryJapan
CityFukuoka
Period24/03/1329/03/13

Keywords

  • Aspect-oriented programming
  • Event-driven programming

Cite this