跳到正文
Hacker News· sbulaev·· 5 天前AI 评分62

开发者用 AI 智能体重建《现代战争 2》源码,83% 函数与原版逐字节一致

Dev used AI agents to rebuild Modern Warfare 2's source code; 83% matches

AI 导读

开发者 Maurice Heumann 在博客中披露,他用 AI 智能体反编译 2009 年的《使命召唤:现代战争 2》并重建其 C++ 源码,耗时三个月、消耗超过 5000 亿 token。

正文 · 原文

Developer Maurice Heumann details in his blog how AI agents were able to decompile Call of Duty: Modern Warfare 2 (2009), which the post calls only “a popular first-person shooter,” in an effort to rebuild its source code in C++, taking three months and over 500 billion tokens. The agents originally attempted to cheat a byte-for-byte check added after the first month of code ran, but it was “semantically wrong,” and now 99% of the game’s functions are present, with 83% matching the original.

Heumann’s goal since the beginning has been to produce an “accurate, stable and feature-complete recreation,” and he wrote on X less than two weeks ago that the game was fully playable. By his estimate, the project consumed 600–700 billion tokens. In another X post, he said he doesn’t pay for his own tokens but put the cost at about €1,200 with subscriptions or $200,000–$250,000 with API tokens.

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

来源:Hacker News · tomshardware.com