Live data from Hacker News

Microsoft donates the Mono Project to the Wine team

mono-project.com

471–480 of 509 posts

Re: Microsoft donates the Mono Project to the Wine team

#471

Earlier quoted context omitted.

> Which rich cross-platform GUI frameworks are you talking about? > Win32? Silverlight/Blend? XAML? MAUI? They're all windows only. MAUI is not windows only. I have a MAUI app on my android phone. Cross-platform? yes. Rich? Now, I wouldn't call it that.

> NET Multi-platform App UI (.NET MAUI) apps can be written for the following platforms: > - Android 5.0 (API 21) or higher is required. > - iOS 11 or higher is required > - macOS 11 or higher, using Mac Catalyst. > - Windows 11 and Windows 10 version 1809 or higher, using Windows UI Library (WinUI) 3. Okay, where's Linux? That's what Mono was originally made for and where Mono really shines. Also, the development ex…

> - If you are working on Linux, you can build and deploy Android apps only

> - You need a valid Visual Studio or IntelliCode subscription

You don't: https://marketplace.visualstudio.com/items?itemName=ms-dotne... (DevKit, which is the licensed one, is completely optional - it gives you VS-style solution explorer. You can already get it with e.g. F#'s Ionide that works for any .NET file in the solution, though I use neither)

Or https://github.com/razzmatazz/csharp-language-server with either Neovim or Emacs.

> Okay, where's Linux? That's what Mono was originally made for and where Mono really shines.

Regretfully, you have not read the rest of the discussion that talks about this a lot, so here it goes:

Uno: https://platform.uno/docs/articles/get-started-vscode.html?t...

(Uno has more involved setup and build than Avalonia but has way better mobile targeting, and casual reports indicate smaller memory footprint)

Avalonia: https://avaloniaui.net + https://marketplace.visualstudio.com/items?itemName=Avalonia...

    dotnet new --install Avalonia.Templates
    dotnet new avalonia.app
    dotnet run
(can also do F# and Elmish F# with FuncUI, and native binary build with 'dotnet publish -p:PublishAot=true' without additional config)

Gir.Core (GTK4 and co., successor to GTK#): https://gircore.github.io/docs/use.html

ImGui with Silk.NET: https://github.com/dotnet/Silk.NET/blob/main/examples/CSharp...

Re: Microsoft donates the Mono Project to the Wine team

#473

Earlier quoted context omitted.

There are more than 10 sibling and gp comments that exhaustively address the GUI and other questions :) > That's a massive advantage over the arcane package management and build systems of .NET. Very few languages ever achieve a build and package management system as mature and usable as the Java ecosystem. I've been waiting for 12 years for .NET to match Java's ecosystem, and it's still not there yet. If you want to…

> {my favourite package} Well, that's where the problem lies, isn't it? The ecosystem for .NET is extremely limited compared to what's available for the JVM And the way JVM packages are distributed, with native libraries, BOMs and platforms allows more versatility than any other platform. The build system may be better in dotnet, but that only really matters for the first 10 minutes. Afterwards, the other tradeoffs b…

I don't think "JVM is more popular" argument does justice to Java (and Kotlin) strengths. With this reasoning, you could also say "C++ is more popular for systems programming" but it doesn't stop developers from switching to Rust, Zig or even C# as a wider scope and easier to use language that has gotten good at it.

Nonetheless, you could make this argument for select Apache products, but that's Apache for you. It does not hold true for the larger ecosystem and, at the end of the day, quantity is not quality, otherwise we would've all been swept by Node.js :)

Same applies to "packages that bundle native libraries".

First, they are always maintenance-heavy to manage with ever growing matrix of platforms and architectures. Just x86 alone is problem enough as all kinds of codecs perform wildly different depending if AVX2 or 512 is available vs SSE4.2 or even SSE2 without EVEX. Now add ARM64 with and without SVE2 to the mix. Multiply this by 2 or 3 (if you care about macOS or FreeBSD). Multiply linux targets again by musl and glibc. You get the idea. This a worst-case scenario but it's something Java is not going to help you with and will only make your life more difficult due to the reason below.

There is also an exercise in writing JNI bindings. Or maybe using Java FFM now which still requires you to go through separate tooling, build stage, deal with off-heap memory management API and still does not change the performance profile significantly. There's a reason it is recommended to avoid native dependencies in Java and port them instead (even with performance sacrifices).* Green Threads will only exacerbate this problem.

Meanwhile

    using System.Runtime.InteropServices;

    [DllImport("libc", EntryPoint = "putchar")]
    static extern int PutChar(int c);

    var text = "Hello, World!\n";
    foreach (var c in text) PutChar(c);
since C# 2 or maybe 1? No setup required. You can echo this snippet into Program.cs and it will work as is.

