Live data from Hacker News

Qt or HTML5? A Million Dollar Question

embedded-computing.com

1–10 of 88 posts

Re: Qt or HTML5? A Million Dollar Question

#4
post #2

The link reads like an advert.

Somewhat concerning this has so many votes. I dont see the hackernews crowd being sympathetic with a pdf hidden behind a request for information. Who's voting?

There's not many votes, it's just that the front page algorithm likes to freshen up its listings once in a while. While I'm not really sure of the specifics, I know for a fact that posts with low votes and low engagement make it onto the front page with seemingly no reason (source: this happened to my first blog post, but eventually got a number of votes and comments)

Edit: anyone who wants to read the (largely uninformative and unsubstantial) white paper/advert, here's a non-infowalled (is that a word?) link: http://content.cdntwrk.com/files/aT05NDQwMzEmdj0xJmlzc3VlTmF...

Edit 2: scrolling through, I found this gem of a quote: "Even with static linking, Web executables will be five times bigger than Qt executables. Hence, Web applications will take five times longer to load than Qt applications."

That's completely false. Program load time is not directly correlated with size of the executable in a 1:1 ratio. The correct answer is "it depends."

Edit 3: on page 10, they don't acknowledge that HTML/CSS/JS is easier to learn than C++, and also they don't acknowledge HW acceleration for animations in CSS (thus smooth animations).

Re: Qt or HTML5? A Million Dollar Question

#5
post #2

The link reads like an advert.

Somewhat concerning this has so many votes. I dont see the hackernews crowd being sympathetic with a pdf hidden behind a request for information. Who's voting?

No registration link: http://www.embedded-computing.com/i/944031?source=hub&expand...

Re: Qt or HTML5? A Million Dollar Question

#7
post #2

The link reads like an advert.

Somewhat concerning this has so many votes. I dont see the hackernews crowd being sympathetic with a pdf hidden behind a request for information. Who's voting?

Well there have been some other articles that talk about using Qt, python's built in browser or Python+GTK over electron/HTML5 apps. There are a lot of people out here sick of things like Slack/Discord/Atom which each have the entire Electron framework that weigh in at 80 ~ 150MB.

I'd be all for using GTK or QT if there were just better well supported bindings, with good documentation and examples, for languages like Python, Ruby, Rust, Scala, etc. I know some people love C++ and the newer C++11/14 seem to have cleaned up a lot of cruft (although GTK is in C unless you use Gtkmm), but I think the barrier to entry would be easier if their other language bindings had better docs.

All that being said, this does feel very ad-like. Qt is commercial. I wonder if they're trying to push this stuff and make it look organic.

Re: Qt or HTML5? A Million Dollar Question

#9
post #7

Earlier quoted context omitted.

Somewhat concerning this has so many votes. I dont see the hackernews crowd being sympathetic with a pdf hidden behind a request for information. Who's voting?

Well there have been some other articles that talk about using Qt, python's built in browser or Python+GTK over electron/HTML5 apps. There are a lot of people out here sick of things like Slack/Discord/Atom which each have the entire Electron framework that weigh in at 80 ~ 150MB. I'd be all for using GTK or QT if there were just better well supported bindings, with good documentation and examples, for languages like…

I've been wondering for a while now why Electron isn't separate from the application bundle itself. Having an app simply declare its supported version of Electron and downloading one version for all apps to use would make a lot more sense in terms of disk space.

I guess disk space is considered one of those "commodities" nowadays. I disagree (typing this from a 64GB SSD Mac) and HATE Electron apps for this reason. (Xcode, too, because it eats up disk space, but that's talk for another day)

Re: Qt or HTML5? A Million Dollar Question

#10
I've done both and the real answer is "it depends". If performance is all that matters, the yes, it's Qt hands down. But Qt is also significantly harder to develop and maintain, especially if you want optimized application for minimal hardware.
Post reply on HN