Is there any self-improving compiler around?

后端 未结 8 974
离开以前
离开以前 2020-12-09 11:14

I am not aware of any self-improving compiler, but then again I am not much of a compiler-guy.

Is there ANY self-improving compiler out there?

相关标签:
8条回答
  • 2020-12-09 12:10

    Not yet practically implemented, to my knowledge, but yes, the theory is there:

    • Goedel machines: self-referential universal problem solvers making provably optimal self- improvements.
    0 讨论(0)
  • 2020-12-09 12:11

    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.

    0 讨论(0)
提交回复
热议问题