人工智能编译器

发布于 2024-09-14 04:07:03 字数 179 浏览 3 评论 0原文

我想知道是否可以使用人工智能来使编译器变得更好?

如果可能的话,我可以想象的事情 -

  • 更具体的错误消息
  • 改进编译器优化,以便编译器能够真正理解您想要做什么,并做得更好

如果它可能可能,是否有任何关于这个主题的研究项目?

I was wondering, is it possible to use Artificial Intelligence to make compilers better?

Things I could imagine if it was possible -

  • More specific error messages
  • Improving compiler optimizations, so the compiler could actually understand what you're trying to do, and do it better

If it is possible, are there any research projects on this subject?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

待天淡蓝洁白时 2024-09-21 04:07:03

您应该查看 MILEPOST GCC -

MILEPOST GCC 是构建支持机器学习的开源自调整生产(和研究)编译器的第一个实际尝试,该编译器可以使用迭代反馈定向编译、机器学习和集体优化来适应任何架构

You should look at MILEPOST GCC -

MILEPOST GCC is the first practical attept to build machine learning enabled open-source self-tuning production (and research) compiler that can adapt to any architecture using iterative feedback-directed compilation, machine learning and collective optimizatio

别念他 2024-09-21 04:07:03

优化编译器实际上是一个非常复杂的专家系统,而专家系统是人工最古老的分支之一智力。

An optimizing compiler is actually a very complex expert system and Expert systems is one of the oldest branches of artificial intelligence.

驱逐舰岛风号 2024-09-21 04:07:03

您指的是基因编程之类的东西吗?

http://en.wikipedia.org/wiki/Genetic_programming

Are you refering to something like Genetic Programming?

http://en.wikipedia.org/wiki/Genetic_programming

So要识趣 2024-09-21 04:07:03

这确实是一个正在研究的领域。看一下 GCC 的里程碑分支,它依赖于配置文件引导的优化和机器学习。最近针对编译器的科学文献充满了结合使用数据挖掘、机器学习(通过遗传算法或神经网络)以及某些代码模式的更“经典”模式识别的论文。

This is indeed a field being researched. Look at the milepost branch for GCC, which relies on profile-guided optimization and machine learning. The recent scientific literature for compilers is full of papers using a combination of data mining, machine learning (through genetic algorithms or neural networks), and more "classical", pattern-recognition of certain code patterns.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文