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

Yungyu Zhuang, Shigeru Chiba

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

摘要

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 explains 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???
主出版物標題Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
編輯Shigeru Chiba, Eric Tanter
發行者Springer Verlag
頁面70-108
頁數39
ISBN(列印)9783642550980
DOIs
出版狀態已出版 - 2014

出版系列

名字Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
8400
ISSN(列印)0302-9743
ISSN(電子)1611-3349

指紋

深入研究「Method slots: Supporting methods, events, and advices by a single language construct」主題。共同形成了獨特的指紋。

引用此