News for hackers. Stuff that matters.
Re:OpenCode – The open source AI coding agent by petcat on Saturday March 21, 2026 @07:05AM (#47465956)
Anthropic needs to spend some tokens rewriting Claude Code in Rust (yes, really).

The difference in feel between Codex and Claude Code is obvious.

The whole thing is vibed anyway, I'm sure they could get it done in a week or two for their quality standards.

Re:OpenCode – The open source AI coding agent by seunosewa on Saturday March 21, 2026 @07:13AM (#47465990)
I'd suggest Go ahead of Rust. It's more accessible to contributors.
Re:OpenCode – The open source AI coding agent by t1amat on Saturday March 21, 2026 @07:54AM (#47466213)
Claude Code is closed source so this isn’t a concern they should have as Opus is great at Rust.
Re:OpenCode – The open source AI coding agent by petcat on Saturday March 21, 2026 @07:18AM (#47466015)
> It's more accessible to contributors.

What would make go more "accessible to contributors" than Rust?

Re:OpenCode – The open source AI coding agent by ksh09 on Saturday March 21, 2026 @08:11AM (#47466313)
Mature tui packages like bubbletea, lipgloss. Besides TS resemblance to go could push the movement of rewrite, not necessarily easier though.

CC isn't foss in the first place, so the previous comment falls short.

Re:OpenCode – The open source AI coding agent by jeremyjh on Saturday March 21, 2026 @10:29AM (#47467361)
> TS resemblance to go

This is the second time I've seen claims like this in the last 24 hours and I'm afraid I might have lost contact with reality.

Re:OpenCode – The open source AI coding agent by yoz-y on Saturday March 21, 2026 @07:53AM (#47466207)
Go is a language one can learn and become functional in an afternoon. Rust is way more involved.
Re:OpenCode – The open source AI coding agent by Yokohiii on Saturday March 21, 2026 @08:14AM (#47466326)
To vibe coders it doesn't matter, right?
Re:OpenCode – The open source AI coding agent by kelipso on Saturday March 21, 2026 @09:03AM (#47466642)
Even then, you still need to read that code and Rust is way less read friendly than Go.
Re:OpenCode – The open source AI coding agent by Yokohiii on Saturday March 21, 2026 @09:32AM (#47466879)
I have the impression that most vibe coders don't read code. I guess they would probably use something accessible to them, just in case.
Re:OpenCode – The open source AI coding agent by seunosewa on Saturday March 21, 2026 @02:24PM (#47469784)
Successful vibe coders read code.
Re:OpenCode – The open source AI coding agent by MarsIronPI on Saturday March 21, 2026 @10:34PM (#47473895)
I'm looking forward to watching Gas Town catch fire, if and when it does.
Re:OpenCode – The open source AI coding agent by Andrei_dev on Saturday March 21, 2026 @05:41PM (#47471735)
I've been poking at AI-generated apps from the security side and yeah, reading the code is only half the problem. The code that IS there usually works. It's what's missing that gets you — no input validation, secrets sitting in plaintext, auth that the UI enforces but the server doesn't.

And even if you do read every line, you still won't catch it unless you know what should be there but isn't. No security headers. No RLS. System prompts wide open to injection. That stuff requires knowing the checklist, and the AI never had one.

Re:OpenCode – The open source AI coding agent by Yokohiii on Sunday March 22, 2026 @09:51AM (#47477564)
LLMs should know that, for maybe a CRUD app, there should be taken care of security at various layers, i.e. input validation in controllers. Knowledge from popular frameworks that communicate security boundaries should be transferable for them, even if everything is custom code. Very confusing to me how they manage to completely ignore so much of it. I guess they are too good following suit of a productivity minded vibe coder.
Re:OpenCode – The open source AI coding agent by olmo23 on Saturday March 21, 2026 @10:59AM (#47467650)
If you already know some php python javascript and/or c, you can pretty much just wing with Claude code.
Re:OpenCode – The open source AI coding agent by _flux on Saturday March 21, 2026 @10:50AM (#47467564)
Frankly I don't think one even needs to learn it, if you know a bunch of other languages and the codebase is good. I was able to just make a useful change to an open source project by just doing it, without having written any lines of Go before. Granted the MR needed some revisions.

Rust is my favorite, though. There are values beyond ease of contribution. I can't replicate the experience with a Rust project anymore, but I suspect it would have been tougher.

Re:OpenCode – The open source AI coding agent by verandaguy on Saturday March 21, 2026 @11:52AM (#47468138)
My personal opinion is that I like Rust much more than Go, but I can’t deny that Rust is a big, and more dauntingly to newcomers, pretty unopinionated language compared to Go.

There are more syntax features, more and more complex semantics, and while rustc and clippy do a great job of explaining like 90% of errors, the remaining 10% suuuuuck.

There’s also some choices imposed by the build system (like cargo allowing multiple versions of the same dep in a workspace) and by the macro system (axum has some unintuitive extractor ordering needs that you won’t find unless you know to look for them), and those things and the hurdles they present become intuitive after a time but just while getting started? Oof

Re:OpenCode – The open source AI coding agent by baq on Saturday March 21, 2026 @07:22AM (#47466033)
agents don't really care and they're doing anywhere between 90-100% of the work on CC. if anything, rust is better as it has more built-in verification out of the box.
Re:OpenCode – The open source AI coding agent by jeremyjh on Saturday March 21, 2026 @10:35AM (#47467420)
I think Go might be a better choice but not for that reason at all.

Go could implement something like this with no dependencies outside the standard library. It would make sense to take on a few, but a comparable Rust project would have at least several dozens.

Also, Go can deliver a single binary that works on every Linux distribution right out of the box. In Rust, its possible but you have to static compile with muslc and that is a far less well-trodden path with some significant differences to the glibc that most Rust libraries have been tested with.

Re:OpenCode – The open source AI coding agent by indigodaddy on Saturday March 21, 2026 @11:35AM (#47467954)
Because of all these obvious Go benefits, wonder why they are instead always doing these tools in typescript? Must be some reason?
Re:OpenCode – The open source AI coding agent by phaedrix on Saturday March 21, 2026 @12:09PM (#47468298)
Because is all the current generation of devs know unfortunately.
Re:OpenCode – The open source AI coding agent by jeremyjh on Saturday March 21, 2026 @11:38AM (#47467984)
Most developers find it more pleasant.
Re:OpenCode – The open source AI coding agent by ngrilly on Sunday March 22, 2026 @12:57PM (#47479534)
I don't get it either.
Re:OpenCode – The open source AI coding agent by whirlwin on Saturday March 21, 2026 @02:18PM (#47469716)
Most of, if not every commit of claude code is now written by claude code itself without any human writing code, only promoting.
Re:OpenCode – The open source AI coding agent by echelon on Saturday March 21, 2026 @11:57AM (#47468191)
This is a terrible suggestion.

Rust is accessible to everyone now that Claude Code and Opus can emit it at a high proficiency level.

Rust is designed so the error handling is ergonomic and fits into the flow of the language and the type system. Rust code will be lower defect rate by default.

Plus it's faster and doesn't have a GC.

You can use Rust now even if you don't know the language. It's the best way to start learning Rust.

The learning curve is not as bad as people say. It's really gentle.

Rust is the best AI language. Bar none.

Re:OpenCode – The open source AI coding agent by thayne on Saturday March 21, 2026 @12:54PM (#47468773)
I think go will make it easier for more developers to contribute, bit rust would probably attract higher quality contributions.
Re:OpenCode – The open source AI coding agent by sam0x17 on Saturday March 21, 2026 @12:58PM (#47468798)
If anything, the stricter the compiler the better for vibe coding the language
Re:OpenCode – The open source AI coding agent by leonardcser on Saturday March 21, 2026 @09:46AM (#47466992)
already done, this is what I use now: https://github.com/leonardcser/agent
Re:OpenCode – The open source AI coding agent by phillipcarter on Saturday March 21, 2026 @11:49AM (#47468107)
Claude Code is a Rust app now.
Re:OpenCode – The open source AI coding agent by stonks on Saturday March 21, 2026 @08:23PM (#47473047)
It still has bun inside with minified JavaScript.
Re:OpenCode – The open source AI coding agent by MithrilTuxedo on Saturday March 21, 2026 @02:34PM (#47469878)
Java (incl. Scala, Closure, Groovy, Jython, etc.) is better suited to running as a server. Let agents write clean readable code and leave performance concerns to the JIT compiler. If you really want you can let agents rewrite components at runtime without losing context.

Erlang would offer similar benefits, because what we're doing with these things is more message passing than processing.

Rust is what I'd want agents writing for edge devices, things I don't want to have to monitor. Granted, our devices are edge devices to Anthropic, but they're more tightly coupled to their services.

Re:OpenCode – The open source AI coding agent by rednafi on Sunday March 22, 2026 @01:44AM (#47474809)
There is literally no reason to write it in a JVM language in 2026 when better options exists. Either Go for simplicity and maintaininability or Rust to get the most out of the machine works.

Also, it'll be hard for them to lure good people to work on that thing. Absolutely no one is getting excited to write, vibe, or maintain Java.

Re:OpenCode – The open source AI coding agent by nurettin on Sunday March 22, 2026 @02:27AM (#47474987)
I am not thrilled to use java, but it really does what it says on the tin. A customer copied the jar file I sent them to their as400 and it just worked. There is nothing quite like it.
Re:OpenCode – The open source AI coding agent by rednafi on Sunday March 22, 2026 @04:48PM (#47481975)
Go binary says hello. No VM overhead. Everything is statically linked.
Re:OpenCode – The open source AI coding agent by nurettin on Monday March 23, 2026 @05:40AM (#47487173)
Hi go binary, unfortunately you don't exist, because there is no cross compiler for that platform. Also please don't crash if you ever do get cross compiled, since the target system doesn't understand your utf8 strings.