OpenAI Researcher: 100% of Code Handed Over to AI, Claude Rewrites Python Library

marsbitXuất bản vào 2026-08-17Cập nhật gần nhất vào 2026-08-17

Tóm tắt

OpenAI researchers and prominent developers like DHH (creator of Ruby on Rails) are reporting a dramatic shift toward AI-driven coding, with some claiming they no longer write code manually. DHH recently used Claude Fable 5 to fully rewrite the Python library "TerminalTextEffects" into Rust in a single, largely unassisted session, consuming 110 million tokens. The resulting Rust executable is only 3MB, with startup time slashed from 87ms to 2ms and a 9.6x render speed increase. This follows DHH's own reversal from a year ago, when he opposed ceding coding to AI, fearing the loss of "muscle memory" and deep learning. Now, he predicts that within five years, few people will be writing or reading code directly. The article highlights other large-scale migrations, like Bun's move from Zig to Rust in under two weeks, suggesting the marginal cost of code generation is nearing zero. The future role of programmers is envisioned as shifting from writing code to defining requirements, designing constraints, establishing test frameworks, and validating AI output—focusing on discerning "what is worth building" and "what is correct."

Claude Code's creator has publicly stated that he hasn't handwritten a single line of code in over two months.

In a single day, he can merge 27 PRs, all handled by Claude.

OpenAI researcher roon was even more extreme: 'I don't write code anymore; 100% is done by GPT.'

Now, another big name, after deeply experiencing Claude Code and Codex, declared, 'In five years, humans won't write code anymore!'

These past few days, Rails creator DHH personally took on a major task—

Using only Claude Fable 5, he completely rewrote the Python library 'TerminalTextEffects' into Rust in one go.

What's astonishing is that this refactoring consumed a staggering 11 million tokens, almost completing it in a single pass.

The results after it ran were nothing short of 'cheating'—startup time was compressed from 87 milliseconds to just 2 milliseconds, and rendering speed skyrocketed by 9.6 times.

The post instantly garnered millions of views across the internet.

One AI expert directly posed a soul-searching question to the Rails creator: 'If that's the case, where does Ruby go in the next five years?'

DHH's answer was straightforward—

Within five years, not many people will be writing or reading code by hand anymore. So, it really doesn't matter.

Who would have thought that in just one year, the contrast would be so stark!

Handing the Keyboard to AI, Rather Retire

Remember, in May of last year, DHH was firmly stating online that he refused to cede the joy of coding to AI.

In that lengthy post 'Coding should be a vibe!', he clearly stated:

AI is, at best, an assistive 'pair programmer,' good for looking up APIs and answering questions.

He even issued a stern warning: 'If the day comes when I must completely hand the keyboard over to AI, I would rather retire.'

I have zero interest in giving up coding. It's not some chore to offload to AI. What would be the point? To become a project manager for a pack of AI 'hooligans'?

In that six-hour deep-dive conversation with Lex Fridman, DHH insisted that every line of his code was typed by his own hands.

Once, while building a Linux distribution, he repeatedly asked AI to generate the same Bash conditional statement, only to realize that because he lacked the physical act of typing, he never truly mastered it.

This loss of 'muscle memory' left him deeply unsettled. 'Is this the end of learning?'

However, by April this year, the winds had shifted dramatically.

On a podcast, he admitted he had now fully switched to 'Agent-first,' essentially saying goodbye to handwritten code.

Yet, no one expected the phrase 'in five years, not many people will be reading or writing code' to come from the mouth of the Rails creator.

Fable 5 All-in, No One Writes Code in Five Years

Let's take a closer look at this hardcore Python rewrite by Claude.

TerminalTextEffects, or TTE for short, is a terminal visual effects engine.

It can be used both as a command-line program and imported as a Python library into other applications.

Developers can, like magicians, control text trajectories, colors, gradient effects, and animation sequences, transforming dull UIs into something cool.

The Rust version demonstrated by DHH can run 37 effects.

A piece of software that originally required a Python runtime environment was transformed by Claude's refactoring into a mere 3MB executable.

This new repository is called ttfx, hosted under DHH's own Omarchy organization, with every commit history intact.

The entire process took 3 hours and 11 minutes. The main Rust code is 21,000 lines, almost the same volume as the original Python version.

During the task, 8 Agents each worked on a separate branch simultaneously, in batches: reading the code themselves, generating implementations, compiling, running tests, handling failures, then moving to the next round.

