Live data from Hacker News

ProjectPSX – A C# coded emulator of the original Playstation

github.com

61–62 of 62 posts

Re: ProjectPSX – A C# coded emulator of the original Playstation

#61
post #16

Earlier quoted context omitted.

A platform independent desktop UI framework really is the biggest gap in the .NET platform right now, and I think Microsoft knows it. We'll probably see something new on that front soon, I'd wager.

I hope. But I don't hold my breath before .NET 5. 3.0 is all about getting Windows Desktop scenarios to .NET Core. Not many of the people who require those would benefit from a cross-platform framework, as neither Windows Forms nor WPF would be portable. Avalonia might have the chance of becoming a decent option, but even working for an employer that provides GUI controls for various platforms it's too early to decid…

Don't forget Qml.Net.

https://github.com/qmlnet/qmlnet

Re: ProjectPSX – A C# coded emulator of the original Playstation

#62
post #51

Earlier quoted context omitted.

Any chance you have an example of this pattern you can point to? Also, would the use of Span make it possible to do this without unsafe code?

I use it with DeviceIOControl for interoperating with a driver. I didn't learn by following someone's example, in my case, I have to work with so many different structs in a high performance use case that I took the time to re-learn pointers. (Haven't used them in years.) 1: Memory is allocated using new byte[bufferSize] 2: That byte[] is pinned to a byte* or void* via fixed 3: The pointer is passed to DeviceIOContro…

I recently learned about MemoryMappedFiles in .NET. https://docs.microsoft.com/en-us/dotnet/standard/io/memory-m...

I only mention it because I'm not entirely clear on what is going on or how it works (largely because I tend to only be able to learn things by doing them, which is my own issue, not your failure to describe it), but after reading the docs on MemoryMappedFiles, I wonder if it's something that could be useful to you.

Post reply on HN