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.

My ritual differs slightly. What I do, first thing [in the morning], is I
hop into the shower stall. Then I hop right back out, because when I hopped
in I landed barefoot right on top of See Threepio, a little plastic robot
character from "Star Wars" whom my son, Robert, likes to pull the legs off
of while he showers. Then I hop right back into the stall because our dog,
Earnest, who has been alone in the basement all night building up powerful
dog emotions, has come bounding and quivering into the bathroom and wants
to greet me with 60 or 70 thousand playful nips, any one of which -- bear
in mind that I am naked and, without my contact lenses, essentially blind
-- could result in the kind of injury where you have to learn a whole new
part if you want to sing the "Messiah," if you get my drift. Then I hop
right back out, because Robert, with that uncanny sixth sense some children
have -- you cannot teach it; they either have it or they don't -- has chosen
exactly that moment to flush one of the toilets. Perhaps several of them.
-- Dave Barry