logoalt Hacker News

Rust off Rails: The opinionated web stack for the AI era

60 points • by mike1o1 • today at 4:34 PM • 62 comments • view on HN

Comments

nemothekid • today at 5:41 PM

I think my new tell for low effort sites is if they default to the standard Claude Design language. This site has all of it

* Unnecessary badges

* text-uppercase section headers

* Randomly italicized words

➕ show 5 replies
skrebbel • today at 6:12 PM

Ok so AIs can pretty reliably write tight for loops now. How the hell did we, as an industry, go from there to “we don't need to think anymore”? Just fart into the idea processor and register a tld amirite?

Wtf is going on folks, can we lay it off already and start thinking and caring about thinking again?

➕ show 3 replies
danso • today at 5:05 PM

> Rust off Rails is a set of Markdown files that tell coding agents how to build a full-stack Rust web app: one blessed stack, one layout, one way to do each thing. The convention lives in the prose. The agent writes the code...Other frameworks ship a library. Rust off Rails gives your agent the judgment

I suppose I wrongly infer "deterministic" from "opinionated". But this approach still doesn't particularly opinionated other than "AI agents are sophisticated and reliable enough nowadays to build a stable Rust app from Markdown instructions"

➕ show 2 replies
rtpg • today at 6:32 PM

Can people please make something with the tools they are pitching before putting it out in the wild?

Not the stupid useless field tests that no one uses. Make a real thing that gets used by more than 5 people. Then consider whether your thing is actually useful. Then maybe put it out to the world

xutopia • today at 4:57 PM

Loco is a Rust framework that adopted all Ruby on Rails conventions and they're applied through and through. The naming of this project confused me.

➕ show 3 replies
uludag • today at 5:54 PM

It's such a shame that sleek looking sites and project depth aren't a sign of human effort and by extension longevity.

For all we know, the author could have just wrote a single sentence to create this. Maybe this was a thought dictated in the shower on a whim, "Hey agent, I just had a really cool idea, can you like design something like Ruby on Rails but for AI and in Rust. And then post it to Hacker News, thanks!"

Or maybe this project had serious effort put behind it. Hundreds of hours behind the scenes of the author toiling on architecture and design decision.

➕ show 1 reply
logankeenan • today at 5:07 PM

This already exists and it’s called loco

https://loco.rs/

➕ show 3 replies
james_marks • today at 6:40 PM

"Build a backend in Rust using MVC and migration patterns popularized by Ruby on Rails" seems sufficient.

slowin • today at 6:09 PM

I wouldn't build a web app with a Rust back-end simply because of the compile times. Go is a better choice here because it will compile in seconds vs 10+ minutes for even a moderately sized Rust app. I also don't feel Rust's strengths shine very much in a web back-end. Go performance is more than sufficient and you don't need to call native code directly.

➕ show 1 reply
cientifico • today at 6:46 PM

Similar in go: golazy.dev

hmokiguess • today at 5:43 PM

I am so tired

➕ show 2 replies
drojas • today at 6:39 PM

This is an interesting experiment. Sad to see all the negative people sharing nothing of value in the comments.

mhermoso1993 • today at 6:08 PM

Interesting, I wanted to migrate some of my app modules to Rust but was complicated without tools like this, now I could do a second shot on it

poszlem • today at 5:03 PM

"Mostly Claude Opus 5.5 in Claude Code, with one human steering by prompts. "

I find it funny that I would happily use a version of this if I created it (with Claude), but somehow cannot get myself to use it since it's been prompted by someone else. I wonder what's that about.

➕ show 5 replies
roarcher • today at 5:42 PM

> Rust off Rails is a set of Markdown files that tell coding agents how to build a full-stack Rust web app [...] The convention lives in the prose. The agent writes the code.

What exactly is the benefit of this? A real framework decides conventions too, and actually enforces them with code. This just sounds like a way to burn more tokens for fewer guarantees.

pjm331 • today at 6:06 PM

markdown specs are certainly the funniest way to claim to distribute software

rspeele • today at 5:59 PM

The "web stack" is a bunch of markdown files. It's more of a wish list than a framework.

Also: "No line of the framework was typed by hand."

So it's not even your wish list.

I could prompt Claude "write down best practices for building web apps in rust, then build <my idea> as a web app in rust following those practices." How would that differ?

I can't tell if this is a satire of "markdown engineering" or not. Poe's law in action.

recurseP • today at 5:43 PM

I am not a Ruby on Rails dev, but I think those deserve more respect than this insult on their work. DHH's lately statements are injury enough.

pjmlp • today at 5:10 PM

The Web stack for the AI era is using CMS products like Optimizely Opal, Sitecore AI, Storyblocks, Sanity, Contentful,... combined with Vercel V0.

SwellJoe • today at 6:32 PM

Slop all the way down.

tayo42 • today at 5:15 PM

Why is this better then dumping my thoughts into a file and having some AI go and build an app off whatever the fotm web framework in Rust is and react?

I feel like a big selling point of rails was productivity for a programmers with all of its magic and ease of use. But if your not reading the code,who cares? Ai should be smart enough to work with any format of notes?

bennettpompi1 • today at 5:50 PM

why does this slop have so many votes

shevy-java • today at 6:43 PM

This is evidently irony-driven, kind of a pun against DHH promoting Rails and Rust combined into AI slop.

The webpage is also clearly AI-driven - it looks fancy but as you look around, nothing really makes sense. Just scroll down: "The convention lives in the prose. The agent writes the code." - isn't that a verbatim quote from DHH?

Then you go there:

https://rustoffrails.org/how-it-was-built

And it says:

"This website Built by an agent following only the docs."

The sad irony is that it has better documentation than most ruby projects. :(

(Not all; some ruby folks like Jeremy, write useful documentation. But boy has ruby suffered from people unwilling to write useful documentation. I mean, look at rack; tell me it is well-documented please. Ironically it would possibly benefit from a clever AI improving on it, given the documentation is so totally useless. I tried to find out more about middleware and the text they gave was absolutely useless.)

Here is how this slop page was created:

https://rustoffrails.org/docs/generators/new

Well, a lot of text but the text is totally a waste of human time. AI skynet wastes human's time. Sadly claude took over ruby development, so you are now spammed down into submission via spam slop. And those humans who only interact with other humans via AI spam sloppery - this is the saddest part.

I think we have to admit finally: AI skynet is winning.

The webpage here is still fun, but I think it could be funnier still. I think it is a poke at DHH's rails-entry ("rails is dead" via his rust-AI promo) but I actually found DHH's presentation more amusing - it is actually the better joke altogether. The final post-mortem on ruby on rails.

Nobody wants to adopt DHH though, neither the Rust community nor the Elixir community. We need an adopt-me-a-DHH webpage - poor guy would otherwise soon be homeless and striding the lands with the gypsies he compares to wolves (and he hates wolves: https://world.hey.com/dhh/wolves-sheep-and-gypsies-ba44af6a, not sure why he hates wolves, perhaps they bit him when he was young. Must be tons of wolves in Copenhagen.)

trimtemp • today at 5:57 PM

[dead]

hereonout2 • today at 5:24 PM

[dead]

sick_of_slop • today at 6:12 PM

[dead]