News for hackers. Stuff that matters.
Re:A comparison of Rust's borrow checker to the one in C# by giancarlostoro on Thursday October 31, 2024 @10:10AM (#42007094)
Weird, I opened a binary I built years ago on Windows in Mono, and it was Winforms and rendered correctly, I think you mean WPF and the later GUI techs. Winforms renders nicely on Mono for a little while now I think?

There's a lot of options, but also the latest of .NET (not Framework) just runs natively on Linux, Mac and Windows, and there's a few open source UI libraries as mentioned by others like Avalonia that allow your UI to run on any OS.

Re:A comparison of Rust's borrow checker to the one in C# by GTP on Thursday October 31, 2024 @10:40AM (#42007383)
The issue at the time was having a WinForms application to run also on macOS, and IIRC at the time WinForms wasn't supported outside of Windows. Maybe Mono on Windows is still different from Mono on macOS. Anyway, the situation seem to be much better now. I'm not going to invest time into C# at the moment, since I'm in the Java ecosystem and Im currently taking some time to practice with Kotlin. But it's good to know that now C# is an option as well.
Re:A comparison of Rust's borrow checker to the one in C# by giancarlostoro on Thursday October 31, 2024 @12:12PM (#42008301)
Forgot to include my OS: I ran a .NET (Framework? I think) .exe I built on Windows in 2020, on Linux with Mono and it worked and looked (aside from thematic differences) like I remembered it looking in 2024.
Re:A comparison of Rust's borrow checker to the one in C# by GTP on Friday November 01, 2024 @12:49PM (#42018892)
Now that I thought a bit more about it, I think I unlocked a memory of WinForms working on some macOS versions and not others. Maybe it was even just supported on 32 bits versions and not in 64 bit versions. One way or another, the bottom line was that it wasn't going to work on the latest macOS version at the time. But I actually tried it on Linux and it worked there.