The so-called 'one-shot' was essentially handing the task over once.

Using the same method, DHH had Codex complete it, and the results after a single prompt were also excellent.

However, it was 30% slower and cost $43 (290 RMB) in Tokens.

DHH's hardcore operation directly blew up the community, drawing out several Anthropic bigwigs.

Claude Code creator Boris Cherny couldn't help but appear in the comments exclaiming, 'This is insane!'

Faced with a follow-up question from another researcher, Thariq, DHH revealed an even more astonishing detail—

He simply asked Claude to formulate a plan. After that, it was zero intervention throughout, no complex workflows applied, no specific goals pre-set; it was all about complete delegation of authority.

Million-Line Codebase, Bun One-Click Migration

TerminalTextEffects, after all, is limited in scale.

What truly demonstrates the power of AI coding is a massive refactoring in Bun's core.

A few months ago, founder Jarred Sumner personally spearheaded the migration of the massive codebase from Zig to Rust in its entirety.

It's astonishing that this monumental project, involving a million lines of code, was declared 'complete' in less than two weeks.

If this were a few years ago, a project of this magnitude would have been a marathon lasting several quarters, if not years.

Future Coders to Become 'Dragon Tamers'

Now, all signs are frantically hinting at a fact that is both brutal and exciting—

The marginal cost of code generation is approaching zero.

This inevitably plunges many into panic. 'If no one reads or writes code in five years, will programmers disappear?'

Actually, 'no one writes code' absolutely does not equal 'programmers disappear.'

The core work of future programmers will undergo a fundamental shift—

From 'personally implementing code' to fully focusing on defining requirements, designing constraints, establishing testing frameworks, and judging whether the AI wrote it correctly.

It's foreseeable that when 'handcrafting code' becomes history, the only remaining scarce moats will be two points:

Insight into 'what is worth doing' + defining 'what counts as correct.'

Rather than worrying about losing your keyboard, it's better to start thinking now: what kind of Rome do you want to command this boundless-compute 'super coder' AI to build?

References:

https://x.com/dhh/status/2086713611934695848?s=20

https://claude.ai/code/artifact/287825bc-7aad-4541-a7e7-fa4ba8d03612

This article is from the WeChat public account "New Zhiyuan", author: Taozi

Câu hỏi Liên quan

QWhat major transformation did DHH perform using Claude Fable 5?

AHe completely rewrote the Python library 'TerminalTextEffects' into Rust in one go.

QWhat were the performance improvements after the AI-assisted rewrite of TerminalTextEffects?

AStartup time was reduced from 87 milliseconds to just 2 milliseconds, and rendering speed increased by 9.6 times.

QAccording to DHH, what will happen to human coding in the next five years?

AVery few people will be hand-writing or reading code anymore, as the focus will shift to other tasks.

QWhat significant project did Bun founder Jarred Sumner undertake with AI assistance?

AHe migrated the entire massive codebase of Bun from Zig to Rust in less than two weeks.

QWhat does the article suggest will be the core role of future programmers in the age of AI coding?

ATheir core role will shift from writing code to defining requirements, designing constraints, establishing testing systems, and judging whether the AI's output is correct.

Nội dung Liên quan

EU Liệt Kê USDC Là Đồng Tiền Kỹ Thuật Số 'Quan Trọng' Đầu Tiên: Dự Trữ và Thanh Khoản của Circle Từ Tháng 11 Sẽ Do Cơ Quan Giám Sát Ngân Hàng Châu Âu Quản Lý Trực Tiếp

Cơ quan Ngân hàng Châu Âu (EBA) đã chính thức công nhận USDC do Circle Internet Financial Europe SAS phát hành là "Tiền tệ điện tử quan trọng" (EMT) đầu tiên theo quy định của Luật Thị trường Tài sản Crypto (MiCA). Quyết định này có hiệu lực từ ngày 12/11, đánh dấu USDC trở thành đồng stablecoin đầu tiên trong số 45 EMT đã đăng ký tại EU được xếp vào hạng mục quan trọng. Theo đó, bắt đầu từ ngày 12/11, USDC sẽ chịu sự giám sát trực tiếp của EBA ở các lĩnh vực then chốt như vốn tự có, tài sản dự trữ, tính thanh khoản và kế hoạch mua lại. Cơ quan quản lý quốc gia Pháp (ACPR) sẽ tiếp tục phụ trách các mảng như quản trị công ty. EBA cũng đã ký biên bản ghi nhớ với Sở Dịch vụ Tài chính Bang New York (NYDFS) để tăng cường hợp tác giám sát xuyên biên giới. Việc được công nhận là EMT quan trọng đồng nghĩa với việc USDC phải tuân thủ các yêu cầu cao hơn về dự trữ và vốn theo MiCA, vừa làm tăng chi phí tuân thủ vừa củng cố vị thế cạnh tranh của Circle tại thị trường châu Âu.

