Type inference to optimize a hybrid statically and dynamically typed language

17Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Dynamically typed languages are becoming increasingly popular for different software development scenarios such as Web 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 optimizations. 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. © The Author 2011. Published by Oxford University Press on behalf of The British Computer Society. All rights reserved.

Cite

CITATION STYLE

APA

Ortin, F. (2011). Type inference to optimize a hybrid statically and dynamically typed language. Computer Journal, 54(11), 1901–1924. https://doi.org/10.1093/comjnl/bxr067

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free