Hacker News new | ask | show | jobs
by hermitdev 658 days ago
> 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.

1 comments

> 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 experience isn't great either:

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

> - You need a valid Visual Studio or IntelliCode subscription

The getting started guide only exists for Windows and macOS and the forum post announcing experimental Linux support is full of caveats.

I don't think you and I would agree on what "cross-platform" means, especially in the context of Mono being donated to Wine, which is a heavily linux-centric discussion topic.

> - 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...

> You don't

Well, those sentences were quoted from Microsoft's own documentation...

Sure, you've shown that some tooling exists, but it's sadly not easy to discover or as well supported