marsbit11 phút trước

EU Liệt Kê USDC Là Đồng Tiền Kỹ Thuật Số 'Quan Trọng' Đầu Tiên: Dự Trữ và Thanh Khoản của Circle Từ Tháng 11 Sẽ Do Cơ Quan Giám Sát Ngân Hàng Châu Âu Quản Lý Trực Tiếp

marsbit11 phút trước

Claude Code Phiên Bản Desktop Lột Xác, Một Người Chỉ Huy Quân Đoàn AI Viết Code Bạt Mạng

Claude Code phiên bản desktop đã có bản cập nhật lớn, biến nó từ một trợ lý lập trình AI thành một bàn làm việc đa tác vụ, nơi một người có thể chỉ huy cả một "đội quân" AI song song. Tính năng nổi bật nhất là **phiên lồng nhau tự động (Nested Sessions)**. Thay vì phải mở nhiều cửa sổ thủ công, giờ đây bạn chỉ cần liệt kê các nhiệm vụ trong hội thoại chính. Claude sẽ tự động nhận diện và tạo các phiên con riêng biệt cho từng tác vụ có thể chạy song song. Các phiên này hoạt động độc lập, không làm nhiễu loạn hội thoại chính, và tự động báo cáo kết quả cuối cùng về cho phiên chủ một cách gọn gàng. Giao diện mới được thiết kế để quản lý hiệu quả sự bùng nổ của các hội thoại. Thanh bên hiển thị rõ trạng thái từng phiên (đang chạy, cần can thiệp). Tính năng **"Môi trường"** cho phép đóng gói và lưu lại toàn bộ cấu hình làm việc phức tạp (nhiều thư mục, kết nối từ xa) để mở lại chỉ với một cú nhấp chuột. Nó còn hỗ trợ **Git Worktree độc lập** cho mỗi phiên, đảm bảo các tác vụ song song không ghi đè code lên nhau. Hai tính năng tinh tế khác là **/btw (nhân tiện hỏi)** và **đề xuất chủ động**. Lệnh `/btw` mở ngay một tab hội thoại phụ để giải quyết thắc mắc nhanh mà không làm gián đoạn "dòng chảy" công việc chính. Trong khi đó, Claude giờ có thể dựa trên ngữ cảnh để chủ động đề xuất bước tiếp theo, người dùng chỉ cần nhấp để khởi chạy nó trong một phiên mới. Bản cập nhật này đánh dấu sự chuyển mình của lập trình AI: từ cuộc đua về khả năng đơn lẻ sang khả năng quản lý và phối hợp đa tác vụ. Vai trò của lập trình viên được nâng cấp từ người thực thi sang người chỉ huy một đội quân AI song song hiệu quả.

marsbit45 phút trước

Claude Code Phiên Bản Desktop Lột Xác, Một Người Chỉ Huy Quân Đoàn AI Viết Code Bạt Mạng

marsbit45 phút trước

Pháp Dự Kiến Áp Thuế 31.4% Đối Với Việc 'Đổi Tiền Điện Tử Lấy Stablecoin Tuân Thủ EU', Chainalysis Cảnh Báo Sẽ Đẩy Nhà Giao Dịch Ra Ngoài Khơi

Pháp đề xuất mở rộng thuế lợi nhuận vốn 31,4% cho các giao dịch liên quan đến stablecoin tuân thủ quy định của EU (EMT theo khung MiCA), như USDC hay EURC. Nếu được thông qua, từ năm 2027, việc chuyển đổi tài sản mã hóa như Bitcoin sang các stablecoin này sẽ trở thành sự kiện chịu thuế. Chainalysis cảnh báo chính sách này có thể đẩy người giao dịch sang sử dụng các stablecoin ngoài phạm vi quy định EU và các nền tảng phi tập trung, làm suy yếu mục tiêu đưa hoạt động tiền mã hóa vào hệ thống tài chính được giám sát. Ngoài ra, các sửa đổi ngân sách khác bao gồm yêu cầu khai báo ví tự lưu giữ có giá trị từ 100.000 Euro (chưa khai báo có thể bị phạt), áp dụng thuế chuyển cư cho danh mục tiền mã hóa lớn (~900.000 USD) và cho phép chuyển lỗ từ tiền mã hóa sang kỳ tính thuế tiếp theo tối đa 10 năm. Tất cả các đề xuất trên hiện chưa trở thành luật và sẽ được đưa ra tranh luận tại Quốc hội. Đề xuất này được đưa ra trong bối cảnh Hy Lạp đang lên kế hoạch áp mức thuế lợi tức vốn chỉ 10% đối với tiền mã hóa.

