News for hackers. Stuff that matters.
Re:Electron 3.0.0 by pvg on Tuesday September 18, 2018 @06:15PM (#18019699)
It's still about twice the work. Or n-times, for n platforms.
Re:Electron 3.0.0 by pier25 on Tuesday September 18, 2018 @07:27PM (#18020233)
It depends.

You could still use a web UI but without embedding Chrome and Node.

Re:Electron 3.0.0 by pvg on Tuesday September 18, 2018 @07:50PM (#18020400)
That sounds like writing and maintaining your own (cross-platform) version of Electron. And then not ending up with a native app for your troubles.
Re:Electron 3.0.0 by pier25 on Wednesday September 19, 2018 @09:43AM (#18024105)
Not really. Just a shallow native layer that uses the platform as much as possible.

Except for the UI of course.

Re:Electron 3.0.0 by pvg on Wednesday September 19, 2018 @12:51PM (#18025595)
'Just'. Which platform? What are you going to render HTML with? And know it produces identical output, etc?
Re:Electron 3.0.0 by pier25 on Thursday September 20, 2018 @07:01PM (#18036075)
For example Webkit on Mac and iOS. Blink in Android and Chrome OS.
Re:Electron 3.0.0 by roryisok on Tuesday September 18, 2018 @07:51PM (#18020413)
You'd need node for file system access though. Unless you write your own io layer
Re:Electron 3.0.0 by pier25 on Wednesday September 19, 2018 @09:42AM (#18024099)
Indeed. That would be written in the native layer.
Re:Electron 3.0.0 by enraged_camel on Tuesday September 18, 2018 @06:20PM (#18019749)
Twice the work for front-end only, and even that is arguable. The overall logic of the client across different platforms will be very similar. The only thing that will change is language and implementation details.
Re:Electron 3.0.0 by pvg on Tuesday September 18, 2018 @06:25PM (#18019789)
Different environment, different conventions, different bugs, different design, different support, different everything. Different teams that have to communicate. It is 'arguable' that it's twice the work, that is true. Twice is the lower bound.
Re:Electron 3.0.0 by babypuncher on Tuesday September 18, 2018 @06:38PM (#18019892)
There are options that let you write the bulk of your code in one language then code platform specific user-interfaces against that library. This is basically the Xamarin philosophy for iOS/Android development, and Xamarin apps generally offer a much better user experience than these web-app wrappers cluttering the App Store.
Re:Electron 3.0.0 by pvg on Tuesday September 18, 2018 @07:12PM (#18020123)
We were talking about desktop apps in this case. It's slightly different on mobile but the parameters are similar. The range of options here involve fiddling with dials that affect cost and quality. The comment I'm replying to amounts to 'why not pretend these dials don't exist?'. The answer is, because they're really there, you can't effectively plan development like that.
Re:Electron 3.0.0 by h1d on Wednesday September 19, 2018 @12:50AM (#18021748)
Yes. It's typical for a team to have different people handle different platform and spreading task on multiple people suddenly slows down the progress than letting 1 set of people handle the front end.