OBJECT-ORIENTED CONCURRENT REFLECTIVE LANGUAGES CAN BE IMPLEMENTED EFFICIENTLY

被引:0
|
作者
MASUHARA, H [1 ]
MATSUOKA, S [1 ]
WATANABE, T [1 ]
YONEZAWA, A [1 ]
机构
[1] UNIV TOKYO,DEPT INFORMAT SCI,BUNKYO KU,TOKYO 113,JAPAN
来源
SIGPLAN NOTICES | 1992年 / 27卷 / 10期
关键词
OBJECT-BASED CONCURRENCY; OBJECT GROUPS; REFLECTION; HYBRID GROUP ARCHITECTURE; META-LEVEL COMPILATION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Computational reflection is beneficial in concurrent computing in offering a linguistic mechanism for incorporating user-specific policies. New challenges are (1) how to implement them, and (2) how to do so efficiently. We present efficient implementation schemes for object-oriented concurrent reflective languages using our language ABCL/R2 as an example. The schemes include: efficient lazy creation of metaobjects/meta-groups, partial compilation of scripts (methods), dynamic progression, self-reification, and light-weight objects, all appropriately integrated so that the user-level semantics remain consistent with the meta-circular definition so that the full power of reflection is retained, while achieving practical efficiency. ABCL/R2 exhibits two orders of magnitude speed improvement over its predecessor, ABCL/R, and in fact compares favorably to the ABCL/1 compiler and also C + Sun LWP, neither supporting reflection.
引用
收藏
页码:127 / 144
页数:18
相关论文
共 50 条