Microsoft によるプログラミング言語移行の試み
昨日 Bluesky の私の TL に面白い話が流れてきて
Microsoft は2030年末を目標にして,社内の C/C++ コードをすべて Rust に置き換える計画を立てていて,そのためのエンジニアを募集しているらしい。 その後も
といった記事も上がっている。
一方で
みたいな記事も上がっている。 これによると,全社的なプロジェクトではなく Microsoft のエンジニアである Galen Hunt 氏のチームによる研究プロジェクトらしい。
“My team’s project is a research project. We are building tech to make migration from language to language possible,” he wrote in an update to his LinkedIn post. His intent, he said, was to find like-minded engineers, “not to set a new strategy for Windows 11+ or to imply that Rust is an endpoint.”
Rust のようなメモリ安全なプログラミング言語を採用するという圧力はあるようで
Pressure to ditch C and C++ in favor of memory-safe languages such as Rust comes right from the top, with research by Google and Microsoft showing that around 70 percent of all security vulnerabilities in software are caused by memory safety issues.
最初の方の記事はその辺の忖度が働いたのかねぇ,と邪推したりする。
Rust は随分前からメモリ安全なコンパイル言語として注目されているが,最近になって注目されているのはやはり生成 AI との「協働」が期待されているからだろう。
しかし
However, using AI to rewrite code, even in a memory-safe language, may not make things more secure: AI-generated code typically contains more issues than code written by humans, according to research by CodeRabbit.
That’s not stopping some of the biggest software developers pushing ahead with AI-powered software development, though. Already, AI writes 30% of Microsoft’s new code, Microsoft CEO Satya Nadella said in April.
などとも言われている。 「Microsoft の新規コードの30%を AI が書いている」と言うが,裏を返せば70%はまだ使い物にならないわけで,簡単でないのは確かであろう。
