Live data from Hacker News

How we rebuilt Next.js with AI in one week

blog.cloudflare.com

191–200 of 252 posts

Re: How we rebuilt Next.js with AI in one week

#191

Earlier quoted context omitted.

(to be transparent - I'm a Cloudflare engineer) The behavior isn't entirely the same and reaching 100% parity is a non-goal, but there are a few things to note. This is still a very early implementation and there are undoubtedly issues with the implementation that weren't covered in next's original test suite (and thus not inherited) while not being obvious enough to pop up with all the apps we've tried so far. As fo…

Why is parity a non-goal? The blog post states: > The result, vinext (pronounced "vee-next"), is a drop-in replacement for Next.js "Drop-in" in my mind means I can swap the next dependency for the vinext dependency and my app will function the same. If the reality is that I have to spend hours or days debugging obscure edge cases that appear in vinext, I wouldn't exactly call that a drop-in replacement. I understand…

Changing the definition of drop-in definitely has me concerned and makes me not take this any seriously than other projects open-sourced by Cloudflare, particularly the ones focused on more critical parts of their systems – e.g. pingora and ecdysis.

Re: How we rebuilt Next.js with AI in one week

#192

I'm deeply skeptical of the "X reimplemented and it was super easy" thing. The devil is in the detail. So many edge cases unlikely to be there. So many details or fine details unlikely to be there. Years of bug fixes. If it is literally a drop in replacement and it passes all the tests, and you're replicating something with and extremely thorough test suite, then sure I'll give you the benefit of the doubt. Otherwise…

I don't necessarily buy it either, but TFA talks about the test suite. They basically pulled 2k unit tests and 400 E2E tests from Next and made sure they all passed.

You think Next.js writes a test for every bug?

Re: How we rebuilt Next.js with AI in one week

#193
post #171
post #128

Earlier quoted context omitted.

If Rails is considered a worse framework, then I'm pretty much speechless. Not everything has to be about performance. Security is a thing too.

I miss Rails so much when working with any of the top JS frameworks. Every time I run into an issue that Rails had a standardized solution for a decade ago just proves that most of the JS world spends their days metaphorically digging holes with sharp sticks, rather than using the appropriate tool. But the industry values overpaying stick-diggers over results, therefore I gotta play along…

[dead]

Re: How we rebuilt Next.js with AI in one week

#194

Earlier quoted context omitted.

It is the most passive aggressive thing I’ve ever seen. Cloudflare team had issues with the Next team? And they responded with ‘we can do your whole product with an intern and AI’, lol. Woah.

Recreate your competitor's product with an intern + AI over a weekend. Hilarious! I hope this becomes common practice. It might even work as an interview question for hiring new candidates.

So you think a reasonable interview question would involve spending hundreds to thousands of dollars on tokens?

Re: How we rebuilt Next.js with AI in one week

#195

Earlier quoted context omitted.

at my job we have some 7+ year old nextjs apps that don't receive new features but still do their jobs perfectly fine, and they keep changing random shit around for no reason, we've had to waste time on multiple refactors already for major nextjs version bumps once the older ones are no longer supported

Is there any front end framework that doesn't do this? I dropped out of the front end years ago, and it seems to just get worse every year with a profusion of confusion. Doesn't anyone yearn for back when we didn't have to build the front end at all?? Just emit some HTML and serve up some JS files from the backend, and everything just flows from there? Someone go make an AI rewrite of Apache+Mod-PHP and sell it to zo…

I know everyone loves to hate Angular but it is in a really good place at the moment. If you don't need SSR and just want to build an SPA, Angular is the way to go imho.

Re: How we rebuilt Next.js with AI in one week

#196

I wonder to what extent you should say you "rebuilt" something when the most basic hello world example doesn't work. And I wonder to what extent it makes sense to call it "from scratch" if you inherit a battle tested extensive test suite from the thing you're rebuilding, and the thing you're rebuilding is part of the training data. Here's the first paragraph of Harry Potter and the philosopher's stone. I rewrote it f…

is it you, rauchg?

Re: How we rebuilt Next.js with AI in one week

#197

Earlier quoted context omitted.

Clownflare engineers are in the chat now doing damage control and downvote opposition. Soon jgrahamc will appear and whitewash the theft.

It's wild. If I need to steal someone's code, I just need to let an ai crawl it and it'll regurgitate the same thing. I can't wait for it to recreate marvel movies.

I think this framing is wrong. we have to learn to accept that it's not stealing. It's a new world where it's fair use and we don't know how to deal with it.

If we accept this then we can do something about it. Without it no one will heed us.

Re: How we rebuilt Next.js with AI in one week

#198
post #150

Earlier quoted context omitted.

Rails powers nearly 15 percent of the US e-commerce. I love it. Any time I have to use another framework it feels like a huge downgrade. Rails has so many things that make it nice to use

Agreed 100%. I shifted to Phoenix/Elixir years ago but I still love Rails for all the sensible defaults it provides.

How is the elixir job market these days?

Re: How we rebuilt Next.js with AI in one week

#199
post #171

Earlier quoted context omitted.

I miss Rails so much when working with any of the top JS frameworks. Every time I run into an issue that Rails had a standardized solution for a decade ago just proves that most of the JS world spends their days metaphorically digging holes with sharp sticks, rather than using the appropriate tool. But the industry values overpaying stick-diggers over results, therefore I gotta play along…

Shilling a bit but maybe check out wasp.sh, we are conceptually very similar to "Rails for JS"! Just don't tell Claude to completely copy us hehe (pls)

Nothing personal and I wish you the best of luck with wasp.sh, but the constant churn of new libraries that will revolutionize JS development, but are never quite finished and are eventually abandoned in a semi functional state is exhausting and exactly the main issue I have with the JS ecosystem in general.

At this point, I'm convinced there's a secret global conspiracy to prank JS developers. For example 1 person maintaining 3 similar-but-distinct decimal libraries for Javascript, or the top 3 PDF processing libraries silently producing blank outputs.

Re: How we rebuilt Next.js with AI in one week

#200
post #150

Earlier quoted context omitted.

Rails powers nearly 15 percent of the US e-commerce. I love it. Any time I have to use another framework it feels like a huge downgrade. Rails has so many things that make it nice to use

Agreed 100%. I shifted to Phoenix/Elixir years ago but I still love Rails for all the sensible defaults it provides.

Elixir is nice but the console feels like the Stone Age by comparison. That drives me a little crazy
Post reply on HN