←back to thread

59 points noworriesnate | 10 comments | | HN request time: 1.022s | source | bottom
1. dcveloper ◴[] No.42184887[source]
Is this a Xamarin successor?
replies(3): >>42185103 #>>42185125 #>>42186428 #
2. cotti ◴[] No.42185103[source]
It's one of the main players in the non-Microsoft cross-platform UI toolkits focusing on .NET, alongside AvaloniaUI.

The Xamarin successor is MAUI, which is the MS offer in the field.

replies(1): >>42190963 #
3. noworriesnate ◴[] No.42185125[source]
Yes. It can use either XAML or C# markup. I think it uses the same stuff as Xamarin did when you developed Xamarin Native where you were using C# bindings to the native UI SDKs. The developer experience is a lot better than Xamarin because now they have a single C# project that targets everything--Linux, Windows, Mac, web, Android, and iOS at least.
replies(1): >>42187933 #
4. JamesSwift ◴[] No.42186428[source]
More of a competitor, they have different goals.

Xamarin/Maui try to allow people to build cross-platform apps in a single codebase. Uno tries to allow people who are familiar with and/or prefer UWP to develop on other platforms than just windows.

replies(2): >>42187905 #>>42187909 #
5. francoistanguay ◴[] No.42187905[source]
Uno here. We have the same goals: Single Codebase Cross-Platform, targeting Web, Mobile and Desktop (including Linux). Uno runs everywhere .NET runs.

The approach is different where instead of creating an entirely new API, we aligned with WinUI's api (and UWP previously), making it source-code compatible with WinUI so you can leverage the WinUI's ecosytem (CommunityToolkit, 3rd party controls, ...).

By aligning with WinUI, you also get access to all the trained LLMs that already know about UWP/WinUI and therefore also work on Uno.

replies(1): >>42189992 #
6. ◴[] No.42187909[source]
7. francoistanguay ◴[] No.42187933[source]
You're totally right.

Uno sits on top of .NET for iOS/Android, aka Xamarin "Classic".

Single Project/Single Codebase with your choice of XAML or C# Markup, choice of Native or Skia-based rendering, works with VS/Code/Rider on Windows/macOS/Linux.

8. peutetre ◴[] No.42189992{3}[source]
> you can leverage the WinUI's ecosytem (CommunityToolkit, 3rd party controls, ...)

Why does the Community Toolkit -> DataGrid perform poorly in the Web demo? Sorting the columns is very slow: https://gallery.platform.uno/

Will Uno move to a model of rendering the UI to canvas for better performance?

9. solarkraft ◴[] No.42190963[source]
Has MAUI managed to actually succeed Xamarin? From what I remember from a few years ago they kind of botched the launch and it failed to even fully replace it.
replies(1): >>42200146 #
10. JamesSwift ◴[] No.42200146{3}[source]
Xamarin is officially in End Of Support. But Maui has definitely missed the mark. I was deep in it around net6/net7 timeframe, and net8 was supposed to be a big step forward, but they burned a lot of good will with the rollout. I saw a lot of hubris not only from the Maui side, but also from the .net ecosystem as a whole. Specifically whoever was pushing workloads. The pain points around that were huge sources of unnecessary friction, on top of the really buggy initial versions of Maui.