Method Lookup Simulation with a Gradual Typing Language

Esteban Allende, J. Fabry
{"title":"Method Lookup Simulation with a Gradual Typing Language","authors":"Esteban Allende, J. Fabry","doi":"10.1109/SCCC.2012.7","DOIUrl":null,"url":null,"abstract":"Historically, programming languages have taken one of two positions with respect to types: static typing or dynamic typing. However, in recent years, there has been research on a third option: gradual typing. Gradual typing allows a developer to choose what parts of the application are statically typed or dynamically typed. Focusing on the aspect of optimizing applications, there is a particular procedure: method lookup, that is a target for optimization by VM developers when trying to provide better performance. To optimize gradually typed applications, we investigate the use of a hybrid method lookup strategy that separates callsites, i.e. places of method invocation, in two kinds: statically typed and dynamically typed. The goal of our work is to measure its performance in interpreters. To achieve our goal, we have carried out a simulation of method invocation. The simulation consisted of creating the callsites and related objects, simulating the invocations and finally measuring the time taken to accomplish the method lookup.","PeriodicalId":211295,"journal":{"name":"2012 31st International Conference of the Chilean Computer Science Society","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-11-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 31st International Conference of the Chilean Computer Science Society","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCCC.2012.7","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Historically, programming languages have taken one of two positions with respect to types: static typing or dynamic typing. However, in recent years, there has been research on a third option: gradual typing. Gradual typing allows a developer to choose what parts of the application are statically typed or dynamically typed. Focusing on the aspect of optimizing applications, there is a particular procedure: method lookup, that is a target for optimization by VM developers when trying to provide better performance. To optimize gradually typed applications, we investigate the use of a hybrid method lookup strategy that separates callsites, i.e. places of method invocation, in two kinds: statically typed and dynamically typed. The goal of our work is to measure its performance in interpreters. To achieve our goal, we have carried out a simulation of method invocation. The simulation consisted of creating the callsites and related objects, simulating the invocations and finally measuring the time taken to accomplish the method lookup.
使用渐进式类型语言的方法查找模拟
从历史上看,编程语言在类型方面有两种立场:静态类型或动态类型。然而,近年来,人们对第三种选择进行了研究:渐进式输入。渐进类型允许开发人员选择应用程序的哪些部分是静态类型的,哪些部分是动态类型的。专注于优化应用程序方面,有一个特定的过程:方法查找,这是VM开发人员在试图提供更好的性能时进行优化的目标。为了优化逐渐类型化的应用程序,我们研究了一种混合方法查找策略的使用,该策略将调用地点(即方法调用的地点)分为两种:静态类型和动态类型。我们的工作目标是衡量其在口译员中的表现。为了实现我们的目标,我们对方法调用进行了模拟。模拟包括创建调用点和相关对象,模拟调用,最后测量完成方法查找所需的时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书