𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Multiple dispatch in reflective runtime environment

✍ Scribed by Rajeev Kumar; Vikram Agrawal


Publisher
Elsevier Science
Year
2007
Tongue
English
Weight
225 KB
Volume
33
Category
Article
ISSN
1477-8424

No coin nor oath required. For personal study only.

✦ Synopsis


Message dispatch in object-oriented programming (OOP) involves target method lookup in dispatch table/tree. Reflective environment builds dispatch data-structure at runtime as types can be added at runtime. Hence, algorithms for reflective environments require dynamic data structure for dispatch. In this paper, we propose a tree-based algorithm for multiple dispatch in reflective runtime environment. New classes can be added to the system at runtime. Proposed algorithm performs lookup in time proportional to log(n) times the polymorphic arguments, where n is number of classes in a system. Proposed algorithm uses type-safe approach for multimethod lookup resolving ambiguities. We compare performance of the proposed algorithm with the dispatch mechanism in commonly used virtual/reflexive systems, e.g., Java and Microsoft's Common Language Runtime (MS-CLR), in respect of efficiency and type-safety.


πŸ“œ SIMILAR VOLUMES


Multiple Andreev reflections in diffusiv
✍ Rafael Taboryski; Jonatan Kutchinsky; JΓΈrn Bindslev Hansen; Morten Wildt; Claus πŸ“‚ Article πŸ“… 1999 πŸ› Elsevier Science 🌐 English βš– 245 KB

We report new measurements on subgap energy structures originating from multiple Andreev reflections in mesoscopic SNS junctions. The junctions were fabricated in a planar geometry with high-transparency superconducting contacts of Al deposited on highly diffusive and surface Ξ΄-doped n ++ -GaAs. For