Design and implementation of an efficient hybrid dynamic and static typing language†. (6th October 2014)
- Record Type:
- Journal Article
- Title:
- Design and implementation of an efficient hybrid dynamic and static typing language†. (6th October 2014)
- Main Title:
- Design and implementation of an efficient hybrid dynamic and static typing language†
- Authors:
- Garcia, Miguel
Ortin, Francisco
Quiroga, Jose - Abstract:
- Summary: Dynamic languages are suitable for developing specific applications where runtime adaptability is an important issue. On the contrary, statically typed languages commonly provide better compile‐time type error detection and more opportunities for compiler optimizations. Because both approaches offer different benefits, there exist programming languages that support hybrid dynamic and static typing. However, the existing hybrid typing languages commonly do not gather type information of dynamic references at compile time, missing opportunities for improving compile‐time error detection and runtime performance. Therefore, we propose some design principles to implement hybrid typing languages that continue gathering type information of dynamically typed references. This type information is used to perform compile‐time type checking of the dynamically typed code and improve its runtime performance. As an example, we have implemented a hybrid typing language following the proposed design principles. We have evaluated the runtime performance and memory consumption of the generated code. The average performance of the dynamic and hybrid typing code is at least 2.53× and 4.51× better than the related approaches for the same platform, consuming less memory resources. Copyright © 2014 John Wiley & Sons, Ltd.
- Is Part Of:
- Software, practice & experience. Volume 46:Number 2(2016)
- Journal:
- Software, practice & experience
- Issue:
- Volume 46:Number 2(2016)
- Issue Display:
- Volume 46, Issue 2 (2016)
- Year:
- 2016
- Volume:
- 46
- Issue:
- 2
- Issue Sort Value:
- 2016-0046-0002-0000
- Page Start:
- 199
- Page End:
- 226
- Publication Date:
- 2014-10-06
- Subjects:
- language implementation -- hybrid dynamic and static typing -- type inference -- language design -- runtime performance -- memory consumption -- C# -- StaDyn
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.2291 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 979.xml