Cloudflare rewrites Next.js as AI rewrites commercial open source
4 hours ago
- #AI
- #Open Source
- #Cloudflare
- Cloudflare rewrote Next.js in one week using AI agents, creating 'vinext', a drop-in replacement built on Vite.
- Vinext allows Next.js apps to be deployed on Cloudflare Workers, claiming faster builds and smaller bundles.
- The rewrite cost $1,100 in tokens and was done by one engineer, showcasing AI's potential to disrupt engineering efforts.
- Vercel criticized vinext as not production-ready, highlighting security and reliability concerns.
- AI's ability to rewrite open source projects challenges commercial open source business models, as seen with Next.js.
- Cloudflare's move includes an AI migration agent to help users switch from Next.js to vinext, indicating a strategic use of AI.
- The incident raises questions about defensibility in open source, with suggestions like making test suites private or focusing on other moats like support and community.
- AI's efficiency in tasks with clear correctness criteria (like rewrites with tests) far exceeds its general productivity boosts.
- The tech industry may see more ruthless competition as AI enables rapid project rewrites and migrations.
- Non-commercial open source could benefit from AI by facilitating forks, rewrites, and feature additions.