News for hackers. Stuff that matters.
Re:Yuzu Progress Report December 2022 by echelon on Tuesday January 10, 2023 @11:57PM (#34335159)
I've seen this project a few times. A few top of mind thoughts about it:

1) C++, huh? This must have just missed the Rust bandwagon.

I'm curious why they chose to write this in C++. Was it because they're attached to a legacy codebase?

2) Nintendo looks to be in a precarious position.

You can run Yuzu on a Steam Deck and play all Switch games on it. Valve even advertised this, and that's how I initially found out about the emulator.

Seems like you don't need a Switch if you're a kid without a big budget, and this looks easy enough to set up and run.

Re:Yuzu Progress Report December 2022 by OatmealDome on Wednesday January 11, 2023 @12:34AM (#34335358)
With regards to 1, yes. yuzu is a fork of Citra, a 3DS emulator written in C++ that was initially released in 2014.

This was done because the 3DS and the Switch are similar in some ways (for example: the Switch OS, Horizon, is a rewritten version of the 3DS OS).

Re:Yuzu Progress Report December 2022 by 29athrowaway on Wednesday January 11, 2023 @12:10AM (#34335226)
They started from pre-existing projects: Citra (3DS), Dolphin (GameCube, Wii), PPSSPP (PSP), Gekko (GameCube)

Dolphin is 19 years old, Rust is 12 years old.

A used Nintendo switch is less expensive than a gaming computer.

Re:Yuzu Progress Report December 2022 by aufhebung on Wednesday January 11, 2023 @12:39AM (#34335391)
>A used Nintendo switch is less expensive than a gaming computer. Clearly you never used the 'Mum I need a good computer for school' trick.
Re:Yuzu Progress Report December 2022 by s9w on Wednesday January 11, 2023 @12:00AM (#34335176)
Those uninformed C++ bashes are misplaced
Re:Yuzu Progress Report December 2022 by echelon on Wednesday January 11, 2023 @12:01AM (#34335186)
> Those uninformed C++ bashes are misplaced

I'm a current daily Rust user and former C++ user. The opinion is formed of my own experience.

Re:Yuzu Progress Report December 2022 by Kukumber on Wednesday January 11, 2023 @12:06AM (#34335210)
That's why they chose C++ over Rust, because your experience lacks writing a Switch emulator
Re:Yuzu Progress Report December 2022 by bakugo on Wednesday January 11, 2023 @01:18AM (#34335628)
So why don't you rewrite the emulator in rust, then? Seems like it would be right up your alley, and rust is only used to create inferior rewrites of existing software anyway.
Re:Yuzu Progress Report December 2022 by Klonoar on Wednesday January 11, 2023 @01:36AM (#34335756)
You were so close to having a witty reply but then bungled it in the last part.
Re:Yuzu Progress Report December 2022 by dagmx on Wednesday January 11, 2023 @01:08AM (#34335559)
As a fellow rust enthusiast, it’s disappointing to see comments like this. It’s not healthy to assume that all projects should be rust just because.

This is a continuation of a project that started before Rust was 1.0, but even if it wasn’t, being based in C++ isn’t bad.

Decisions aren’t made in single tech vacuums. Even developer familiarity alone is enough to pick a language, and emulators aren’t going to be security critical software and it deals heavily with pointers plus shared resources , at which point a lot of rust benefits aren’t as strong.

Re:Yuzu Progress Report December 2022 by echelon on Wednesday January 11, 2023 @10:34PM (#34348840)
Not my intention here. My snarky tone was due to the lack of caffeine in my bloodstream and the number of all-nighter(s) I've been pulling. I apologize if you feel I'm doing any damage to the broader community. Not my objective at all.

I'm honestly deeply interested in why projects choose C++. It's harder to teach to newcomers. I'm guessing this project shares some legacy code with Dolphin?

I'm looking forward to Rust accruing enough tools to attract emulator developers. I'd be happy to put my money where my mouth is and pay for developers via sponsorship that would be willing to undertake this.

I'm currently funding a lot of Rust projects that I like, and I honestly want to accelerate Rust adoption. I don't think there's a harm in that. Big projects like this would generate lots of tools, helper libraries, and other utilities for the broader ecosystem.