跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 计算

arXiv:1409.3144 (stat)
[提交于 2014年9月12日]

标题:Enhancing R with Advanced Compilation Tools and Methods

作者:Duncan Temple Lang
查看论文《Enhancing R with Advanced Compilation Tools and Methods》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:I describe an approach to compiling common idioms in R code directly to native machine code and illustrate it with several examples. Not only can this yield significant performance gains, but it allows us to use new approaches to computing in R. Importantly, the compilation requires no changes to R itself, but is done entirely via R packages. This allows others to experiment with different compilation strategies and even to define new domain-specific languages within R. We use the Low-Level Virtual Machine (LLVM) compiler toolkit to create the native code and perform sophisticated optimizations on the code. By adopting this widely used software within R, we leverage its ability to generate code for different platforms such as CPUs and GPUs, and will continue to benefit from its ongoing development. This approach potentially allows us to develop high-level R code that is also fast, that can be compiled to work with different data representations and sources, and that could even be run outside of R. The approach aims to both provide a compiler for a limited subset of the R language and also to enable R programmers to write other compilers. This is another approach to help us write high-level descriptions of what we want to compute, not how.
评论: Published in at http://dx.doi.org/10.1214/13-STS462 the Statistical Science (http://www.imstat.org/sts/) by the Institute of Mathematical Statistics (http://www.imstat.org)
主题: 计算 (stat.CO); 数学软件 (cs.MS); 程序设计语言 (cs.PL)
报告编号: IMS-STS-STS462
引用方式: arXiv:1409.3144 [stat.CO]
  (或者 arXiv:1409.3144v1 [stat.CO] 对于此版本)
  https://doi.org/10.48550/arXiv.1409.3144
期刊参考: Statistical Science 2014, Vol. 29, No. 2, 181-200
相关 DOI: https://doi.org/10.1214/13-STS462

提交历史

来自:Duncan Temple Lang
[v1] 2014年9月12日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.CO
< 上一篇   |   下一篇 >
最新 | 近期 | 2014-09
切换浏览方式为:
stat
cs.MS
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站