News for hackers. Stuff that matters.
Re:HTML is the Web by pistolpeteDK on Wednesday June 26, 2019 @06:49AM (#20283679)
This. absolutely this! We didn't get the crossplatform UI framework we needed, we got the one we deserved. SwiftUI looks amazing - but again - apple only. React looked promising, but mainly for desktop, and it's not without its own issues.

I think the W3C are a big part of why the web works so well cross-platform... even though the web was supposed to be "so much more". It's quite hard to imagine a similar kind of body for cross-platform UI frameworks.

Re:HTML is the Web by dgellow on Wednesday June 26, 2019 @10:39AM (#20285418)
If I remember Xamarin can be used to target all existing platforms, even using native looks and feel. In practice I don’t think I’ve seen it in the wild. Maybe it’s being used by Microsoft for crossplatform applications? (E.g: word, excel, OneNote, etc)
Re:HTML is the Web by heavenlyblue on Wednesday June 26, 2019 @07:30AM (#20283901)
What makes React inherently un-mobile except the fact that all browsers have a touch timeout thus making UI seemingly slower?
Re:HTML is the Web by pistolpeteDK on Sunday June 30, 2019 @10:54AM (#20318511)
Don’t know if it’s unmobile per se. But it’s heavy, JS wise, tends to promote SPAs, and can be quite tough to get to play well with a hybrid. The react team seems to put their effort in React Native. And that might the only framework I’d never ever ever “touch” again - pun intended:) We do use react for some mobile stuff, the issue seams to be that you still need a lot of other stuff and your app/UX still feels a bit like a 2nd class citizen
Re:HTML is the Web by rocky1138 on Wednesday June 26, 2019 @09:16AM (#20284641)
Have you ever written anything in Qt?
Re:HTML is the Web by yiyus on Wednesday June 26, 2019 @10:45AM (#20285472)
I've recently been using it and I am very disappointed. Some tasks that should be totally trivial are incredibly hard to get right and require platform specific solutions. Nothing unsolvable, but I was expecting a much more straightforward experience from a product that has been promoted as the cross platform toolkit since the 90s.
Re:HTML is the Web by danieldk on Wednesday June 26, 2019 @12:21PM (#20286413)
I co-developed a Qt C++ app of ~40,000 lines. I think the amount of platform-specific code was at most a couple of pages (handling macOS' behavior to keep an app alive when all its windows are closed).

It is not perfect, but it feels a lot more native on every platform than virtually any web or electron app I have seen (including predictable keyboard shortcuts).

Re:HTML is the Web by rocky1138 on Wednesday June 26, 2019 @03:33PM (#20288332)
I don't have a large amount of experience but when I worked with Qt I was blown away with how friendly and cross-platform it all was. It's pretty close to write once, compile to anything.
Re:HTML is the Web by pistolpeteDK on Sunday June 30, 2019 @10:47AM (#20318474)
I have not. I’ve looked at it quite a bit, and it looks interesting.