Remix.run Logo
▲ rapind 3 hours ago

> Rails is so into agentic coding that they publish benchmarks of how effective different models are for building with rails

To each their own, but I think using Rails in the era of agents is probably a mistake. It has 2 big problems IMO.

(a) A ton of footguns that an agent can and will miss on occasion, and as we manually review less and less code, we will also miss it, and

(b) security on the web has become increasingly important due to hostile AI agents, and while rails has great secure conventions (see (a)), it's still easier to screw up something and not catch it until after it's deployed because there are simply less guardrails in place (dynamic types, no compile, slow tests, generally bad performance profile).

▲azuanrb an hour ago | parent | next [-]

Not sure if you’re speaking from experience or just being theoretical here. We’re using Rails and it’s been great. Maintenance and upgrades have been a breeze.

All this static vs dynamic stuff doesn’t really matter anymore. AI doesn’t care. You just need to close the feedback loop with tests, linting, a compiler, or whatever else gives it a clear signal.

Simple as that.

▲pdhborges 38 minutes ago | parent [-]

If it doesn't matter I will just pick the cheapest to run (the static ones).

▲toomuchtodo 3 hours ago | parent | prev [-]

What languages are best suited for development with agentic coding?

▲pitched 3 hours ago | parent | next [-]

Rust is used a lot. Elixir/Phoenix comes up often. You’re looking for something statically typed with string guarantees and as FP as possible to make unit testing easier.

▲rapind 2 hours ago | parent | next [-]

Rust for sure. Builds become a problem eventually though. Elixir is much more interesting now that they added types (I think they're doing more with this still?). I quite like Gleam from a human (non-agent) perspective.

▲cpursley 2 hours ago | parent | prev [-]

I've been using Rust more and more for specific tasks in my Elixir saas app, the two play really well together.

▲tkz1312 30 minutes ago | parent | prev | next [-]

the only substantive difference I've noticed is between languages with a proof system and those without, where with a proof system is orders of magnitude better for agentic work.

▲sroerick 11 minutes ago | parent | prev | next [-]

OCaml.

▲ForHackernews 3 hours ago | parent | prev [-]

In my experience, Go. It was designed to be idiot-proof. It's very verbose, not very expressive, compiles fast for quick feedback loops, strict autoformatter, plenty of examples in models' training data.