An object model for dynamic mixins
•A statically typed language called mix is defined for dynamic mixin based development.•An object model used for its implementation avoids name lookup for finding method pointers.•Preliminary results indicate method access for dynamic mixins approaches the performance of applications using staticall...
Saved in:
| Published in: | Computer languages, systems & structures Vol. 51; pp. 90 - 101 |
|---|---|
| Main Authors: | , |
| Format: | Journal Article |
| Language: | English |
| Published: |
Elsevier Ltd
01.01.2018
|
| Subjects: | |
| ISSN: | 1477-8424, 1873-6866 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | •A statically typed language called mix is defined for dynamic mixin based development.•An object model used for its implementation avoids name lookup for finding method pointers.•Preliminary results indicate method access for dynamic mixins approaches the performance of applications using statically inherited classes.
Dynamic mixins allow objects to be modified at runtime with modular extensions. In applications where method calls must traverse through multiple extensions, a performance penalty relative to static inheritance is realized as receivers of super-calls must be determined at run-time. This work describes an object model which significantly reduces this penalty. The approach is described in terms of a statically typed dynamic mixin-based language called ▪. |
|---|---|
| ISSN: | 1477-8424 1873-6866 |
| DOI: | 10.1016/j.cl.2017.07.001 |