Hacker News
points by mococa 16 hours ago | 0 comments
I don't understand this idiocracy - it's super easy (I did myself alone many times) to have a single codebase in Qt for all OSes, even BSDs.

I think people become super lazy... "Ah, it's will ocupie a few hundreds of RAM, no problem, let's ship it."

They are companies with billions or even trillions shipping shit with Electron.

[–] Aurornis 9 hours ago
> it's super easy (I did myself alone many times) to have a single codebase in Qt

I’ve worked in Qt apps on and off through my career.

I do not want Qt apps any more than I want Electron apps.

The solution is native apps using native platform tools, or one of the mature cross-platform toolkits.

[–] ptx 8 hours ago
Which cross-platform toolkits are more mature than Qt?
[–] Aurornis 7 hours ago
Mature was probably not the best word. The modern desktop UI toolkits produce a better UX to me.

Qt feels too locked in to old decisions that were the right choice at the time, but desktops and mobile have changed so much that it always feels like a clash of old and new.

[–] dagmx 4 hours ago
You can make Qt look however you want. The point is that it will give you native UI by default (for the most part and excluding QML)

That native UI will be faster than Electron and most other retained UI toolkits and will be just as capable of creating whatever your subjective view of “modern UI” is.

[–] baist0 1 hour ago
For every one C++ programmer, there are 10 JS programmers.
[–] 72deluxe 15 hours ago
This is definitely true. It seems to be the modern approach that the less effort in development, the better!

I too had code that worked across 3 platforms with wxwidgets and a 3D game toolkit incorporated in opengl for visualisation, with most 2d controls being drawn using wxwidgets OnPaint handlers for custom controls rendered natively on that platform. I wrote this single-handedly, with another colleague handling the network code and firmware on the remote hardware devices.

Everything else is sheer laziness as far as I am concerned. There's even less excuse today with the rise of LLMs to do the majority of UI coding for you.

[–] ip26 9 hours ago
Not a front end developer but I’ve always assumed it was ROI - nobody felt a smaller memory footprint would drive enough incremental revenue to offset the costs, compared to the other things they could be doing.

What seems to have changed is the size of the costs - LLMs are really good at this - such that you can now say “well, maybe the returns aren’t that big, in fact maybe they’re zero, but this is easy enough, so why not”

De minimus improvement has always suffered this problem - we’re all fairly sure it’s worth something. Maybe there’s even real perceptible value when you fix the whole basket. But making the case is hard.

[–] ivanjermakov 15 hours ago
> single codebase in Qt

Not if your promary UI is web.

[–] mococa 13 hours ago
Qt runs on web too.
[–] llbbdd 9 hours ago
Web version has 0 accessibility, which is a no-go for real products
[–] edelbitter 7 minutes ago
Is it? Discord seems fairly real to me.