loading...
Implementing Dynamic Language Features in Java Using Dynamic Code Generation
Santa Barbara, California July 29-August 03
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TOOLS.2001.94166839th International Conference and Exh ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Thomas M. Breuel, Xerox PARC
Abstract: Compared to dynamic object-oriented languages like CommonLisp or Smalltalk, Java has a fairly simple and restrictive object and type system. Some of the key Differences between Java and these other languages is that they offer structural conformance, automatic delegation, and dynamic mixins. When such constructs are needed in a language like Java, they are usually expressed in terms of standard obj ct-oriented design patterns, requiring the manual implementation of "glue" or "helper" classes. This paper describes ways in which such features can be provided efficiently and automatically in terms of Java's platform-independent binary format and dynamic loading mechanisms. The implementation does not require any changes to the Java runtime, bytecodes, or class loader and yields performance comparable to manually implemented design patterns. The approach should prove useful both as a programming tool for Java and as an strategy for building efficient implementations of dynamic languages on top of the Java virtual machine.
Citation:
Thomas M. Breuel, "Implementing Dynamic Language Features in Java Using Dynamic Code Generation," tools, pp.0143, 39th International Conference and Exhibition on Technology of Object-Oriented Languages and Systems (TOOLS39), 2001
Usage of this product signifies your acceptance of the Terms of Use.