首页    期刊浏览 2025年02月19日 星期三
登录注册

文章基本信息

  • 标题:Transient Typechecks Are (Almost) Free
  • 本地全文:下载
  • 作者:Richard Roberts ; Stefan Marr ; Michael Homer
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:134
  • 页码:1-28
  • DOI:10.4230/LIPIcs.ECOOP.2019.5
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Transient gradual typing imposes run-time type tests that typically cause a linear slowdown. This performance impact discourages the use of type annotations because adding types to a program makes the program slower. A virtual machine can employ standard just-in-time optimizations to reduce the overhead of transient checks to near zero. These optimizations can give gradually-typed languages performance comparable to state-of-the-art dynamic languages, so programmers can add types to their code without affecting their programs' performance.
  • 关键词:dynamic type checking; gradual types; optional types; Grace; Moth; object-oriented programming
国家哲学社会科学文献中心版权所有