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...
Uloženo v:
| Vydáno v: | Computer languages, systems & structures Ročník 51; s. 90 - 101 |
|---|---|
| Hlavní autoři: | , |
| Médium: | Journal Article |
| Jazyk: | angličtina |
| Vydáno: |
Elsevier Ltd
01.01.2018
|
| Témata: | |
| ISSN: | 1477-8424, 1873-6866 |
| On-line přístup: | Získat plný text |
| Tagy: |
Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
|
| Shrnutí: | •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 |