Live data from Hacker News

Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

news.ycombinator.com

51–60 of 77 posts

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#51
post #50

Earlier quoted context omitted.

QT 6.1.3 is available via vcpkg already.

Things are not so peachy over in Linux. I do see Qt 6 in MSYS2 though, so maybe I can use it only for my Windows builds.

You should be able to use vcpkg on Linux too. It supports officially Windows, Mac and Linux.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#52

Earlier quoted context omitted.

> This is kind of understandable as QT emulates the UI through its own library (unlike, say, Lazarus IDE / Delphi GUI library that directly use the native UI library). In the end it does not matter that you push pixels from qt5gui.dll or shell32.dll, no ?

Except that Qt might not be loaded/initialized by the time you launch your app.

I develop a Qt app which I benchmark regularly and the actual Qt initialization (from exec to an initialized QApplication) on an average computer is on the order of a few milliseconds (10-15 here).

Checked a bit more and the time to first frame, with GL set up, etc., is ~100ms.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#53
post #43
post #23

Earlier quoted context omitted.

Eh, I don't think it's always obvious - for instance Visual Studio Code I would never have guessed was an Electron app.

It might not be obvious if you have a high-powered dev computer. It's very obvious if you have decade-old mid-range hardware (like me) or five-year-old low-end hardware (like millions of users). "I don't know what you're talking about, Electron is fast on my machine." makes about as much sense as "The application runs on my machine." Other people do not use your machine.

Yeah but the claim was just that it was flatly obvious which apps were electron.

If the claim is just “it’s obvious which apps are electron if you have a decade old mid-range PC” then it’s not quite as bold of a statement.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#54
post #53
post #43

Earlier quoted context omitted.

It might not be obvious if you have a high-powered dev computer. It's very obvious if you have decade-old mid-range hardware (like me) or five-year-old low-end hardware (like millions of users). "I don't know what you're talking about, Electron is fast on my machine." makes about as much sense as "The application runs on my machine." Other people do not use your machine.

Yeah but the claim was just that it was flatly obvious which apps were electron. If the claim is just “it’s obvious which apps are electron if you have a decade old mid-range PC” then it’s not quite as bold of a statement.

That distinction of "flatly obvious" versus "obvious on a decade-only mid-range PC" seems to be pedantry. The parent comment doesn't say "flatly", for instance. In fact, it says "I find" which suggests personal experience, which would then mean that they weren't making a generalizable ("flatly obvious") claim.

Regardless, choosing the average consumer PC for your country (including the lower-class) is a much more reasonable benchmark than a high-end (your?) computer - and it seems more likely that tssge's machines (or mine) are representative of that average device than yours are.

I don't think that the statement was meant to be "bold" - it's pretty well-known that Electron performs extremely poorly on low-end devices, and the main reason why there's contention is because developers think that everyone has better computers than they actually do.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#57

Earlier quoted context omitted.

Try cutefish! It’s somewhat rudimentary still, but looks great, stays out of the way, works great for me

Cutefish is very rough. I do like the look and feel, but I didn't like having what felt like a tablet OS on my desktop. I will give it some more time to develop though. I love the direction they are going in.

What do you mean by rough? Not as smooth and responsive as say iPhone or iPad or Macbook?

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#58
post #54
post #53

Earlier quoted context omitted.

Yeah but the claim was just that it was flatly obvious which apps were electron. If the claim is just “it’s obvious which apps are electron if you have a decade old mid-range PC” then it’s not quite as bold of a statement.

That distinction of "flatly obvious" versus "obvious on a decade-only mid-range PC" seems to be pedantry. The parent comment doesn't say "flatly", for instance. In fact, it says "I find" which suggests personal experience, which would then mean that they weren't making a generalizable ("flatly obvious") claim. Regardless, choosing the average consumer PC for your country (including the lower-class) is a much more rea…

Well it’s not extremely obvious to me that VSCode is an electron app on my low-to-mid range laptop, but maybe I’m just an idiot.

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#59
post #58
post #54

Earlier quoted context omitted.

That distinction of "flatly obvious" versus "obvious on a decade-only mid-range PC" seems to be pedantry. The parent comment doesn't say "flatly", for instance. In fact, it says "I find" which suggests personal experience, which would then mean that they weren't making a generalizable ("flatly obvious") claim. Regardless, choosing the average consumer PC for your country (including the lower-class) is a much more rea…

Well it’s not extremely obvious to me that VSCode is an electron app on my low-to-mid range laptop, but maybe I’m just an idiot.

Care to say specs of the lap?

Re: Ask HN: Smoothness and performance of Qt based systems vs. native apps and OS

#60

Earlier quoted context omitted.

What's wrong with KDE plasma? The beauty (and curse) of Plasma, is that it's so configurable, you can make it look and feel like anything else.

Admittedly haven't tried KDE in a few years but I don't like their apps and although I think the UI has come along quite well when I tried it last I thought it was very ugly at first boot. I have never needed a KDE app since I've used Linux. So the idea of running a DE that has developed a million apps I don't need instead of putting that dev time in the DE itself has always been a put-off for me. Crucify me for this…

Try 'KDE Neon' or OpenSUSE
Post reply on HN