News for hackers. Stuff that matters.
Re:QML vs. HTML5 by jamescostian on Friday July 28, 2017 @09:13PM (#14878934)
This doesn't look very unbiased. It shows the "HTML5" version being slow in terms of scrolling through a page, clicking on a tab, and using a slider. Most websites, even on really old phones, scroll just fine, and the same applies to tabs. The slider thing seemed like a very valid concern, but then I googled "range slider" and clicked on the very first link (rangeslider.js.org) and it worked absolutely perfectly on my phone.

There were also two things they said the HTML5 version didn't have at all - a virtual keyboard and clicking on an image. Tapping on images is something people have been doing in HTML for a very, very, very long time. It's not that hard, and it works just fine. I'd say it's probably pretty difficult to mess up.

I think the real advantage shown in the video was the virtual keyboard. I just googled "virtual keyboard" and tapped on the first link on my phone, and the experience was awful.

Re:QML vs. HTML5 by phonon on Friday July 28, 2017 @11:00PM (#14879261)
It's running on a Raspberry Pi, not a phone.
Re:QML vs. HTML5 by jamescostian on Saturday July 29, 2017 @01:15AM (#14879620)
I'm not sure which Raspberry Pi, but assuming it's the latest one (this is the latest one, right?), here are its specs: https://www.raspberrypi.org/products/raspberry-pi-3-model-b/

Here are my phone's specs: http://www.gsmarena.com/apple_iphone_6s-7242.php

IMO they aren't super different. Sure, my phone runs at 1.84GHz while the Pi runs at 1.2GHz, but the Pi also has twice as many cores. My phone does have twice the Pi's RAM, but I don't think RAM is what made a difference here.

Re:QML vs. HTML5 by phonon on Saturday July 29, 2017 @10:56AM (#14881501)
Here's the whitepaper

https://cdn2.hubspot.net/hubfs/149513/Whitepapers/WHITEPAPER...

Yes, it's a Raspberry Pi 3.

No, it's not comparable to an iPhone 6s.

An iPhone 6s is about 5 times faster.

http://browser.geekbench.com/v4/cpu/3444316

http://browser.geekbench.com/v4/cpu/3496162

A Raspberry Pi 3 is about equivalent to a Samsung Galaxy S III (a five year old phone.)

http://browser.geekbench.com/v4/cpu/search?page=1&q=galaxy+s...

Re:QML vs. HTML5 by jamescostian on Saturday July 29, 2017 @01:52PM (#14882260)
You're totally right. Those geekbench scores are quite different! Scrolling and tabs with different information were still very fast on my iPod Touch (this was 5 years ago), and I could always tap on images like logos and they would work. But I don't have any 5 year old devices to try the range slider, so that could very possibly be another thing (in addition to the virtual keyboard) where QML totally outperformed HTML5
Re:QML vs. HTML5 by phonon on Saturday July 29, 2017 @02:13PM (#14882341)
You were probably not using js heavy sites on your iPod touch 5 years ago.
Re:QML vs. HTML5 by zaro on Saturday July 29, 2017 @12:58AM (#14879569)
Qml is part of QT so when they say Qml app it's pretty clear that the app is running on some version of QT.

But HTML5? Was it an SPA running in Chrome? Or maybe something using Cordova? Or what exactly was this HTML5 demo?

This isn't even comparing apples and oranges. This is apple with fruit comparison :)

Re:QML vs. HTML5 by thangngoc89 on Friday July 28, 2017 @08:57PM (#14878849)
They are comparing QML with AngularJS. HTML5 doesn't even have a chance
Re:QML vs. HTML5 by dsego on Friday July 28, 2017 @08:36PM (#14878758)
Apparently, the HTML5 version was built with AngularJS. They didn't even give it a fighting chance.
Re:QML vs. HTML5 by trezm on Friday July 28, 2017 @08:35PM (#14878748)
"The AngularJS framework for HTML5 is relatively new, and a valid concern is whether it will be replaced by a new framework in the future." I'd say AngularJS is pretty battle tested at this point... Not to mention that it's now considered old for the industry and is not necessarily performant.

I get that this is put out by qt and is pretty obviously bias, but it seems like they should have given html5 a stronger chance...

Re:QML vs. HTML5 by true_religion on Saturday July 29, 2017 @12:33AM (#14879499)
Angular 2 was released in 2017. QML was released in 2009.

So what he said was true... but misleading. A more fair comparison would be to compare QML to HTML5's release date of 2014, or HTML 2.0's release date of 1995.

Sure Angular may get replaced, but in 20 years HTML is going to still be around.

Re:QML vs. HTML5 by steffann on Saturday July 29, 2017 @04:32AM (#14880225)
For the Dutch: wij van wc-eend...
Re:QML vs. HTML5 by thijsvandien on Saturday July 29, 2017 @10:03AM (#14881266)
And for the non-Dutch: this refers to a classic series of blatantly biased TV commercials (as an attention grab) with the slogan: 'we, at company X, recommend... company X'.
Re:QML vs. HTML5 by donatj on Friday July 28, 2017 @08:44PM (#14878789)
[deleted]
Re:QML vs. HTML5 by mixedCase on Friday July 28, 2017 @08:47PM (#14878801)
It's licensed as LGPL, not GPL. A commercial license is also available for companies that want to do static linking without releasing source.
Re:QML vs. HTML5 by donatj on Friday July 28, 2017 @08:50PM (#14878816)
lol. Well I stand corrected. Now I feel silly. I'll give it a second look.