News for hackers. Stuff that matters.
Re:ReactXP – A library for building cross-platform apps by supernovae on Thursday September 20, 2018 @04:59PM (#18035421)
I disagree entirely... I hate how an app for everything means vendor lock-in. Developers should embrace web standards and come together on making apps/tools that don't suck. I think having to write for android, ios, osx, windows, chromeos and linux sucks worse..
Re:ReactXP – A library for building cross-platform apps by sampl on Thursday September 20, 2018 @09:47PM (#18036656)
A million times yes.

Apps do the same things everywhere. Why do we still need completely different languages, codebases, etc (not to mention teams of experienced hires) to deploy any little CRUD app?

Maybe we aren’t interested in fixing this because it means there’s less engineering to be done.

“It is difficult to get a man to understand something, when his salary depends on his not understanding it.”

Re:ReactXP – A library for building cross-platform apps by swsieber on Friday September 21, 2018 @01:12AM (#18037298)
I'd be interested in solving it, but not with Javascript.

I think it's less about engineering costs and more about dislike of javascript. Maybe even specifically javascript tooling and electron.

A big reason people want to standardize on javascript is because it is the runtime of the Web - I can't wait for Web assembly to get even better so we can standardize on something else.

Re:ReactXP – A library for building cross-platform apps by jtreminio on Saturday September 22, 2018 @10:51AM (#18046189)
Technically the source code in OP is Typescript.
Re:ReactXP – A library for building cross-platform apps by swsieber on Sunday September 23, 2018 @01:36AM (#18049559)
But technically all javascript is also valid typescript... OTOH you can set a strict mode (I think)
Re:ReactXP – A library for building cross-platform apps by sdegutis on Friday September 21, 2018 @12:42AM (#18037200)
Unpopular opinion time, but Apple would be wise to make JavaScript a first class language for writing Mac apps. Probably 90% of apps don’t need the raw speed of Objective C or Swift. Obviously they want to encourage people to make Mac-only apps, but even so, web technology is 100x easier to use for making Mac apps than Cocoa and Storyboards is today.
Re:ReactXP – A library for building cross-platform apps by tspike on Friday September 21, 2018 @12:18AM (#18037116)
React native excels for a single use case: rapid greenfield development with limited resources. If I were a startup that simply had to support web, Android and iOS, it would be a no brainer.

Unfortunately, there is an almost religious devotion to it so it ends up used for many things it is actually terrible at (large teams, integration with large existing native apps, performance critical and highly interactive apps, apps that would be better off serving one platform, etc).

Re:ReactXP – A library for building cross-platform apps by anthk on Thursday September 20, 2018 @06:50PM (#18036027)
QT5.
Re:ReactXP – A library for building cross-platform apps by spondyl on Friday September 21, 2018 @12:25AM (#18037146)
I would love to use QT5, specifically the Python bindings but I always struggle to find documentation beyond a handful of out of date tutorials.
Re:ReactXP – A library for building cross-platform apps by pnenp on Friday September 21, 2018 @01:11AM (#18037294)
What in particular are you missing? I happen to be writing a PyQt5 tutorial for my https://build-system.fman.io today.
Re:ReactXP – A library for building cross-platform apps by laurent123456 on Friday September 21, 2018 @06:46AM (#18038688)
Last time I tried, what I found was missing is some guidelines on how to architecture an application. For the web, we have React, Angular and plenty of frameworks to choose from, which help having some base app skeleton to build on top of.

In Qt (QML), I couldn't quite find something like this and I had the feeling I needed to create my own framework from scratch, which is hard when, at the same time, you need to learn a new technology. There were some random ideas in various blogs and articles but nothing major or at least no officially supported one.

Re:ReactXP – A library for building cross-platform apps by Gorbzel on Thursday September 20, 2018 @07:52PM (#18036275)
You are wrong.

...note how I’ve said nothing to refute your comment because what you wrote it in responds to none of the historical empirical problems with this approach and just asserts “let’s make this not suck” glossing over the reasons why it sucks.

Re:ReactXP – A library for building cross-platform apps by supernovae on Friday September 21, 2018 @09:33AM (#18039536)
There are lots of great apps that are built with tools like this.
Re:ReactXP – A library for building cross-platform apps by 51lver on Thursday September 20, 2018 @10:48PM (#18036852)
Every time I am required to update my web browser to support some new snowflake code I am again reminded just how wrong you are.

You are writing code that runs nowhere, unless you can afford to shell out $1000 a year to keep your hardware current and $50 a month for the bandwidth to keep your software current. That's totally unsustainable from a global perspective.

Re:ReactXP – A library for building cross-platform apps by Rapzid on Thursday September 20, 2018 @11:35PM (#18037004)
> Every time I am required to update my web browser to support some new snowflake code I am again reminded just how wrong you are.

That sounds like incredible hyperbole considering all the major browsers are evergreen now.

Re:ReactXP – A library for building cross-platform apps by ChristianBundy on Thursday September 20, 2018 @10:53PM (#18036874)
I wish I could agree with you, but those numbers are beyond silly. You think I pay $50/month for home internet access? You think any device I own is worth $1000 or purchased within the past year?

In my view, the big issue right now is Electron, and developers who are comfortable developing for 1 Google browser per application. There's enough wrong with the current browser ecosystem that we don't need to make up numbers.

Re:ReactXP – A library for building cross-platform apps by 51lver on Thursday September 20, 2018 @11:00PM (#18036902)
I don't think you would have trouble finding $1000 msrp of web connected gizmos in any given household in the US, and less than $50 a month for intertubes is a pretty good price, so right on, good for you. Just saying, we shouldn't be in this rat race.