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

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

计算机科学 > 程序设计语言

arXiv:2308.15893 (cs)
[提交于 2023年8月30日]

标题:The Janus System: Multi-paradigm Programming in Prolog and Python

作者:Theresa Swift, Carl Andersen
查看论文《The Janus System: Multi-paradigm Programming in Prolog and Python》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Python and Prolog express different programming paradigms, with different strengths. Python is wildly popular because it is well-structured, easy to use, and mixes well with thousands of scientific and machine learning programs written in C. Prolog's logic-based approach provides powerful reasoning capabilities, especially when combined with constraint evaluation, probabilistic reasoning, well-founded negation, and other advances. Both languages have commonalities as well: both are usually written in C, both are dynamically typed, and both use data structures based on a small number of recursive types. This paper describes the design and implementation of Janus, a system that tightly combines Prolog and Python into a single process. Janus bi-translates data structures and offers performance of many hundreds of thousands of round-trip inter-language calls per second. Although Janus is still new, it has been used in commercial applications including natural language processing, visual query answering and robotic automation. Janus was developed for XSB, but porting Janus code to a second Prolog has been straightforward, indicating that Janus is a tool that other Prologs may easily adopt.
评论: In Proceedings ICLP 2023, arXiv:2308.14898
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2308.15893 [cs.PL]
  (或者 arXiv:2308.15893v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2308.15893
期刊参考: EPTCS 385, 2023, pp. 241-255
相关 DOI: https://doi.org/10.4204/EPTCS.385.24

提交历史

来自:EPTCS
[v1] 2023年8月30日 星期三 09:07:05 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-08
切换浏览方式为:
cs
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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