News: 0180861870

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Cloudflare Experiment Ports Most of Next.js API in 'One Week' With AI (theregister.com)

(Thursday February 26, 2026 @04:00AM (msmash) from the brave-new-world dept.)


An anonymous reader shares a report:

> A Cloudflare engineer says he has [1]implemented 94% of the Next.js API by directing Anthropic's Claude , spending about $1,100 on tokens. The purpose of the experimental project was not to show off AI coding, but to address an issue with Next.js, the popular React-based framework sponsored by Vercel.

>

> According to Cloudflare engineering director Steve Faulkner, the Next.js tooling is "entirely bespoke... If you want to deploy it to Cloudflare, Netlify, or AWS Lambda, you have to take that build output and reshape it into something the target platform can actually run."

>

> The Next.js team is addressing this following numerous complaints that deploying the framework with full features on platforms other than Vercel is too difficult, with a feature in progress called deployment adapters. "Vercel will use the same adapter API as every other partner," the company said when introducing the planned feature last year.



[1] https://www.theregister.com/2026/02/25/cloudflare_nextjs_api_ai/



Jamstack folks, just use Deno already. (Score:3)

by Qbertino ( 265505 )

No need for all this Next.js cruft to patch up Nodes shortcomings. [1]Deno [deno.com] is the official successor to Node and has been around for quite long already. Secure by default, native TypeScript (no transpiling needed), Browser API fully supported, no context switching required or SSR stunts required ... etc. I'm using Deno in my Jamstack stuff exclusively. Working with Node stuff feels like a throughback to PHP 3 now.

[1] https://deno.com/

Re: (Score:2)

by AmiMoJo ( 196126 )

I have no idea what any of that is, but my first question is if this AI port is actually secure and performs well. Anything for web needs to be very carefully developed.

Re: (Score:2)

by Vomitgod ( 6659552 )

> Secure by default....

Cos you know.....

Windows NT was also secure by default.....

You mean plagiarized? (Score:2)

by devslash0 ( 4203435 )

Sounds like they just ripped off Next code to create their own version.

94% (Score:4, Funny)

by devslash0 ( 4203435 )

Getting any work to 90% is easy. Well-known code, low-hanging fruit etc. It's the last 10% that takes exponentially more time. And the last 1% takes forever because that's where you actually test stuff, realise all the issues and fix subtle and difficult to spot bugs.

In short, 94% is as good as nothing. Anyone who brags about it, is just an AI show-off.

Joshu: What is the true Way?
Nansen: Every way is the true Way.
J: Can I study it?
N: The more you study, the further from the Way.
J: If I don't study it, how can I know it?
N: The Way does not belong to things seen: nor to things unseen.
It does not belong to things known: nor to things unknown. Do
not seek it, study it, or name it. To find yourself on it, open
yourself as wide as the sky.