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

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

计算机科学 > 数学软件

arXiv:2001.02491 (cs)
[提交于 2020年1月14日]

标题:Comparing Python, Go, and C++ on the N-Queens Problem

作者:Pascal Fua, Krzysztof Lis
查看论文《Comparing Python, Go, and C++ on the N-Queens Problem》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Python currently is the dominant language in the field of Machine Learning but is often criticized for being slow to perform certain tasks. In this report, we use the well-known $N$-queens puzzle as a benchmark to show that once compiled using the Numba compiler it becomes competitive with C++ and Go in terms of execution speed while still allowing for very fast prototyping. This is true of both sequential and parallel programs. In most cases that arise in an academic environment, it therefore makes sense to develop in ordinary Python, identify computational bottlenecks, and use Numba to remove them.
主题: 数学软件 (cs.MS)
引用方式: arXiv:2001.02491 [cs.MS]
  (或者 arXiv:2001.02491v1 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2001.02491

提交历史

来自:Krzysztof Lis
[v1] 2020年1月14日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-01
切换浏览方式为:
cs.MS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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