Skip to content

LLMの登場によってプログラミング言語は変わるのか

ACM: Ep78: Russ CoxのRuss Coxがしているコメントより。

I think we might move up a slightly higher level, but I think the reliability of deterministic code means that for the foreseeable future, we might have AI helping us to write the code, but the code itself … Like English is not going to become the programming language. We interpret it every time it runs by some AI that reads the English and then decides what to do at that moment. Because it’s just not reliable. There’s too much ambiguity there. And then people talk about, “Well, what about a really precise form of English that the AI could use instead?” And when it comes down to it, we’re describing a programming language. (省略)… I think it’s still going to be very important to have programming languages that people can read and people can look at and understand, this is what’s going to happen when the program runs. (省略)… Those are all, I think, fundamental interface points that are not going to go away.

現在よりも抽象度は上がるかもしれないが、LLMは曖昧さが多すぎて信頼性が低いので、決定論的なコードは今後も必要になる、人々が読んで「何が起きるのか」を理解できるコードは今後も変わらずに重要で、これは決して消えることのないインターフェイスポイントのままだろう、とのことだった。

プログラミングはコードにより意味構造を構築しているもの、と捉えると、意味構造としての圧縮率は高級言語の方が、アセンブラそのほか低級言語よりも高い AI がコンテキストを重視してコードを生成することを考えると、意味的な圧縮率が高い方が有利だろう、というのが自分の見立て

「AIは過剰に宣伝されているが、ツールとしては大いに信じている」、リーナス・トーバルズ氏が東京開催のOpen Source Summit Japan基調講演で語ったこと(前編)で書かれているLinus Torvaldsのコメントは少し違うかもしれないが、今までと大きな違いはないという意図では同じだろう。

私はAI全般の話題が嫌いですが、それはAIを嫌っているからではなく、AIが過剰に宣伝されているからです。テクノロジー領域全体がAIになって、他のことは重要ではないかのように扱われているのですから。 (省略)… 人々はAIツールがプログラミングを10倍加速すると言いますが、コンパイラはこれまでにプログラミングを1000倍加速してきたのです。これと比べれば、AIはそれほど特別ではありません。AIが突然プログラミングに革命を起こすと考えないでください。

コンパイラを書いた人々が何十年も前にそれをやってきたのです。AIツールがそのコンパイラの上でプログラミングを10倍、あるいは100倍を加速したとしても、それは依然として単なるツールです。