(I'm not sure if binding process on the ole Mono was any different? In any case, the above is a thing on Linux since 8 years ago at least)

Like with other false claims, the "better native packaging" one is easily disprovable. Just look at the list of supported platforms here: https://github.com/sandrohanea/whisper.net?tab=readme-ov-fil...

It even supports CoreML on iOS and macOS.

* Now applies to C# too but for completely different reason - you can usually replace data crunching C++ code with portable pure C# implementation that retains 95% of original performance while reducing LOC count and complexity. Huge maintenance burden reduction and "it just works" without having to ship extra binaries or require users to pull extra dependencies.

Re: Microsoft donates the Mono Project to the Wine team

#474
post #22

I feel like I’m missing some context here. Is this a “free as in take this puppy” situation? How do the wine developers benefit from this?

How has ’free as in puppies’ not reached its rightful place on the podium?

It should be a “free for adoption” idiom

Re: Microsoft donates the Mono Project to the Wine team

#475
post #213

Earlier quoted context omitted.

You may want to look at F#. Because it's .NET you have a large list of libraries you can use

For a beginner, high school but zero experience in programming, which one easier to learn, C# or F#?

Its an interesting question. I've found personally people with previous imperative/functional language (e.g. JS/Go/etc) have picked up F# quicker, and people with OO knowledge (C++, Java, etc) have picked up C# quicker. There's a lot of implied/conventional knowledge with OO that many C#'s dev forget they have (i.e. its all sunk cost to them). If you just want to cut and paste code however C# has more Microsoft provided doco so there's that.

Re: Microsoft donates the Mono Project to the Wine team

#476
post #355

Earlier quoted context omitted.

This was probably copying Sun's "we put the dot in .COM" advertising. Yes, this is stupid.

Microsoft needs to stop letting marketing decide product names. Just look at Xbox: Xbox, Xbox 360, Xbox One, Xbox Series X/S.

The "Xbox Series X" is such a nonsensical name that only a marketing department could come with it. And this entire line of names exists solely because someone thought that nobody would buy a "Xbox 2" instead of a "PlayStation 3".

Re: Microsoft donates the Mono Project to the Wine team

#477

Earlier quoted context omitted.

Priorities could have been better spent on bringing headless, WSL, ssh, and Terminal up to speed twenty years earlier.

You needed Powershell for Headless, SSH and Terminal to make sense. WSL required mindset shift at Microsoft.

Not really. More command-line admin programs and traditional shells like yori or bash would have been fine. Good enough for every other Network OS to date. Netware had great TUIs.

NT also had OS/2 and Posix subsystems ((checks calendar)) about thirty years ago, now that I think of it.

Re: Microsoft donates the Mono Project to the Wine team

#478

Earlier quoted context omitted.

When using Microsoft repositories you need to explicitly opt out on telemetry collection. I think telemetry collection alone should be a good reason for Debian to consider repackaging it. I don’t want telemetry to be collected on my GNU/Linux machine, thanks Microsoft, but you already have so much telemetry from my Windows machine, please leave my other machines alone.

I hate to defend telemetry of all things but in this particular case the criticism is unfounded and lacks context: https://dotnet.microsoft.com/en-us/platform/telemetry https://learn.microsoft.com/en-us/dotnet/core/tools/telemetr... https://github.com/dotnet/sdk/tree/main/src/Cli/dotnet/Telem... In any case, Debian would use https://github.com/dotnet/source-build and dotnet/dotnet, and could easily include the argume…

yeah, debian does generally make spyware explicitly opt-in. even https://popcon.debian.org/stable/index.html is explicitly opt-in

i think the links you provide make it clear that the criticism is not unfounded

Re: Microsoft donates the Mono Project to the Wine team

#479

Earlier quoted context omitted.

Sounds like Flutter?

No it's way better than Flutter. Avalonia really works on desktop.. :). Also the model is WPF so whoever know a little bit of legacy .NET framework will be able to write Avalonia apps in no-time

I don't know any .net, and have never heard of this until now. Only stories with comments on HN are from eight years ago. Although I liked the screenshots on the linked site, it doesn't seem to have much buzz around it.

And unfortunately, the only stench I can't stand more than Google's is Microsoft's.

Re: Microsoft donates the Mono Project to the Wine team

#480
post #470
post #281

Earlier quoted context omitted.

It sure wouldn't hurt if they hired a Debian Developer to do it right, or maybe work through the process of turning an employee into a Debian Developer.

Debian developers can do it right because they're not affiliated with the vendor, so they can disable user-hostile features and settings that the vendor enables by default.

i don't think debian developers are actually prohibited from becoming employees of the vendor, but i think that if they get caught pushing malware, their dd status is likely to be revoked, and the process that allowed them to become dds is likely to be reviewed. any dd can generally push a change to any debian package to the archive; it's a major level of trust. that's why it's generally not realistic to try to get one of your employees to become a dd
Post reply on HN