News for hackers. Stuff that matters.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by latentsea on Tuesday November 11, 2025 @08:00PM (#45895144)
Never build a frontend on a .NET technology. Period. They always end up unsupported in the end. Just use standard web technologies and thank yourself later. I've been a .NET dev for a decade now and that's what I've learnt.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by password4321 on Tuesday November 11, 2025 @08:21PM (#45895301)
Except WinForms, spectacular for Windows-only utility GUIs.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by glzone1 on Tuesday November 11, 2025 @11:09PM (#45896304)
No kidding - kind of wild that winforms is still kind of a gold standard experience today! I actually liked VB Forms - lots of easy rapid application development was possible.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by issafram on Wednesday November 12, 2025 @12:31AM (#45896683)
WPF as well
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by memsom on Wednesday November 12, 2025 @11:51AM (#45902431)
I like WPF and I code with it regularly, but the drag and drop UI builder was the worst aspect of WPF and generated terrible Xaml that was almost impossible to maintain.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by memsom on Wednesday November 12, 2025 @11:50AM (#45902421)
Delphi was the best RAD tool though. It was native code, not a weird interpreted or jitted app. It could also build to a single exe file. VB struggled with an unwieldy engine for most of its life.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by fuzzzerd on Wednesday November 12, 2025 @01:22AM (#45896925)
> spectacular

Not exactly the word I'd use, since it really hasn't changed since VB4, but it's definitely reliable and stable.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by memsom on Wednesday November 12, 2025 @11:48AM (#45902395)
WinForms came way after VB4 and it was a .Net only technology.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by nxobject on Wednesday November 12, 2025 @01:49AM (#45897084)
IIRC, because of Wine, Mono has enough of WinForms to make a few things work. But who the hell wants to distribute an application with a Wine runtime?
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by mrweasel on Wednesday November 12, 2025 @03:01AM (#45897488)
I was going to suggest the same, just use WinForms. It's basically feature complete, and it's going to be the last UI framework Microsoft is going to yank out from beneath you.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by brokencode on Tuesday November 11, 2025 @09:01PM (#45895556)
As wrong as it feels to have to use Electron for a desktop app, it really is the safest approach for most applications.

Qt also seems to be a good option, though there are licensing considerations for commercial applications.

I’m excited for various upcoming Rust options as well, but right now Electron is the battle tested option.

I am curious though about Avalonia. I’ve heard good things, but it’s definitely a smaller player compared to Electron. I’d most likely choose it over Microsoft’s first party frameworks.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by bigstrat2003 on Tuesday November 11, 2025 @09:37PM (#45895796)
> it really is the safest approach for most applications.

It's also the option which gives your users by far the worst experience. Not worth it at all, imo.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by brokencode on Tuesday November 11, 2025 @09:57PM (#45895935)
Not really. The downsides are mostly overblown.

Plenty of category leading applications like Discord, VSCode, Slack, Figma, etc. use it quite successfully.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by PenguinCoder on Tuesday November 11, 2025 @10:32PM (#45896121)
All of those are examples of overbloated, slow, horrible user experience apps.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by glzone1 on Tuesday November 11, 2025 @11:07PM (#45896287)
Does their market share back up your take of them as horrible apps?

Are there QT or GTK competitors crushing them?

I always hear how terrible electron apps are, but the companies picking electron seem to get traction QT or other apps don't and seem to have a good cross platform story as well.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by Antibabelic on Wednesday November 12, 2025 @01:25AM (#45896945)
Users will happily deal with a suboptimal experience as long as there are other things attracting them to the product. That's why Microsoft can do whatever it wants with Windows without worrying their users will run off somewhere else. So if you care more about people than businesses, maybe it shouldn't be an excuse to pick "better dev experience" over the user's.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by tjpnz on Wednesday November 12, 2025 @05:07AM (#45898363)
They said horrible user experience apps, not horrible apps. You can still deliver an app with a horrible user experience and build a profitable business. Ever done an expense report?

Companies aren't picking Electron due to inherent shortcomings in other platforms, they're picking it because it's easier (and cheaper) to find JavaScript devs who can get up to speed with it quickly.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by brokencode on Wednesday November 12, 2025 @10:19AM (#45901266)
Discord, VS Code, and Figma are all apps that individuals choose and are well liked despite many alternatives. Slack too I think, though I don’t have experience with it.

Your comment applies to Teams and I’m sure other electron apps. But the sweeping generalization that electron apps have terrible user experiences is pretty obviously incorrect.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by rixed on Wednesday November 12, 2025 @07:32AM (#45899361)
Beware with that logic. You notice successful electron apps because of how bloated they are. I suspect you use many Qt apps without even noticing.

One that comes to mind that I use daily and noticed only recently that it was implemented in Qt is the telegram desktop app.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by brokencode on Tuesday November 11, 2025 @10:52PM (#45896221)
They work great for me.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by homebrewer on Tuesday November 11, 2025 @11:59PM (#45896514)
Oh yes, the great old "works for me". On a yesterday's supercomputer, I presume? I live in a "developing" (have doubts it's really developing) country, most people are running laptops with no more than 8 GiB of RAM (sometimes it's 4 or less), and all this Electron nonsense is running like molasses, especially if you're trying to use a computer like a proper computer and do multitasking.

And most of the world is like that, very few of us (speaking globally) have $2k to drop on a new supercomputer every few years to run our chat applications.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by iberator on Wednesday November 12, 2025 @02:44AM (#45897369)
Hey, I found CEO of Discord
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by vrighter on Friday November 14, 2025 @06:21AM (#45925806)
All of those I avoid using due to their slowness. I can notice text-input lag in vscode ffs!
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by gr4vityWall on Wednesday November 12, 2025 @08:26AM (#45899844)
> Qt also seems to be a good option

I think Qt really is 'just' missing more language bindings, and a better hot reload story for more people to use it. Lots of devs (specially Free Software devs) would prefer to use native toolkits, if the prototyping experience was similar to how Vite is for web frontend stuff, I think Qt would be used a lot more.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by PKop on Wednesday November 12, 2025 @12:02PM (#45902598)
They are building more language bindings to back QML frontends

https://www.qt.io/qt-bridges

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by gr4vityWall on Wednesday November 12, 2025 @03:12PM (#45905795)
Thanks for sharing. I hope that initiative goes well. And again, integration with whatever solution the language has for hot reloading is a must these days for UI development.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by DANmode on Wednesday November 12, 2025 @12:23PM (#45902874)
For what value of “safest”?
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by jcelerier on Wednesday November 12, 2025 @03:53PM (#45906501)
>As wrong as it feels to have to use Electron for a desktop app, it really is the safest approach for most applications.

> Qt also seems to be a good option, though there are licensing considerations for commercial applications.

you need to respect the LGPL with Qt. You also need to with Electron which uses Chromium which is LGPL.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by apatheticonion on Tuesday November 11, 2025 @10:09PM (#45896012)
Tauri is pretty awesome. Rust backend, WebView front end. Nothing uses native desktop elements of course.

To be fair, there is no practical way to write native desktop applications using stylistically consistent UI elements AND have it be portable AND in a language that you enjoy using.

As far as I can tell, Windows 11 doesn't even have a toolkit with platform UI elements.

GTK on Gnome is pretty okay and GTK-rs is not dissimilar to React. Who know what MacOS uses but something something Swift XCode.

But I agree, just use web technologies. Write once, ship everywhere (and hum loudly when people complain about poor performance - joking, it's the vendors' fault we have to use web technologies).

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by jzebedee on Wednesday November 12, 2025 @12:15AM (#45896605)
> As far as I can tell, Windows 11 doesn't even have a toolkit with platform UI elements.

They do, it's called WinUI 3. It's barely used for all of the aforementioned.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by apatheticonion on Wednesday November 12, 2025 @03:47AM (#45897832)
I tried this. Their examples don't even compile lol
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by codedokode on Tuesday November 11, 2025 @11:25PM (#45896365)
> Rust backend, WebView front end.

I don't know much about it but it seems like a weird combination. If you want high performance and low memory usage, you don't want HTML, if you want fast code writing, you don't want Rust.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by powersnail on Wednesday November 12, 2025 @12:19AM (#45896625)
I could see a case where the core logic needs to be performant, but the UI does not. The front end could be some menus, displaying (not a giant amount of) data, and a progress bar, while the back end does heavy computing.

And furthermore, if you want fast code writing, you write in the language you already know. For some people, that is Rust.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by Ray20 on Wednesday November 12, 2025 @01:23AM (#45896932)
A very reasonable combination:

- HTML is the main way of designing interfaces (whether we like it or not)

- Rust is the main language promoted by intelligence agencies with multi-billion dollar budgets because it is laced with their backdoors (whether we like it or not)

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by PhilippGille on Wednesday November 12, 2025 @02:20AM (#45897252)
There's Wails for Go backend and webview frontend; https://github.com/wailsapp/wails
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by osigurdson on Wednesday November 12, 2025 @02:53AM (#45897431)
I don't believe you generally end up writing a lot of Rust with something like Tauri. It is mostly web dev. While it is true that browser based UIs are slower than native, it isn't clear that .NET based UIs would be any faster while being very niche.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by raincole on Wednesday November 12, 2025 @03:16AM (#45897602)
Use the slower but easier to write languages for front end is the norm for complex apps. Many apps that passed the trial of time are like that.

Blender: frontend Python, backend C++.

Houdini: frontend Python(PyQt), backend C(presumably)

Sim City: frontend JavaScript, backend C++

The reason is very simple: frontend is more error tolerant, but less resistant to the product designer's whims (or the users' desire to customize.)

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by jcelerier on Wednesday November 12, 2025 @03:52PM (#45906490)
> Blender: frontend Python, backend C++.

blender's frontend is pretty much exclusively C++? https://github.com/blender/blender/tree/main/source/blender/...

> Houdini: frontend Python(PyQt),

I would be infinitely surprised if Houdini's frontend wasn't also a majority C++. Likewise consider large apps such as Ardour, Krita, etc.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by Deukhoofd on Wednesday November 12, 2025 @03:20AM (#45897628)
In my experience with Tauri, it's pretty good on Windows, but not so much on other platforms, especially Linux. The decision to target different browser engines on each operating system means you still have to deal with a bunch of different OS-specific bugs.

For Windows you're dealing with Edge (so Chromium), on macOS you have Safari, and on Linux you have WebKitGTK. WebKitGTK has honestly abysmal performance, and you're missing a lot of modern standards.

The Tauri devs are looking at bundling a Chromium browser with it to deal with that, but that's still some time off, and leads to the same issue Electron has, where you have large bloated applications.

https://github.com/tauri-apps/wry/issues/1064

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by issafram on Wednesday November 12, 2025 @12:32AM (#45896688)
So you've never used WinForms, WPF and MVC
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by LeFantome on Wednesday November 12, 2025 @12:47AM (#45896748)
MVC is not .NET of course.

You are right that WinForms and MVC have been around forever. However, Microsoft has continuously told devs that they are the past. So, you would be forgiven for expecting them to go away.

WinUI is the current official desktop paradigm and it is basically UWP from an API point of view. So the idea that UWP went away is not 100% accurate either.

Microsoft does not really abandon their UI tech like people say they do. But look how many different frameworks they have.

All of the above is Windows desktop only. There are a completely different set of UI technologies for the web.

UNO Platform (Open Source) allows you to use the WinUI API to target almost anything.

.NET MAUI is the official "cross platform" UI tech from Microsoft. It is what you use to target iOS and Android. As a bonus, you can target macOS and Windows too. On Windows, it uses WinUI. You will notice that the Linux desktop is missing from that list.

Here comes Avalonia to build MAUI on top of the Avalonia framework. This adds Linux and WASM to the list of platforms that MAUI will run on. Adding Linux is awesome. A lot of people have wanted that and it really completes the MAUI cross-platform story.

Adding WASM is neat but MAUI was never meant to target the web. If you use it for that, it is literally just the modern version of Silverlight. But Microsoft did not design it for that at all. It is just a back-end that Avalonia supports.

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by AllegedAlec on Wednesday November 12, 2025 @01:37AM (#45897017)
> MVC is not .NET of course.

https://en.wikipedia.org/wiki/ASP.NET_MVC

Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by alternatex on Wednesday November 12, 2025 @02:56AM (#45897454)
I feel like they're both talking about MFC instead..
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by memsom on Wednesday November 12, 2025 @11:47AM (#45902376)
MVC is a design pattern, ASP.NET MVC is a framework that used MVC as its go to pattern. But MVC is not in any way only ASP.NET MVC. There are plenty of other UI frameworks that use MVC and the Wikipedia article lists a lot of them for example: https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93con...
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by pathartl on Wednesday November 12, 2025 @03:30AM (#45897709)
Blazor is pretty great. It is mature at this point and MS is using it internally more and more. Trying to go back to something like React makes me shudder. It's not perfect, but it's better than many alternatives.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by oaiey on Wednesday November 12, 2025 @05:05AM (#45898350)
I agree. For Blazor there is hope. It is standard based (web assembly, HTML, css) and it feels very intuitive particularly when compared to other spa frameworks like react. Also you can reuse all your html, css and design systems you have. Which is huge because like that it hooks up with the whole web development stack.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by pathartl on Wednesday November 12, 2025 @12:29PM (#45902963)
For as much crap as MS gets, the entire ASP.NET Core stack is an oasis.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by oaiey on Wednesday November 12, 2025 @03:09PM (#45905749)
Most of .NET is.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by phito on Wednesday November 12, 2025 @04:07AM (#45897973)
I sure never will write a single line of JS/TS again now that Blazor exists and is stable.
Re:.NET MAUI Is Coming to Linux and the Browser, Powered by ... by vjvjvjvjghv on Wednesday November 12, 2025 @10:13AM (#45901208)
Same for me. I used to do desktop dev with MFC and WPF but these days you would be suicidal to build any app that needs to last for a few years on .NET. If totally needed, WPF is still the best bet. Otherwise I am pushing everything I can to the web.