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

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

电气工程与系统科学 > 系统与控制

arXiv:2502.01128 (eess)
[提交于 2025年2月10日]

标题:C codegen considered unnecessary: go directly to binary, do not pass C. Compilation of Julia code for deployment in model-based engineering

作者:Fredrik Bagge Carlson, Cody Tapscott, Gabriel Baraldi, Chris Rackauckas
查看论文《C codegen considered unnecessary: go directly to binary, do not pass C. Compilation of Julia code for deployment in model-based engineering》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Since time immemorial an old adage has always seemed to ring true: you cannot use a high-level productive programming language like Python or R for real-time control and embedded-systems programming, you must rewrite your program in C. We present a counterexample to this mantra by demonstrating how recent compiler developments in the Julia programming language allow users of Julia and the equation-based modeling language ModelingToolkit to compile and deploy binaries for real-time model-based estimation and control. Contrary to the approach taken by a majority of modeling and simulation tools, we do not generate C code, and instead demonstrate how we may use the native Julia code-generation pipeline through LLVM to compile architecture-specific binaries from high-level code. This approach avoids many of the restrictions typically placed on high-level languages to enable C-code generation. As case studies, we include a nonlinear state estimator derived from an equation-based model which is compiled into a program that performs state estimation for deployment onto a Raspberry Pi, as well as a PID controller library implemented in Julia and compiled into a shared library callable from a C program.
主题: 系统与控制 (eess.SY); 系统与控制 (cs.SY)
引用方式: arXiv:2502.01128 [eess.SY]
  (或者 arXiv:2502.01128v1 [eess.SY] 对于此版本)
  https://doi.org/10.48550/arXiv.2502.01128

提交历史

来自:Fredrik Bagge Carlson
[v1] 2025年2月10日 星期一 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

eess.SY
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-02
切换浏览方式为:
eess
cs.SY

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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