Remix.run Logo
▲ vova_hn2 a day ago

On the one hand, AI makes this kind of porting doable, but on the other hand it makes it less useful.

I mean, what are the point of using a library of framework anyway? I can generate all the code my app needs myself, for my specific use case.

Pre-AI the whole point of frameworks was to avoid writing the same code again and again for each app by putting the most common parts into a framework.

Now that code is cheap, you can just generate it every time, who cares.

▲jjice a day ago | parent | next [-]

This is a common line of conversation now with libraries and applications. I think it discounts the idea that using something that already exists and is maintained allows you to worry about less still. It is cheaper to write that code yourself, but then you still have to maintain it. Sometimes that is worth it, but something like a web framework feels like a great place to be, because you get this heavy abstraction, plus the speed up from the LLMs.

I think that this is an "and" situation, not an "or" situation.

I don't know why we would want to generate the code over and over again if we can have an abstraction and then spend our time, tokens, and future maintenance more effectively.

▲vova_hn2 a day ago | parent [-]

> I think it discounts the idea that using something that already exists and is maintained allows you to worry about less still.

I agree with you if we are talking about something battle-tested like old Laravel.

But if we are talking about something slop-ported, like these new "Laravels", I don't see how it is applicable. Who says that my AI-slop will be worse than their AI-slop? Mine will probably be generated using a newer model. The moment they pushed their slop to Github it starts getting obsolete, because of the newer models being released.

▲jjice a day ago | parent [-]

Yeah, I do agree with you in concept! I would love for this and the Laravel Rust to succeed, but you're right that these don't get that auto stamp of approval. My comment was vague in that I was more so talking about the concept.

▲dofm a day ago | parent | prev | next [-]

This is not particularly an automatic LLM-rewrite, as far as I can see.

Several patterns are notably rewritten to being Go-like.

I am sure there was some machine translation based on schemas, but there's a lot of real human thought here.

▲mystifyingpoi a day ago | parent | prev | next [-]

Is it really economical to generate a half-assed, ultra specific to the current needs web framework every time from scratch?

▲vova_hn2 a day ago | parent [-]

Not sure, if there is a difference anymore.

If we are talking full AI-driven "agentic" development, we should probably be measuring cost in tokens. Unless the framework is popular enough to be in the weights, agent will have to pull docs or source code into its context. Is it really cheaper than generating and keeping in the context an ultra specific web framework?

▲mystifyingpoi a day ago | parent [-]

There is very little reason not to use the most popular web framework possible for a new product. If we use Java, Claude knows Spring, no docs needed for 99.9% of the typical cases. No one will look at the code anyway, there will be no time, so who cares? This will be for sure cheaper then rewriting HTTP handlers using raw sockets every time.

▲slopinthebag 21 hours ago | parent | prev [-]

yeah 100%. why would i wanna use someone else's slop when I can use my own slop?