News Colloquium on Higher-Order Typed Languages, Wednesday 15 Nov 

Forum: U Chicago, Com Sci 221, autumn 2000
Date: 2000, Nov 13
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

David MacQueen of Lucent Bell Laboratories will speak this Wednesday, 15 November, 3:00-4:00 PM in Kent 120. We'll have refreshments and chat after the talk in Ryerson 255. Mr. MacQueen is famous for implementing Standard ML of New Jersey, used in Assignment #7. He will tell us about Higher Order Typed Languages (HOTL), which is our hot topic immediately after LISP/Scheme.

Title: Building Adaptable Programs in HOT Languages: A Comparison of Polymorphism, Modules, Objects, and Classes

Speaker: David MacQueen

University of Chicago, November 15, 2000

in Kent 120, at 3 P.M.

Refreshments in Ryerson 255, at 4 P.M.

The adjective "HOT", meaning Higher-Order Typed, has been used to describe a broad class of programming languages characterized by their advanced type, module, or class systems and by higher-order features like first-class functions or objects. The class of HOT languages includes functional languages such as ML and Haskell and typed object-oriented languages like Java and Eiffel. The last twenty years has seen substantial progress in the foundations of HOT languages, and in the design of languages based on those foundations. Beyond the usual benefits of a sound, statically-checked type system, HOT programming languages provide superior support for building flexible software; that is, programs and libraries that are easy to adapt or specialize for reuse in different contexts. There are two main approaches employed by HOT languages to provide this flexibility: various forms of parameterization (typical of functional languages), and subtyping and "open recursion" (characteristic of object-oriented languages).

At the data level, flexibility and expressiveness are provided through two higher-order features: first-class functions and objects. Both are basically constructs for combining code and data, but they require rather different typing schemes, and give rise to very different programming idioms.

At the type level, functional languages employ type abstraction (i.e. abstract data types), simple type parameterization (parametric polymorphism), and type parameterization with signatures (ML functors) or dictionaries (Haskell type classes). Object-oriented languages, on the other hand, use subtyping combined with implementation inheritance (classes) or related program construction schemes that I characterize collectively as "open recursion".

I will explain how these different approaches are used to support generic, adaptable libraries and frameworks, and discuss the relative strengths and weaknesses of parameterization versus subtyping/inheritance, and modules versus classes. Finally I will briefly consider some language designs that attempt to unify the two paradigms (Generic Java, Ocaml, Moby).


Mike O'D.


to: "Colloquium on Higher-Order Typed Languages, Wednesday 15 Nov"