z-logo
open-access-imgOpen Access
Type system for specializing polymorphism
Author(s) -
Atsushi Ohori
Publication year - 1997
Publication title -
lecture notes in computer science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.249
H-Index - 400
eISSN - 1611-3349
pISSN - 0302-9743
ISBN - 3-540-63388-X
DOI - 10.1007/bfb0014549
Subject(s) - computer science , programming language , flexibility (engineering) , generic programming , computation , data type , theoretical computer science , type theory , type (biology) , mathematics , ecology , statistics , biology
Flexibility of programming and eciency of program execu- tion are two important features of a programming language. Unfortu- nately, however, there is an inherent conflict between these features in design and implementation of a modern statically typed programming language. Flexibility is achieved by high-degree of polymorphism, which is based on generic primitives in an abstract model of computation, while eciency requires optimal use of low-level primitives specialized to indi- vidual data structures. The motivation of this work is to reconcile these two features by developing a mechanism for specializing polymorphic primitives based on static type information. We first present a method for coherent transformation of an ML style polymorphic language into an explicitly typed calculus. We then analyze the existing methods for compiling record calculus and unboxed calculus, extract their common structure, and develop a framework for type based specialization of poly- morphism.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom