Live data from Hacker News

Experimental Nintendo Switch Emulator written in C#

github.com

171–172 of 172 posts

Re: Experimental Nintendo Switch Emulator written in C#

#171
post #145

Earlier quoted context omitted.

C++ interop is not supported in modern .NET out of the box, but wasn't too hard to implement as a library: https://github.com/Const-me/ComLightInterop

C++/CLI works perfectly fine on Windows, it was a major milestone for .NET Core 3.0. And then there is WinRT/COM as well.

Indeed, on Windows there’s no need for that library. But on Linux, none of that is available.

I have used C++/CLI long ago for a couple of minor things, and I didn’t like it. The two runtimes, C++ and .NET, are interacting in a weird way, I got an impression it combines worst parts from both C# and C++ languages.

I prefer IUnknown-based COM interfaces ever since. With some care about API design, C# side of the interop is only marginally more complex that it would be with C++/CLI, but unmanaged side is much easier in regular C++, without the CLI.

Re: Experimental Nintendo Switch Emulator written in C#

#172

Earlier quoted context omitted.

There is one emulator currently that does do that, the "XQEMU" emulator for the original Xbox https://xqemu.com/ It's in its infant stages at the moment according to the "Emulation General" wiki and focuses heavily on "accuracy" over performance Other emulators such as CXBX-Reloaded have made larger strides, currently emulating roughly 10% of the software library It's also worth stating, while the Xbox seems like an…

Your information on xqemu is dated. xqemu was forked to xemu a while back. Development of xemu is very active now: many games are now playable with accurate graphics and sound with performance up to native framerates. Improvements to speed and accuracy are coming in on a regular basis. xqemu is basically dead, with its discord shut down and the main developer off the project. Now is a good time play around with xbox…

Interesting, I used to keep up with xqemu but stopped a while back. Do you know what lead to the fork? I can't find it on their website.
Post reply on HN