Live data from Hacker News

Microsoft donates the Mono Project to the Wine team

mono-project.com

141–150 of 509 posts

Re: Microsoft donates the Mono Project to the Wine team

#141
post #74

Earlier quoted context omitted.

Mono implemented the GUI stuff like Windows Forms, do the latest windows cross platform stuff support that? Can you run .Net GUI windows program on linux without Mono but using the latest .Net thing ? I know it was not possible in the past.

No, they pretty much gave up on winforms when .net core morphed into "the" .net that is cross platform. There are some nice crossplatform gui libs now though.

What are the ones to use in 2024? I used to code informs, it was a great improvement on its successors.

Re: Microsoft donates the Mono Project to the Wine team

#142

Earlier quoted context omitted.

Sure, nobody wants to write Winforms new applications today My point is about running existing applications on Linux, there are still issues with running .Net GUI stuff under wine and Mono was not a perfect implementation. I read in other comments that the newer .Net cross platform stuff is not a replacement for Mono for running this old applications. (nobody will rewrite them to use the current GUI stuff from MS sin…

No, Microsoft's .NET only supports WinForms on Windows. They do have an official cross platform GUI toolkit in MAUI, but it strangely does not support Linux.

Last I knew it is also considered pretty lackluster. Every time I read up on it it feels like, even beyond the lack of Linux support people just don't care for it.

If I was building a cross platform native app with .NET I'd probably use Avalonia right now.

Re: Microsoft donates the Mono Project to the Wine team

#144
post #139
post #137

Earlier quoted context omitted.

Even with AOT compilation, as someone who loves C# and also does embedded development in C I would personally say a garbage collected language like C# has no place there.

not everything running on a 20-mips 32-bit microcontroller with 2 kibibytes of sram needs to be hard real time and failure-free, and of course the esp32 has hundreds of kibibytes and, correct me if i'm wrong here, but doesn't c# allow you to statically allocate structs just as much as c does? i'd think you'd be able to avoid garbage collection about as much as you want, but i've never written much beyond 'hello, worl…

c# has the concept of value types (which structs are), which are stack allocated. Generics have seen more and more instance of getting a Value type like Value Task for stack allocated async objects. But if you add a class as a member of the struct that is going straight to the heap with all the GC stuff that entails

Re: Microsoft donates the Mono Project to the Wine team

#145
post #38

Earlier quoted context omitted.

Microsoft's own FOSS multiplatform implementation of the .NET runtime is now much more performant and feature complete than Mono. However Mono is easier to embed into other applications and easier to port to new platforms. That is for example why it's used for the .NET/Blazor WebAssembly stuff. Microsoft still maintains their own fork of Mono for this specific use case. Mono also implements some of the legacy Windows…

Mono also supports winforms. I don't think they're supported in dotnet (but there's libraries for Gtk, although you could also use Vala with a bit extra effort).

Yeah I think it also supports WPF. Can't remember where I read that.

Re: Microsoft donates the Mono Project to the Wine team

#146

Earlier quoted context omitted.

I write fullstack web applications in Rust, client-side too with a shim for interfacing with some JS for the DOM. So, I can agree with you in the abstract, but I'm gonna have to see you as part of the crowd that "hasn't figured it out yet".

Every program I've seen like that is terribly inaccessible. "Doesn't expose headings to screen readers" levels of inaccessible. And yes, you can do a whole lot of working around that, but you know what I'd do? Section heading I like Rust, but please don't write a website in it.

We didn't replace the HTML with Rust, if that's what you thought you were getting at. We use HTMX.

Re: Microsoft donates the Mono Project to the Wine team

#147
post #91

Earlier quoted context omitted.

A value you come up with hoping the IRS will not one day disagree.

This gives me strong https://youtu.be/aCP27_vquxQ?si=WztFEXETGLcsAT51 vibes. I dont think this is how it works in the real world. Even if it did, giving it away would be equally a write off as just shutting it down.

I thought that would be a link to the Seinfeld episode. https://www.youtube.com/watch?v=XEL65gywwHQ

Re: Microsoft donates the Mono Project to the Wine team

#148

I always assumed Microsoft did not condone Wine or other re-implementations of their APIs (like ReactOS), but that they were protected by DMCA reverse engineering provisions and anyway too insignificant to send the legal team after. Wikipedia says, > Until 2020, Microsoft had not made any public statements about Wine. ... On 16 February 2005, Ivan Leo Puoti discovered that Microsoft had started checking the Windows R…

If Windows Update replaced components of Wine, that would (a) break people's Wine installs, and (b) give those users a way to legally get Microsoft's versions of those components for use outside of Windows.

Microsoft’s EULA would still apply to (b).

It’s the exact same situation as downloading a Windows ISO from Microsoft’s website and running it with an activator.

Re: Microsoft donates the Mono Project to the Wine team

#149

Earlier quoted context omitted.

Is there somewhere where someone new to the ecosystem can get a simple introduction to all of these different terms and which ones are still relevant today? I looked into .NET somewhat recently and came away with the apparently mistaken impression that Mono was how .NET did cross-platform. I guess I must have been reading old docs, but I'm pretty sure they were at least semi-official. Is there good documentation some…

Mono was, but newer versions of .NET run on Linux and Mac. You can install at the link below, and then making a project is just `dotnet new console` and run with `dotnet run` https://learn.microsoft.com/en-us/dotnet/core/install/linux

Is there a way to build a GUI app with .NET on Linux?

Will it be cross-platform?

Re: Microsoft donates the Mono Project to the Wine team

#150

I always assumed Microsoft did not condone Wine or other re-implementations of their APIs (like ReactOS), but that they were protected by DMCA reverse engineering provisions and anyway too insignificant to send the legal team after. Wikipedia says, > Until 2020, Microsoft had not made any public statements about Wine. ... On 16 February 2005, Ivan Leo Puoti discovered that Microsoft had started checking the Windows R…

Microsoft in 2024 feels like a different beast. All the MS devs I know seem fully on board with totally cross-platform support. Half of them are coding on MacBooks and I would hazard a guess that a good proportion of .NET web sites being built are being deployed onto Linux boxen.

I imagine very few of the MS devs are using BeOS.
Post reply on HN