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

Yung Yu Zhuang, Shigeru Chiba

研究成果: 書貢獻/報告類型會議論文篇章同行評審

11 引文 斯高帕斯(Scopus)

摘要

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.

原文???core.languages.en_GB???
主出版物標題AOSD 2013 - Proceedings of the 2013 ACM on Aspect-Oriented Software Development
頁面197-208
頁數12
DOIs
出版狀態已出版 - 2013
事件12th Annual International Conference on Aspect-Oriented Software Development, AOSD 2013 - Fukuoka, Japan
持續時間: 24 3月 201329 3月 2013

出版系列

名字AOSD 2013 - Proceedings of the 2013 ACM on Aspect-Oriented Software Development

???event.eventtypes.event.conference???

???event.eventtypes.event.conference???12th Annual International Conference on Aspect-Oriented Software Development, AOSD 2013
國家/地區Japan
城市Fukuoka
期間24/03/1329/03/13

引用此