Live data from Hacker News

Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

github.com

171–180 of 302 posts

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#171
post #134

Earlier quoted context omitted.

> - I don't think Claude Code is using the Rust version yet in their official build No, I'm pretty sure it is, actually, since June 17: https://code.claude.com/docs/en/changelog#2-1-181 >> Upgraded the bundled Bun runtime to 1.4 Now, Bun 1.4 doesn't seem to officially exist on https://bun.com/blog or https://github.com/oven-sh/bun/releases , so I can't be 100% sure this is the Rust version. However, I have to do some…

https://news.ycombinator.com/item?id=48609168 https://grigio.org/bun-1-4-the-controversial-ai-driven-rewri... > 13,044 unsafe blocks in the resulting Rust code (hand-written Rust projects of similar size average ~73) Grok is this true? I've heard the meme that AI written rust code is absurdly full and safe blocks but... that's pretty funny. Hang on. A claim like that can be verified with a single grep! Give me a minu…

Counting instances of "unsafe {" is pretty useless. Unsafe is needed in "safe" code. What it allows is to create a boundary where the caller is the one that uphelds the contract. If the unsafe is in an internal library, it’s much more difficult to misuse.

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#172

Absolutely insane that Fable 5 was able to pull this off although I'm curious how much it cost

It seems it didn't:

> Built on EA's GPL v3 source release via fbraz3/GeneralsX (which did the heavy lifting of the macOS/Linux port — this fork adds the iOS/iPadOS port and a set of engine fixes)

Fable added 19 commits on top of the parent fork, which did not use AI.

You can see the diff of what Fable added here: https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/compare...

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#173

Earlier quoted context omitted.

Right? All Fable did was a ported an already cross platform project to ios. Does not look like any sort of heavy lifting there, opus 4.6 would do just fine

I read this and laugh a bit because just 7 months ago the bar was so much lower and now we go "well duh of course it was able to make a working ios app from a game made 20 years ago... a game that was made 3 years before the first iPhone"

"it was able to get a macOS port of a 20 year old game to run on iOS"

still very cool, and sci fi not long ago

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#174
post #66

Earlier quoted context omitted.

I agree that the Bun rewrite is much more reasonable than knee-jerk reactions imply, however: - I don't think Claude Code is using the Rust version yet in their official build - Claude Code is not a particularly complicated piece of software from an engineering perspective (nor it's particularly well-engineered, at least at the moment). So in my book "it runs Claude Code" would be pretty weak evidence that the rewrit…

I agree Claude Code is seemingly (currently) not very well-engineered but I think you may be moderately underestimating how complicated it is/necessarily has to be.

What are those complications?

Last I heard Claude Code devs were trying to compare their app to a game engine or rendering system.

This was summarily ridiculed. Are you saying that writing a game engine is easier than writing Claude Code?

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#175

I think the next 10 years or so are going to see a chucklefuck of games reversed thanks to LLMs, which can easily pattern match and operate on contrivedely optimized assembly and output reasonably accurate C/C++ code. I’m one of many right now using Ghidra + LLM workflow. It’s doing the thing it needs to and I’ve helped several communities revive and port their games this way. It is a huge time saver. While I’d perso…

I hope we get Skyblivion soon

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#177
post #42

IMHO, this is an actual good use of what sounds like a person guiding a model to do a mass conversion. Although, I wish the porting docs were a little wordsmithed by a human, the AI generated text style is grating. The stakes are low, it’s mostly for fun and you can iterate on it. Compare this with Bun which was just like, “hey we converted everything to Bun to Rust from Zig, of course it works, what could possibly g…

IMHO, this is an actual good use of what sounds like a person guiding a model to do a mass conversion. This is quite the understatement. Actually, it's probably the understatement of the year. "Pretty good, not bad, great use case". Dude. Fable fucking did what ?

It added iOS support, the upstream repo had already ported the game to Linux and MacOS.

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#178
post #84

Earlier quoted context omitted.

For that to be click bait it implies people wouldn’t have clicked on it if any other model were used. IMO the more interesting fact is they ported a game over to iOS.

I dunno... Command and Conquer ported to macOS/iPad in 18 months using AI coding agents probably wouldn't have the same ring to it

The port to MacOS is from the parent upstream repo, which also has it working on Linux, this fork added iOS support.

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#179

Diff of the changes Fable added to the parent fork (which does not appear to have used AI): https://github.com/ammaarreshi/Generals-Mac-iOS-iPad/compare... for those curious.

That is really not a lot. A human could have easily done this. How much did it cost / how many tokens were spent?

Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable

#180

Earlier quoted context omitted.

I have a Renegade one going that does all of this from scratch (different engine) so it's def more than capable!

Old renegade? Damn that was one of the first app.I played on a pc.bqck when I had 8086 hercules graphics card. Bring it back please!

I assume he means Command and Conquer: Renegade
Post reply on HN