News for hackers. Stuff that matters.
Re:Ask HN: Smoothness and performance of Qt based systems vs... by Closi on Friday October 08, 2021 @10:27AM (#28799657)
Eh, I don't think it's always obvious - for instance Visual Studio Code I would never have guessed was an Electron app.
Re:Ask HN: Smoothness and performance of Qt based systems vs... by fouric on Friday October 08, 2021 @11:22AM (#28800277)
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.

Re:Ask HN: Smoothness and performance of Qt based systems vs... by Closi on Friday October 08, 2021 @02:42PM (#28802600)
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... by fouric on Friday October 08, 2021 @02:58PM (#28802796)
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... by Closi on Friday October 08, 2021 @06:03PM (#28804658)
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... by rixed on Saturday October 09, 2021 @01:44AM (#28807349)
Or maybe, more likely, the prevalence of electron apps lowered the average expectations?
Re:Ask HN: Smoothness and performance of Qt based systems vs... by throwaway661885 on Friday October 08, 2021 @06:45PM (#28804989)
Care to say specs of the lap?
Re:Ask HN: Smoothness and performance of Qt based systems vs... by jcelerier on Friday October 08, 2021 @10:31AM (#28799720)
When comparing on my machine, VSCode has much more latency than Qt apps for e.g. selecting text, reprocessing syntax coloration..
Re:Ask HN: Smoothness and performance of Qt based systems vs... by pavlov on Friday October 08, 2021 @10:57AM (#28800053)
There are a few places where it's obvious VS Code isn't a native Mac app. For example drag & drop between apps doesn't work as it should.

(When initiating a drag, VS Code steals active app focus and brings its windows to front. It should stay in the background so that you can drag content into another app. This is a behaviour that views in Cocoa applications just inherit automatically.)

Re:Ask HN: Smoothness and performance of Qt based systems vs... by formerly_proven on Friday October 08, 2021 @11:00AM (#28800075)
> (When initiating a drag, VS Code steals active app focus and brings its windows to front. It should stay in the background so that you can drag content into another app. This is a behaviour that views in Cocoa applications just inherit automatically.)

This is a good design. It's very dumb that on other OSes initiating dragging steals focus and often hides where you want to drop.

Re:Ask HN: Smoothness and performance of Qt based systems vs... by rixed on Saturday October 09, 2021 @01:41AM (#28807342)
Even on a very powerful modern machine you could probably tell the difference by looking at "abnormal" RAM usage.