News for hackers. Stuff that matters.
Re:React Native for Windows and Mac by hombre_fatal on Tuesday May 12, 2020 @10:07PM (#23162661)
> As an end user why do I care about "openness"? If I pay a premium for my platform, why would I want second rate cross platform software?

Falsehoods HNers believe about how people buy/use software. Didn't stop Slack/Discord from become ubiquitous.

"But native tho" just becomes a circlejerk. Talking about what users care about, most people don't know what native means nor if a given app is it. They don't know if Zoom is using more memory or CPU than it "should".

Re:React Native for Windows and Mac by pjmlp on Wednesday May 13, 2020 @02:35AM (#23164104)
I use Slack and other Electron based applications because my job requires it, imposed by our IT or customers, not because I freely have chosen to use them or have the liberty to look for alternatives.

Other than VSCode for Rust and TypeScript, my own personal computer is as much Electron free as possible.

So don't mistake market share for freedom of choice.

Re:React Native for Windows and Mac by nindalf on Wednesday May 13, 2020 @02:59AM (#23164238)
VSCode is a great example. We’ve already established that the average joe out there doesn’t care about whether an app is implemented in electron or not. But VSCode’s success at the expense of every other editor out there indicates that even developers don’t care that much.

The important thing is features - which VSCode has, and the speed at which those features are developed and deployed on all platforms - where VSCode is nearly peerless.

If developers cared about performance and resource consumption above all else, no one would be using VSCode right now (you included). They’d be using vim, emacs or perhaps Sublime. But that isn’t the case.

So why does HN keep flogging the “electron is bad” meme?

Re:React Native for Windows and Mac by pjmlp on Wednesday May 13, 2020 @03:07AM (#23164279)
The day Microsoft releases Rust support for Visual Studio, VSCode gets kicked out of my PC.

Also, I wonder how much the Electron love overlapps with VSCode, after all many of those developers were pushing for Atom before VSCode was born.

Re:React Native for Windows and Mac by baxuz on Wednesday May 13, 2020 @04:13AM (#23164694)
Not much, at least here. I was a Sublime Text user for years. I tried Atom but it was an ugly, janky mess. I switched to VScode quickly after its release because the features it provided over Sublime Text were worth it, and the performance was good enough, even though not on par with ST.
Re:React Native for Windows and Mac by pjmlp on Wednesday May 13, 2020 @04:26AM (#23164773)
And me thinking that it was probably about those $80.
Re:React Native for Windows and Mac by criddell on Wednesday May 13, 2020 @08:01AM (#23165946)
I expect things to go the other way. Visual Studio will eventually be phased out for VSCode or something like it.

I think Microsoft chose Chromium for Edge mostly because they have big plans for Electron.

Re:React Native for Windows and Mac by jamil7 on Wednesday May 13, 2020 @03:57AM (#23164571)
Some do, while I can't speak for the emacs community the (n)vim community is very active and engaged. There are modern vim plugins for nearly everything. The developers using VSCode tend to be developing on overpowered workstations where the difference is less noticeable. It doesn't mean it isn't wasteful. At some point we'll hit some upper bounds as an industry and have to rethink how we develop software, the trend back towards statically typed, compiled languages like Rust, Swift, Go are already leading us in that direction.

Edit: a word missing

Re:React Native for Windows and Mac by pjmlp on Wednesday May 13, 2020 @04:30AM (#23164792)
> the trend back towards statically typed, compiled languages like Rust, Swift, Go are already leading us in that direction.

Indeed, even Java and .NET are improving their AOT stories, while available since the early days, weren't as widely deployed as they could have been.

Re:React Native for Windows and Mac by vips7L on Wednesday May 13, 2020 @10:03AM (#23166961)
Hopefully soon Java will have a friction-less path to compiling to native. As of now, its quite difficult for anything that isn't trivial.
Re:React Native for Windows and Mac by pjmlp on Thursday May 14, 2020 @03:02AM (#23176330)
It has been trivial since 2000, but you had to buy a commercial JDK to get it.
Re:React Native for Windows and Mac by vips7L on Thursday May 14, 2020 @09:10PM (#23187723)
It is not trivial. Have you tried compiling any large app with graal? Anything with Weld or hibernate or H2 embedded? It has a lot of friction and isn't as easy as just running mvn package.
Re:React Native for Windows and Mac by jfkebwjsbx on Wednesday May 13, 2020 @03:20AM (#23164351)
Because some things being good does not mean we shouldn't criticize the bad ones.
Re:React Native for Windows and Mac by nindalf on Wednesday May 13, 2020 @08:01AM (#23165941)
No, criticise whatever you want.

I'm just saying users don't care. They'll still use software that has the features they're looking for, on the platforms they use, as long as performance is acceptable.

I'm pushing back against the idea that performance nuts on HN who won't install a single electron app are somehow representative of the population at large.

Re:React Native for Windows and Mac by scarface74 on Wednesday May 13, 2020 @10:14AM (#23167069)
I use Visual Studio (not Code) for C#, Python and Node now.
Re:React Native for Windows and Mac by scarface74 on Tuesday May 12, 2020 @10:19PM (#23162723)
Let's not forget that MS Teams has more paying users than Slack....

How many people know that Slack is battery draining monstrosity?

The only people that pay for Slack are companies. The definition of Enterprise Software is where the user is not the customer.

Re:React Native for Windows and Mac by ascorbic on Wednesday May 13, 2020 @02:18AM (#23164012)
MS Teams is an Electron app too. This very post is about React Native for Windows and Mac, which are being developed by MS because they're used for the front-ends of much of the rest of Office 365. Microsoft clearly thinks that it's worth rewriting large parts of their crown jewels using cross-platform frameworks.
Re:React Native for Windows and Mac by what-the-grump on Wednesday May 13, 2020 @02:07AM (#23163955)
Hmm this one is tough Office 365 has more paying users on teams. I doubt anyone is paying for teams, also they are not direct competitors. We use both, likely to get phones with teams in the future as well.
Re:React Native for Windows and Mac by scarface74 on Wednesday May 13, 2020 @02:41AM (#23164144)
Whether it is fair or not that Teams comes with Office is irrelevant. This is Slack's competition. They have to convince companies that it is worth paying extra for their product.

In the famous words of Jobs about Dropbox -- chat isn't a product, it's a feature.

Re:React Native for Windows and Mac by what-the-grump on Wednesday May 13, 2020 @11:34AM (#23167881)
What I am saying is, we dont pay more or less for teams, its a SfB replacement.
Re:React Native for Windows and Mac by gvjddbnvdrbv on Wednesday May 13, 2020 @01:47AM (#23163852)
I remember when Spotify 'upgraded' from a native to a js application on MacOS. It bricked my wife's computer. She never installed Spotify again. This is someone who doesn't usually care about software. She did care about that annoyance.
Re:React Native for Windows and Mac by jasonlotito on Wednesday May 13, 2020 @05:24AM (#23165060)
If Spotify bricked her computer, it was an issue with computer, not Spotify. It just so happened that you installed Spotify before the computer was bricked. If Spotify did that, you’d have heard stories of other Macs just completely dying out there if this was an actual issue.
Re:React Native for Windows and Mac by ascorbic on Wednesday May 13, 2020 @02:03AM (#23163938)
It works fine for hundreds of millions of other users
Re:React Native for Windows and Mac by thirdsun on Friday May 15, 2020 @06:59AM (#23190759)
Indeed. I had this argument with some of our non-tech staff countless of times. They absolutely prefer Slack, Basecamp & Co. as separate app. Doesn't matter if it's just an electron container - to them a browser tab/window is a subpar experience compared to an icon in the dock and its own exclusive window. Hardware requirements and the fact that each app needlessly runs itws own browser obviously aren't a concern to them.