Remix.run Logo
▲ giancarlostoro 5 hours ago

So.. back when Claude Code went from Zig to Rust people were accusing the developer of doing it as a PR stunt, only I knew it was not, its insanely trivial to port projects using Claude, I had done it months prior, I took a C# project from 2009... had Claude go file by file, write up docs, and port it all to Rust. It had its bugs and quirks, but the insane amount of it that actually worked was impressive. I was also able to add new things that the old code base didn't have, including additional SQL databases, the original only supported MySQL.

I think it took me maybe a week or two tops?

So yeah, this is unsurprising, I've debated porting a few different projects I love to Go or Rust similar to this endeavor but doing both Rust and Go seems excessive to me.

▲saagarjha 5 hours ago | parent | next [-]

Bun, I think Claude Code is still JavaScript or TypeScript

▲giancarlostoro 4 hours ago | parent [-]

Bun is what hosts Claude Code, Bun was Zig, now its Rust, but yeah I guess I wrote CC instead of Bun.

▲flexagoon 4 hours ago | parent [-]

> Bun is what hosts Claude Code

What? I'm not sure you know what you're talking about

▲satvikpendem 4 hours ago | parent [-]

Claude Code runs on Bun, it's why Anthropic bought Oven. Maybe you should research the facts before making comments like these.

▲flexagoon an hour ago | parent [-]

I'm aware of that. "Bun hosts Claude Code" is a nonsensical sentence. Bun is a JS runtime. It doesn't "host" anything.

▲tredre3 4 hours ago | parent | prev | next [-]

There's a lot wrong with your comment. First, Claude Code was and still is a TS/JS application. Bun, its runtime, went from zig to rust. However the javascript engine is still C++.

Second, Taylor Otwell very clearly claims that these new Rust and Go versions aren't slop ports of Laravel (his words). They're implemented from scratch.

Third, why would doing both Go and Rust be excessive? There is no value in changing the language of a framework to begin with, because the framework is tied to the language by design. So the only reason to reimplement it is to attract developers from the new language. And if it's as easy as you claim to create such port, then why wouldn't they want to attract both Go and Rust developers??

▲giancarlostoro 4 hours ago | parent [-]

> First, Claude Code was and still is a TS/JS application. Bun, its runtime, went from zig to rust. However the javascript engine is still C++.

Correct, I misspoke when I meant to say Bun, that's on me.

> Second, Taylor Otwell very clearly claims that these new Rust and Go versions aren't slop ports of Laravel (his words). They're implemented from scratch.

He did it in 8 weeks with AI, I'm not calling it Slop, but just want to be very clear that AI was definitely involved, which is what I'm suggesting is that the right developer paired with an AI model can port a project they're familiar with to a new language. I've spent most of my career involved in total rewrite projects, they don't just happen in 8 weeks, with a single developer.

> Third, why would doing both Go and Rust be excessive? Instead of focusing on one single instance of Laravel, or even two now he's focusing on three renditions of it, it's a bit of mental overhead to manage and maintain something that could be so critical to many businesses.

I do love this initiative either way, both Go and Rust in my eyes need something like Laravel, I never found something quite like a Laravel in either, there's some close ones in Rust, but they're not adopted industry wide as far as I can tell.

▲flexagoon 4 hours ago | parent | prev [-]

"It wasn't a PR stunt, they were just trying to show how impressive their product is"

▲giancarlostoro 4 hours ago | parent [-]

Except me and others have already done what he clearly did because it became pretty obvious to anyone paying attention to Zig that Zig was becoming friction on their efforts that wasn't there had they been using literally any other language.