Type Inference to Optimize a Hybrid Statically and Dynamically Typed Language
Autor(es) y otros:
Palabra(s) clave:
Hybrid Static and Dynamic Typin
Union Type
Intersection Type
Runtime Performance
Type Systems
Fecha de publicación:
Editorial:
Oxford University Press
Versión del editor:
Citación:
Descripción física:
Resumen:
Dynamically typed languages are becoming increasingly popular for different software development scenarios such asWeb engineering, rapid prototyping or the construction of applications that require runtime adaptiveness. In contrast, statically typed languages have undeniable advantages such as early type error detection and more opportunities for compiler ptimizations. Since both approaches offer different benefits, hybrid statically and dynamically typed programming languages have emerged, and some statically typed languages have also incorporated dynamic typing capabilities. In this paper, we present the minimal core of StaDyn, a hybrid typing language that performs static type inference of both statically and dynamically typed references. The type information gathered by the compiler is used to generate efficient .NET code, obtaining a significant runtime performance improvement compared with C# 4.0 and Visual Basic 10.
Dynamically typed languages are becoming increasingly popular for different software development scenarios such asWeb engineering, rapid prototyping or the construction of applications that require runtime adaptiveness. In contrast, statically typed languages have undeniable advantages such as early type error detection and more opportunities for compiler ptimizations. Since both approaches offer different benefits, hybrid statically and dynamically typed programming languages have emerged, and some statically typed languages have also incorporated dynamic typing capabilities. In this paper, we present the minimal core of StaDyn, a hybrid typing language that performs static type inference of both statically and dynamically typed references. The type information gathered by the compiler is used to generate efficient .NET code, obtaining a significant runtime performance improvement compared with C# 4.0 and Visual Basic 10.
Colecciones
- Artículos [35473]
- Informática [766]
Ficheros en el ítem
![Thumbnail](/dspace/bitstream/handle/10651/11411/10010880.pdf.jpg?sequence=4&isAllowed=y)