marsbit1 giờ trước

Pháp Dự Kiến Áp Thuế 31.4% Đối Với Việc 'Đổi Tiền Điện Tử Lấy Stablecoin Tuân Thủ EU', Chainalysis Cảnh Báo Sẽ Đẩy Nhà Giao Dịch Ra Ngoài Khơi

marsbit1 giờ trước

Galaxy Research: Điểm dừng tiếp theo của thị trường dự đoán là thị trường điều kiện, 22 DAO đã giao 50,5 triệu USD cho thị trường quản trị

Báo cáo Galaxy: Thị trường dự đoán đang phát triển thành thị trường có điều kiện, với 22 DAO đã giao 50,5 triệu USD cho thị trường quản trị. Thị trường dự đoán như Polymarket đã chứng minh nhu cầu "định giá sự kiện". Báo cáo của Galaxy Research cho thấy bước tiến tiếp theo: không chỉ dự đoán sự kiện có xảy ra hay không, mà còn giao dịch "tài sản sẽ có giá trị bao nhiêu *nếu* sự kiện xảy ra". Điều này dẫn đến khái niệm rộng hơn là "thị trường có điều kiện" (conditional markets), bao gồm hai phân nhánh chính: 1. **Thị trường quyết định (Decision Markets):** Để quản trị DAO, nơi giao dịch dẫn đến kết quả ràng buộc (ví dụ: thông qua một đề xuất chi tiêu). MetaDAO (trên Solana) là người tiên phong, hiện quản lý tài sản cho 21 DAO. Gần đây, Umia ra mắt trên EVM, mở rộng cạnh tranh và cho phép thị trường đa kết quả, giúp định giá các tham số đề xuất cụ thể hơn là chỉ phê duyệt/từ chối nhị phân. Tổng cộng, 22 DAO đang sử dụng cơ chế này để quản lý 50,5 triệu USD. 2. **Thị trường tác động (Impact Markets):** Để phòng ngừa rủi ro và đầu cơ, giao dịch tác động của sự kiện lên giá tài sản. Nhiều dự án đang phát triển tích cực: * **Proof:** Xây dựng sàn giao dịch tích hợp theo chiều dọc, kết hợp thị trường điều kiện, hợp đồng vĩnh cửu và thị trường dự đoán để tối ưu thanh khoản và hiệu quả vốn. * **If Market:** Thiết kế thanh toán bằng tiền mặt, không token hóa, tập trung vào trải nghiệm người dùng đơn giản. * **Branchpoint:** Xây dựng cơ sở hạ tầng lớp đặt tên (Branchmap) để các sự kiện và tài sản có điều kiện có danh tính ổn định, máy có thể đọc được trên chuỗi, cho phép khả năng kết hợp giữa các giao thức. Báo cáo cũng đề cập đến các động lực rộng hơn: nhu cầu ngày càng tăng về công cụ phòng ngừa rủi ro tùy chỉnh cho mọi loại sự kiện (ví dụ: Castle Tech tạo hợp đồng bảo hiểm tùy chỉnh cho rủi ro lập pháp), và sự phục hồi khối lượng giao dịch quyền chọn trên chuỗi, cho thấy nhu cầu về công cụ tài chính thay thế ngoài hợp đồng vĩnh cửu. Tóm lại, không gian thị trường có điều kiện đang trong giai đoạn thử nghiệm sôi động với nhiều thiết kế cạnh tranh. Trong khi thị trường quyết định đã có ứng dụng thực tế, thị trường tác động vẫn đang trên đường hoàn thiện và thử nghiệm trước khi ra mắt mainnet.

marsbit1 giờ trước

Galaxy Research: Điểm dừng tiếp theo của thị trường dự đoán là thị trường điều kiện, 22 DAO đã giao 50,5 triệu USD cho thị trường quản trị

marsbit1 giờ trước

Giao dịch

Giao ngay
活动图片