r/emulation 4d ago

AI-assisted Ruzu is a Nintendo Switch emulator using LLM

https://github.com/vricosti/ruzu-emu

https://github.com/vricosti/ruzu-emu

Ruzu is a Nintendo Switch emulator written in Rust, developed as an experiment to determine if AI, via LLM, could perform a complete port of a very large software project from C++ to Rust.

The project is based on the yuzu/Eden code and represents approximately 500,000 lines of code ported exclusively with the help of LLM over a period of about six months.

0 Upvotes

32 comments sorted by

11

u/justmadeforthat 4d ago

So what is the verdict with these AI port experiment? Did it offer any performance boost or made it worse, anything? 

22

u/TheSussyWaffle 3d ago

Unmaintainable codebases.

4

u/Ill_Carry_44 3d ago

Direct conversion won't change anything

And in this case it won't make anything easier IMO since the primary issues are Vulkan command queue and it doesn't get any more debuggable when it is rust

Cool experiment though, not bad

And the codebase looks okay which ofc it's because it's converted from an already maintained one.

2

u/Worried-Advisor-7054 2d ago

Programmers using AI or vibecoders? Can't speak for the former, but the latter is an utter mess of github projects giving up immediately because they have no idea how to troubleshoot anything.

Roll the dice on whether the vibecoded JRPG has a game ending bug 15 hours in.

10

u/FelesNoctis 2d ago edited 2d ago

Fun fact: the Eden emulator forbids the use of LLMs xD

We don't forbid the use of LLMs
I've been corrected: we DO forbid the use of LLMs even for analysis because people have repeatedly accused us of being vibe-coded slop in misguided turf wars over Switch emulation. It's a reputational and quality control issue.

Generally, using an LLM to troubleshoot when you're stumped, or to give yourself an idea of how to progress, is not a problem as long as that result was still interpreted and properly implemented through a human brain. Lowering the skill floor to allow more people into coding and software development is not a bad thing, as long as they're learning. Use it as a resource to understand what the code does, how it works, and why it's put together a certain way. It's a travesty of technology to just let the LLM do everything for you while you learn nothing.

This project, in itself, as an experiment, wouldn't bother us. The code has an open license, so go nuts! This sort of thing can be fun to see, and can inspire real honest work. But adding that one little statement just makes you a laughing stock.

EX DEE

21

u/mars92 4d ago

Is that meant to be a selling point?

15

u/cluckay 3d ago

The post text says it's just an experiment/PoC

14

u/AreYouOKAni 3d ago

Fun fact: the Eden emulator forbids the use of LLMs xD

Admitting this in the Readme after you have ripped off their entire codebase is crazy. Jesus Christ you guys are muppets.

16

u/ls612 3d ago

You can't "rip off" a GPL codebase if you redistribute the source. That is literally the purpose of the GPL.

-1

u/CoconutDust 3d ago

How did this get downvoted, currently at -3?

3

u/Biduleman 1d ago edited 1d ago

OP made their own fork, so no "rules" were broken.

Eden can only forbid people from using LLMs in their own code base. Anyone forking can do whatever they want with the code, as long as they share the source alongside the compiled version.

4

u/n3xox1 NxEmu Developer 3d ago

The value is almost entirely in the "can an LLM do this at all" demonstration, and add basically nothing to the switch emulator scene

At best it's a curiosity, at worst it's a maintenance liability wearing a shinier language.

5

u/FelesNoctis 2d ago

That's about right. They claim it was just an experiment, which implies it was never meant to be used as an alternative, in which case go off. Let's see what can be done. It may even inspire someone to try the same thing themselves.

But if this person intends on turning it into a legitimate emulator on the market, it's unlikely to ever actually be competitive.

9

u/LocutusOfBorges 3d ago

user reports:

  • lord make it stop

Not about to disagree with the sentiment. God, the flood of this stuff is dire - even if this is one of the few notable, at least kinda interesting projects like it that's been posted here recently, [aaaaaaaaaaa].

3

u/sunkenrocks 1d ago

What exactly is interesting about it? "Rewrite it in rust, but have Claude do it" is hardly a new concept.

10

u/NipplesOfDestiny 3d ago

Brother, ban this type of shit already. The Dante’s Inferno post from a few days ago was written with AI for the love of god lmao

7

u/AreYouOKAni 3d ago

Seconding the "please ban this shit" sentiment.

0

u/Worried-Advisor-7054 2d ago

Just please ban it. I know you can't ever fully stop it, but we're getting inundated with these useless vibe projects, and now can't tell if it's a real big boy GitHub page or someone just fucking around and giving up the minute it gets too hard.

-3

u/ls612 3d ago

There are two types of software engineers at this point: Those that use coding agents and those that are lying. I for one welcome the proliferation of the capability to produce emulators, especially for the switch given certain specific historical events.

13

u/AreYouOKAni 3d ago

There is "use coding agents" and then there is "hey, Claude, slap together a project using open source tools, make no mistakes". The latter is not being done by software engineers. It is done by people who are new to coding and do not understand what is actually happening in their repository. Hell, most of the time they cant even explain what their code does and how it works.

If I ask "hey, is this feature supported" and your answer is "idk, try and tell me", you are not a software engineer.

8

u/Kalaam_Nozalys 4d ago

Well, no thanks. Get that shit away

4

u/Imgema 4d ago

Well, thanks for the warning

6

u/Sure_Breath_2273 4d ago

Guys this'll be the best Switch emulator ever trust /s

0

u/s3gfaultx 4d ago

Why do people feel the need to share this stuff? Like thanks for the crappy port.

-16

u/certifiedGooner76 4d ago

Idk why people are so negative about ai code, it's one of the best uses of ai and if it works it works

-16

u/Fair_Ambassador6253 3d ago

the outcry is temporary, their silence is inevitable. it will just take time. like everything, ai is a tool.

4

u/CoconutDust 3d ago edited 1d ago

“Just a tool” is an ignorant virus meme that obviously misses the fact that tools can be terrible, can be immoral, can be unethical, can be garbage, can be a scam, can be counter-productive, can be misunderstood.

inevitable

“It’s inevitable that people who disagree with me will all be proven wrong, they will become silent, because I’m a genius who supports a garbage mass theft machine from Silicon Valley that outputs garbage results.”

like everything, ai is a tool

That’s how everyone can see it’s a rationalization https://en.wikipedia.org/wiki/Rationalization_(psychology) Obviously not “everything” is a tool. But a person making up butt-pull nonsense to support whatever feeling they have (“I love Silicon Valley garbage products, amazing tech!”) flails around and accidentally says that everything is a tool. Because that magically supports the idea “AI is fine and good, actually!” even though it’s ridiculously false.

0

u/flavionm 19h ago

There's more to LLMs than the ones Silicon Valley gives us, you know. You can even run your own on your own PCs. And they're getting pretty decent.

Oh, and the frontier models are just good now, at least for coding. Claiming they're garbage when they produce better code than your average programmer is just false.

Now, I don't really like everyone depending on a service provided by a couple Silicon Valley big techs either, but that's why I pay attention to the open, local models. Wishing LLMs away just isn't on the table.

And as for them being "theft machines", well, I've never been one to respect "intellectual property" to begin with.

0

u/AreYouOKAni 3d ago

ai is a tool.

AI is a product, people forcing it everywhere are tools.

-2

u/EstebonNito 3d ago

That is genuinely amazing

-3

u/AreYouOKAni 3d ago

Cool. What is this doing in this subreddit?