有没有任何自我改进的编译器? [英] Is there any self-improving compiler around?
问题描述
我不知道有任何自我改进的编译器,但我再也不是一个编译器家伙。
I am not aware of any self-improving compiler, but then again I am not much of a compiler-guy.
改进编译器?
请注意,我说的是一个改进自身的编译器。
Please note that I am talking about a compiler that improves itself - not a compiler that improves the code it compiles.
任何指针都赞赏!
注意:如果您想知道为什么我要求查看 this post 。即使我同意大多数的论点,我不太确定以下:
Side-note: in case you're wondering why I am asking have a look at this post. Even if I agree with most of the arguments I am not too sure about the following:
我们有程序可以提高
他们的代码没有人类输入现在 -
他们被称为编译器。
We have programs that can improve their code without human input now — they’re called compilers.
...因此我的问题。 >
... hence my question.
推荐答案
虽然编译器可以改进代码而没有人为干扰,但是,声称编译器是自我完善 。编译器所做的这些改进只是基于一组由人写的规则(cyborgs任何人?)。所以,你的问题的答案是:
While it is true that compilers can improve code without human interference, however, the claim that "compilers are self-improving" is rather dubious. These "improvements" that compilers make are merely based on a set of rules that are written by humans (cyborgs anyone?). So the answer to your question is : No.
在旁注,如果有什么像自我改进的编译器,我们知道...首先将改进语言,然后自己的代码,最后,它会修改其代码成为一个病毒,使所有的开发人员使用它...然后终于我们有一个经典的计算机对人类的最后希望 - 为人类的东西...所以......不。
On a side note, if there was anything like a self improving compiler, we'd know... first the thing would improve the language, then its own code and finally, it would modify its code to become a virus and make all developers use it... and then finally we'd have one of those classic computer-versus-humans-last-hope-for-humanity kind of things... so ... No.
这篇关于有没有任何自我改进的编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!