J&
Nathaniel Nystrom, Xin Qi, Andrew C. Myers · ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA) · 2006
This paper introduces a programming language that makes it convenient to compose large software systems, combining their features in a modular way. J& supports nested intersection, building on earlier work on nested inheritance in the language Jx. Nested inheritance permits modular, type-safe extension of a package (including nested packages and classes), while preserving existing type relationships. Nested intersection enables composition and extension of two or more packages, combining their types and behavior while resolving conflicts with a relatively small amount of code. The utility of J& is demonstrated by using it to construct two composable, extensible frameworks: a compiler framework for Java, and a peer-to-peer networking system. Both frameworks support composition of extensions. For example, two compilers adding different, domain-specific features to Java can be composed to obtain a compiler for a language that supports both sets of features.
Cited by 101 works. doi:10.1145/1167473.1167476
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- Pastry: Scalable, Decentralized Object Location, and Routing for Large-Scale Peer-to-Peer Systems
- Object-Oriented Software Construction
- Aspect-oriented programming
- Object-oriented software construction
- The C++ programming language (2nd ed.)
- Aspect-oriented programming
- N degrees of separation
- A semantics of multiple inheritance
- Multiple inheritance in smalltalk-80