Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Vortragsankuendigung Davide Ancona, 7. April 14:00

0 views
Skip to first unread message

Robert Baumgartner

unread,
Mar 19, 2000, 3:00:00 AM3/19/00
to

Davide Ancona
DISI,Genova,ITALY

FR 7. April Seminarraum DBAI 184/2
14:00 s.t. Fav.str.9, 3.Stk

Eingeladener Vortrag im Rahmen des
Seminars aus Informatik (G. Gottlob)

--------------------------------------------------------------
Jam - A Smooth Extension of Java with Mixins
--------------------------------------------------------------

In this talk I will present Jam, an extension of the Java
language supporting mixins, that is, parametric heir classes.
A mixin declaration in Jam is similar to a Java heir class
declaration, except that it does not extend a fixed parent
class, but simply specifies the set of fields and methods
a generic parent should provide. In this way, the same mixin
can be instantiated on many parent classes, producing different
heirs, thus avoiding code duplication and largely improving
modularity and reuse. Moreover, as happens for classes and
interfaces, mixin names are reference types, and all the
classes obtained instantiating the same mixin are considered
subtypes of the corresponding type, hence can be handled in a
uniform way through the common interface. This possibility
allows a programming style where different ingredients are
``mixed'' together in defining a class; this paradigm is
somewhat similar to that based on multiple inheritance, but
avoids its complication.

The language has been designed with the main objective in mind
to obtain, rather than a new theoretical language, a working
and smooth extension of Java. That means, on the design side,
that we have faced the challenging problem of integrating the
Java overall principles and complex type system with this new
notion; on the implementation side, that we have developed a
Jam to Java translator which makes Jam sources executable on
every Java Virtual Machine.


#####################################################################
Informationsdienst Inst. f. Informationssysteme, Abt. f. Datenbanken
und Artificial Intelligence TU Wien E184/2. Fuer regelmaessige Zusendung
dieser Nachrichten senden Sie email an list...@dbai.tuwien.ac.at,
mit "SUB PUBLIC <Ihr Name>" als einziger Zeile (kein Subject).
Siehe auch http://www.dbai.tuwien.ac.at/marchives/public/


0 new messages