刚刚在Slashdot上看到一个新闻,IBM今天发布全球首个开源的Machine Leaning Compiler,叫Milepost GCC, 官方网是http://www.milepost.eu/
这个程序编译器的最大特点可以自我学习,在编译代码时可以对程序进行分析,并找到最适合的优化方法编译程序。试验表明,用这个编译器编译程序的运行效率可以提高18%.
开源之后的项目还会继续研究这个领域,不断的提高编译器的分析能力。
Milepost官网上的介绍 写道
The overall objective of this project is to develop compiler technology that can automatically learn how to best optimise programs for re-configurable heterogeneous embedded processors. If successful we will be able to dramatically reduce the time to market of re-configurable systems. Rather than developing a specialised compiler by hand for each configuration, our project will produce optimising compilers automatically. Current handcrafted approaches to compiler development are no longer sustainable. With each generation of re-configurable architecture, the compiler development time increases and the performance improvement achieved decreases. As high performance embedded systems move from application specific ASICs to programmable heterogeneous processors, this problem is becoming critical.
This project explores an emerging alternative approach where we use machine-learning techniques, developed in the artificial intelligence arena, to learn how to generate compilers automatically. Such an approach, if successful, will have a dramatic impact on re-configurable systems. This means that for a fixed amount of design time. We can evaluate many more configurations leading to better and more cost-effective performance. If successful, this will enable Europe to increase its dominance in this critical emerging market.
This project explores an emerging alternative approach where we use machine-learning techniques, developed in the artificial intelligence arena, to learn how to generate compilers automatically. Such an approach, if successful, will have a dramatic impact on re-configurable systems. This means that for a fixed amount of design time. We can evaluate many more configurations leading to better and more cost-effective performance. If successful, this will enable Europe to increase its dominance in this critical emerging market.
感觉特好玩,还是头次听说有这样的编译器。做一下记录,留着有空时试一试看。