←back to thread

303 points vyrotek | 10 comments | | HN request time: 0.001s | source | bottom
Show context
mattfrommars ◴[] No.45894761[source]
In the .NET ecosystem, I have noticed people to shame .NET MAUI because Microsoft themselves don't use this framework - Microsoft Team is built on Electron and not MAUI.

Why build a product on MAUI when Microsoft aren't too sure about it.

replies(10): >>45894798 #>>45894820 #>>45894890 #>>45895144 #>>45895166 #>>45895441 #>>45895856 #>>45896444 #>>45896882 #>>45897144 #
latentsea ◴[] No.45895144[source]
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.
replies(7): >>45895301 #>>45895556 #>>45896012 #>>45896688 #>>45897709 #>>45897973 #>>45901208 #
brokencode ◴[] No.45895556[source]
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.

replies(3): >>45895796 #>>45899844 #>>45902874 #
bigstrat2003 ◴[] No.45895796[source]
> 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.

replies(1): >>45895935 #
1. brokencode ◴[] No.45895935{3}[source]
Not really. The downsides are mostly overblown.

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

replies(1): >>45896121 #
2. PenguinCoder ◴[] No.45896121[source]
All of those are examples of overbloated, slow, horrible user experience apps.
replies(2): >>45896221 #>>45896287 #
3. brokencode ◴[] No.45896221[source]
They work great for me.
replies(2): >>45896514 #>>45897369 #
4. glzone1 ◴[] No.45896287[source]
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.

replies(3): >>45896945 #>>45898363 #>>45899361 #
5. homebrewer ◴[] No.45896514{3}[source]
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.

6. Antibabelic ◴[] No.45896945{3}[source]
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.
7. iberator ◴[] No.45897369{3}[source]
Hey, I found CEO of Discord
8. tjpnz ◴[] No.45898363{3}[source]
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.

replies(1): >>45901266 #
9. rixed ◴[] No.45899361{3}[source]
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.

10. brokencode ◴[] No.45901266{4}[source]
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.